/**
 * Sternschnuppe Custom CSS
 * 
 * Kritische Styles für das Sternschnuppe Theme
 * Diese Datei überschreibt Magento-Standard-Styles
 */

/* Breadcrumbs */
.breadcrumbs {
    margin-bottom: 20px !important;
}

.catalog-product-view .breadcrumbs {
    background-color: #f9de85 !important;
}

/* ============================================
   PAGE HEADER - DUNKELBLAU WIE ORIGINAL
   ============================================ */

.page-header {
    background: #003060 !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

.page-header .header.content {
    background: transparent !important;
    padding: 15px 20px !important;
    max-width: 1280px !important;
    margin: 0 auto !important;
}

.header-top-bar {
    background: #003060 !important;
    padding: 10px 15px !important;
}

/* Claim Text im blauen Header - weiß */
.header-claim-text {
    color: #ffffff !important;
}

/* ============================================
   LOGO
   ============================================ */

.logo img {
    max-height: 60px !important;
    width: auto !important;
}

@media (min-width: 768px) {
    .logo img {
        max-height: 75px !important;
    }
}

/* ============================================
   NAVIGATION - ORANGER BALKEN WIE ORIGINAL
   ============================================ */

/* Toggle Nav Button komplett ausblenden */
html body .nav-toggle,
html body .action.nav-toggle {
    display: none !important;
    visibility: hidden !important;
}

/* Navigation Container - IMMER sichtbar mit oranger Farbe */
html body .nav-sections,
html body .sections.nav-sections {
    display: block !important;
    visibility: visible !important;
    background: #e67e22 !important;
    border: none !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    min-height: 44px !important;
    height: auto !important;
    opacity: 1 !important;
    position: relative !important;
    max-height: none !important;
    overflow: visible !important;
}

html body .nav-sections-item-content,
html body .nav-sections .section-item-content {
    display: block !important;
    visibility: visible !important;
    background: #e67e22 !important;
    padding: 0 !important;
    opacity: 1 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

html body .nav-sections-item-title {
    display: none !important;
}

html body .nav-sections-items,
html body .nav-sections .section-items {
    display: block !important;
    visibility: visible !important;
    background: #e67e22 !important;
    height: auto !important;
    min-height: 0 !important;
    opacity: 1 !important;
}

html body .navigation {
    display: block !important;
    visibility: visible !important;
    background: #e67e22 !important;
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 0 15px !important;
    opacity: 1 !important;
}

/* Navigation Liste - horizontal, ohne Bullets */
html body .navigation > ul,
html body .navigation ul,
html body .navigation ol,
html body .navigation menu,
html body .navigation [role="menu"] {
    list-style: none !important;
    list-style-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    visibility: visible !important;
    opacity: 1 !important;
}

html body .navigation > ul > li,
html body .navigation .level0,
html body .navigation li,
html body .navigation [role="listitem"],
html body .navigation [role="menuitem"] {
    list-style: none !important;
    list-style-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Alle ::marker und ::before Bullets entfernen */
html body .navigation li::marker,
html body .navigation li::before,
html body .navigation [role="listitem"]::marker,
html body .navigation [role="listitem"]::before {
    content: none !important;
    display: none !important;
}

/* Navigation Links - weiß auf orange */
html body .navigation .level0 > a,
html body .navigation .level0 > .level-top,
html body .navigation a,
html body .navigation [role="menuitem"] {
    font-family: 'Open Sans', sans-serif !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    color: #ffffff !important;
    text-transform: none !important;
    padding: 12px 18px !important;
    line-height: 1.4 !important;
    display: block !important;
    text-decoration: none !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.navigation .level0 > a:hover,
.navigation .level0 > .level-top:hover,
.navigation .level0.active > a,
.navigation .level0.active > .level-top {
    color: #ffffff !important;
    background: rgba(0, 0, 0, 0.15) !important;
    text-decoration: none !important;
}

/* Dropdown-Menü */
.navigation .level0 .submenu {
    background: #fff !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    margin-top: 0 !important;
    list-style: none !important;
}

.navigation .level0 .submenu li {
    list-style: none !important;
}

.navigation .level0 .submenu a {
    color: #333 !important;
    font-family: 'Open Sans', sans-serif !important;
    padding: 10px 20px !important;
}

.navigation .level0 .submenu a:hover {
    background: #f5f5f5 !important;
    color: #e67e22 !important;
}

/* ============================================
   NAVIGATION - Tabs komplett ausblenden (Desktop + Mobile)
   Muss JS-Änderungen überschreiben!
   ============================================ */

/* Tablist, Tabs und Toggle komplett ausblenden - NICHT die Navigation selbst! */
html body .nav-sections [role="tablist"],
html body .nav-sections [role="tab"],
html body .nav-sections-item-title,
html body .section-item-title,
html body .nav-sections .section-item-title,
html body .nav-toggle,
html body .action.nav-toggle,
html body .nav-sections .section-items > .section-item-title {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    position: absolute !important;
    left: -99999px !important;
    clip: rect(0,0,0,0) !important;
}

/* WICHTIG: Navigation-Elemente NICHT mit clip/position verstecken */
html body .nav-sections .navigation,
html body .nav-sections .navigation ul,
html body .nav-sections .navigation li,
html body .nav-sections .navigation a,
html body .nav-sections [role="tabpanel"],
html body .nav-sections [role="menu"],
html body .nav-sections [role="listitem"],
html body .nav-sections [role="menuitem"] {
    position: static !important;
    left: auto !important;
    clip: auto !important;
    clip-path: none !important;
}

/* Tabpanel/Navigation Content immer sichtbar - überschreibt JS */
html body .nav-sections [role="tabpanel"],
html body .nav-sections-item-content,
html body .section-item-content,
html body .nav-sections .section-item-content,
html body .nav-sections .section-items > .section-item-content {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    width: 100% !important;
    padding: 0 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

/* Navigation kompakt - nur die Höhe des Textes */
html body .sections.nav-sections,
html body .nav-sections {
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    position: relative !important;
    margin: 0 !important;
    max-height: none !important;
    overflow: visible !important;
}

html body .nav-sections-items {
    height: auto !important;
    min-height: 0 !important;
    display: block !important;
    max-height: none !important;
    overflow: visible !important;
}

/* Section-items direkt anzeigen ohne Tabs */
html body .sections.nav-sections .section-items {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
}

html body .sections.nav-sections .section-item-content {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

/* Navigation selbst immer sichtbar */
html body .navigation,
html body .nav-sections .navigation {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    position: relative !important;
}

html body .navigation > ul,
html body .navigation ul[role="menu"] {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    height: auto !important;
    width: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
}

/* Navigations-Items und Links sichtbar machen */
html body .navigation ul li,
html body .navigation ul[role="menu"] > li,
html body .navigation ul[role="menu"] [role="listitem"],
html body .navigation .level0 {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    height: auto !important;
    width: auto !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

html body .navigation ul li a,
html body .navigation ul[role="menu"] a,
html body .navigation [role="menuitem"],
html body .navigation .level-top,
html body .navigation .level0 > a {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #ffffff !important;
    background: transparent !important;
    padding: 12px 18px !important;
    font-family: 'Open Sans', sans-serif !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    text-decoration: none !important;
    line-height: 1.4 !important;
}

/* Desktop Navigation - Überschreibt Magento Media Queries */
@media (min-width: 768px) {
    html body .nav-sections {
        display: block !important;
        visibility: visible !important;
        background: #e67e22 !important;
    }
    
    html body .nav-sections-item-content {
        display: block !important;
        visibility: visible !important;
    }
    
    html body .navigation {
        display: block !important;
        visibility: visible !important;
        background: #e67e22 !important;
    }
    
    html body .navigation > ul {
        display: flex !important;
        visibility: visible !important;
        position: static !important;
    }
    
    html body .navigation .level0 {
        display: inline-block !important;
        visibility: visible !important;
    }
    
    html body .navigation .level0 > a,
    html body .navigation .level-top {
        display: block !important;
        visibility: visible !important;
        color: #fff !important;
        padding: 12px 18px !important;
    }
}

/* Header Icons im orangen Balken rechts */
.nav-sections .header.links {
    background: transparent !important;
}

.nav-sections .header.links a {
    color: #ffffff !important;
}

/* ============================================
   HEADER ICONS - IM BLAUEN BEREICH WEISS
   ============================================ */

/* Icons im Header (blauer Bereich) */
.page-header .minicart-wrapper .action.showcart,
.page-header .block-search .label,
.page-header .header.links a,
.page-header .authorization-link a {
    color: #ffffff !important;
}

.page-header .minicart-wrapper .action.showcart:hover,
.page-header .block-search .label:hover,
.page-header .header.links a:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

.page-header .minicart-wrapper .counter.qty {
    background: #e67e22 !important;
    color: #fff !important;
    border-radius: 50% !important;
}

/* Suche im Header */
.page-header .block-search .control input {
    background: #ffffff !important;
    border: none !important;
    border-radius: 4px !important;
}

.page-header .block-search .action.search {
    background: transparent !important;
    color: #003060 !important;
}

/* ============================================
   HERO SECTION
   ============================================ */

.sternschnuppe-hero {
    width: 100%;
    margin-bottom: 0;
}

.hero-image-container {
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Grüner Slogan Banner */
.hero-slogan-banner {
    background: linear-gradient(135deg, #7cb342 0%, #558b2f 100%) !important;
    padding: 20px 15px !important;
    text-align: center !important;
}

.hero-slogan-text {
    font-family: 'Grandstander', 'Comic Sans MS', cursive, sans-serif !important;
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    margin: 0 !important;
    line-height: 1.3 !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2) !important;
}

@media (min-width: 768px) {
    .hero-slogan-banner {
        padding: 25px 30px !important;
    }
    
    .hero-slogan-text {
        font-size: 24px !important;
    }
}

@media (min-width: 1024px) {
    .hero-slogan-banner {
        padding: 30px 40px !important;
    }
    
    .hero-slogan-text {
        font-size: 28px !important;
    }
}

/* Welcome Section */
.hero-welcome-section {
    background: #ffffff !important;
    padding: 30px 20px !important;
}

.hero-welcome-content {
    max-width: 1000px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}

/* ============================================
   BUTTONS - ORANGE
   ============================================ */

.action.primary,
button.action.primary {
    background-color: #e67e22 !important;
    border: 2px solid #e67e22 !important;
    border-radius: 25px !important;
    color: #fff !important;
    font-family: 'Grandstander', cursive, sans-serif !important;
    font-weight: 600 !important;
    text-transform: none !important;
    transition: all 0.3s ease !important;
}

.action.primary:hover,
button.action.primary:hover {
    background-color: #d35400 !important;
    border-color: #d35400 !important;
}

/* ============================================
   FOOTER - DUNKELBLAU
   ============================================ */

.page-footer {
    background-color: #003060 !important;
    margin-top: 0 !important;
}

.footer.content {
    background-color: #003060 !important;
    border-top: none !important;
    color: #fff !important;
}

.footer-custom {
    background-color: #003060 !important;
    color: #ffffff !important;
    padding: 40px 20px 20px !important;
}

.footer-custom h4 {
    font-family: 'Grandstander', cursive, sans-serif !important;
    color: #fff !important;
    font-size: 18px !important;
    margin-bottom: 15px !important;
}

.footer-columns {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 30px !important;
    margin-bottom: 30px !important;
}

@media (min-width: 768px) {
    .footer-columns {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

.footer-links-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
}

.footer-link-item {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 8px 12px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 20px !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 14px !important;
    transition: background 0.2s ease !important;
}

.footer-link-item:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

.footer-legal {
    border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
    padding-top: 20px !important;
    text-align: center !important;
}

.footer-legal-links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 15px 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 10px 20px !important;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none !important;
    font-size: 13px !important;
}

.footer-legal-links a:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}

.footer-copyright {
    font-size: 13px !important;
    opacity: 0.8 !important;
}

/* Hide default Magento footer elements */
.footer.content > .footer.links:not(.footer-legal-links) {
    display: none !important;
}

.copyright {
    display: none !important;
}

/* ============================================
   LINKS
   ============================================ */

a {
    color: #e67e22;
    text-decoration: none;
}

a:hover {
    color: #d35400;
    text-decoration: underline;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

body {
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #333;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Grandstander', 'Comic Sans MS', cursive, sans-serif;
    color: #003060;
}

/* ============================================
   HOMEPAGE SPECIFIC
   ============================================ */

.cms-home .page-main > .page-title-wrapper {
    display: none !important;
}

.cms-home .column.main > p:first-of-type:not(.hero-welcome-content p) {
    display: none !important;
}

/* ============================================
   2-SPALTEN-LAYOUT (Sidebar links)
   ============================================ */

.catalog-category-view .page-wrapper {
    background-color: #91b200 !important;
}

.catalog-category-view .breadcrumbs {
    background-color: #6f821b !important;
}

.catalog-category-view .breadcrumbs,
.catalog-category-view .breadcrumbs a,
.catalog-category-view .breadcrumbs li,
.catalog-category-view .breadcrumbs .item strong {
    color: #fff !important;
}

/* Live-Termine Seite */
.cms-live-termine .page-wrapper {
    background-color: #46bfef !important;
}

.cms-live-termine .breadcrumbs {
    background-color: #2a9fd4 !important;
}

.cms-live-termine .breadcrumbs,
.cms-live-termine .breadcrumbs a,
.cms-live-termine .breadcrumbs li,
.cms-live-termine .breadcrumbs .item strong {
    color: #fff !important;
}

/* Programm-Infos Seite */
.cms-live-programm .page-wrapper {
    background-color: #46bfef !important;
}

.cms-live-programm .breadcrumbs {
    background-color: #2a9fd4 !important;
}

.cms-live-programm .breadcrumbs,
.cms-live-programm .breadcrumbs a,
.cms-live-programm .breadcrumbs li,
.cms-live-programm .breadcrumbs .item strong {
    color: #fff !important;
}

.cms-live-programm .column.main {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0;
}

.cms-live-programm .programm-container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 16px 48px;
}

.cms-live-programm .programm-container__card {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.programm-hero__image {
    display: block;
    width: 100%;
    height: auto;
}

.programm-intro {
    background: transparent;
    padding: 24px 0 16px;
    text-align: center;
}

.programm-intro__title {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.programm-navigation {
    background: #fff;
    border-radius: 0;
    margin: 0;
    overflow: hidden;
    box-shadow: none;
}

.programm-navigation__title {
    background: #f5a623;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    padding: 16px 20px;
}

.programm-navigation__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.programm-nav__btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 14px 20px;
    text-decoration: none;
    border: 0;
    border-bottom: 1px solid #eee;
    background: #fff;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: background-color 0.15s ease;
}

.programm-nav__btn:last-child {
    border-bottom: none;
}

.programm-nav__btn:hover,
.programm-nav__btn.is-active {
    background: #f7fbfd;
}

.programm-nav__btn-text {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
}

.programm-nav__btn--concert .programm-nav__btn-text {
    color: #00b3e3;
}

.programm-nav__btn--musical .programm-nav__btn-text {
    color: #f77400;
}

.programm-nav__btn-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #00b3e3;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    transition: transform 0.2s ease;
}

.programm-nav__btn--musical .programm-nav__btn-icon {
    background: #f77400;
}

.programm-nav__btn.is-active .programm-nav__btn-icon {
    transform: rotate(45deg);
}

.programm-panels {
    background: #fff;
}

.programm-item {
    display: none !important;
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    margin: 0;
    box-shadow: none;
    border-top: 1px solid #eee;
}

.programm-item.is-open {
    display: block !important;
}

.cms-live-programm .programm-container__card + .programm-panels {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.programm-item__image img {
    display: block;
    width: 100%;
    height: auto;
}

.programm-item__content {
    padding: 24px 28px 28px;
}

.programm-item__title {
    color: #e85d04;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.3;
}

.programm-item__subtitle {
    color: #333;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 16px;
    line-height: 1.4;
}

.programm-item__text {
    color: #444;
    font-size: 15px;
    line-height: 1.65;
}

.programm-item__text p {
    margin: 0 0 12px;
}

.programm-item__text p:last-child {
    margin-bottom: 0;
}

.programm-item__text .programm-meta,
.programm-item__text strong.programm-meta,
.programm-item__text span.programm-meta {
    color: #0066cc;
    font-weight: 600;
}

@media (min-width: 768px) {
    .programm-intro__title {
        font-size: 32px;
    }

    .programm-navigation__grid {
        grid-template-columns: 1fr 1fr;
    }

    .programm-nav__btn:nth-last-child(-n+2) {
        border-bottom: none;
    }

    .programm-nav__btn:nth-child(odd) {
        border-right: 1px solid #eee;
    }
}

.page-layout-2columns-left .columns {
    display: grid !important;
    grid-template-columns: 240px 1fr !important;
    grid-template-rows: auto 1fr !important;
    gap: 0 30px !important;
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

.page-layout-2columns-left .sidebar-main {
    grid-column: 1 !important;
    grid-row: 1 !important;
    padding-top: 5px !important;
}

.page-layout-2columns-left .column.main {
    grid-column: 2 !important;
    grid-row: 1 / span 2 !important;
    min-width: 0 !important;
}

.page-layout-2columns-left .sidebar-additional {
    grid-column: 1 !important;
    grid-row: 2 !important;
    align-self: start !important;
}

@media (max-width: 767px) {
    .page-layout-2columns-left .columns {
        display: flex !important;
        flex-direction: column !important;
    }
    
    .page-layout-2columns-left .sidebar-main,
    .page-layout-2columns-left .sidebar-additional {
        width: 100% !important;
        order: 3 !important;
        margin-top: 20px !important;
    }
    
    .page-layout-2columns-left .column.main {
        order: 1 !important;
    }
}

/* ============================================
   SIDEBAR STYLING
   ============================================ */

.sidebar-main .block,
.sidebar-additional .block {
    background: #fff !important;
    border: 1px solid #e8e8e8 !important;
    border-radius: 10px !important;
    padding: 0 !important;
    margin-bottom: 16px !important;
    overflow: hidden !important;
}

.sidebar-main .block-title,
.sidebar-main .filter-title,
.sidebar-additional .block-title {
    background: #003060 !important;
    padding: 12px 16px !important;
    margin: 0 !important;
    border-bottom: none !important;
}

.sidebar-main .block-title strong,
.sidebar-main .filter-title strong,
.sidebar-additional .block-title strong {
    font-family: 'Grandstander', cursive, sans-serif !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-align: left !important;
    margin: 0 !important;
}

.sidebar-main .block-content,
.sidebar-main .filter-content,
.sidebar-additional .block-content {
    padding: 14px 16px !important;
}

/* Filter Options (Shop By) */
.sidebar-main .filter-options-title {
    font-family: 'Grandstander', cursive, sans-serif !important;
    color: #003060 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    padding: 12px 0 10px !important;
    margin: 0 !important;
    border-bottom: 2px solid #e67e22 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    transition: color 0.2s ease !important;
}

.sidebar-main .filter-options-title:hover {
    color: #e67e22 !important;
}

.sidebar-main .filter-options-title::after {
    font-size: 10px !important;
    color: #e67e22 !important;
    transition: transform 0.3s ease !important;
}

.sidebar-main .filter-options-content {
    padding: 10px 0 4px !important;
    margin: 0 !important;
}

.sidebar-main .filter-options .items {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.sidebar-main .filter-options .item {
    padding: 0 !important;
    margin-bottom: 6px !important;
    font-size: 13px !important;
    list-style: none !important;
}

.sidebar-main .filter-options .item a {
    color: #444 !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
    background: #f5f7fa !important;
    border: 1px solid transparent !important;
    transition: all 0.2s ease !important;
}

.sidebar-main .filter-options .item a:hover {
    color: #003060 !important;
    background: #eaf0f8 !important;
    border-color: #c5d5e8 !important;
    text-decoration: none !important;
}

.sidebar-main .filter-options .item .count {
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    background: #e67e22 !important;
    border-radius: 10px !important;
    padding: 2px 9px !important;
    margin-left: auto !important;
    min-width: 20px !important;
    text-align: center !important;
    line-height: 16px !important;
    flex-shrink: 0 !important;
}

.sidebar-main .filter-options .item .count .filter-count-label {
    display: none !important;
}

.sidebar-main .filter-options .item .count::before,
.sidebar-main .filter-options .item .count::after {
    display: none !important;
}

.sidebar-main .filter-options .item a .price {
    font-weight: 600 !important;
    color: #003060 !important;
}

/* Compare Products Block */
.sidebar-main .block-compare .block-content,
.sidebar-additional .block-compare .block-content {
    padding: 14px 16px !important;
}

.sidebar-main .block-compare .product-item,
.sidebar-additional .block-compare .product-item {
    list-style: none !important;
    padding: 6px 0 !important;
    border-bottom: 1px solid #f0f0f0 !important;
    font-size: 13px !important;
}

.sidebar-main .block-compare .product-item:last-child,
.sidebar-additional .block-compare .product-item:last-child {
    border-bottom: none !important;
}

.sidebar-main .block-compare .action.compare,
.sidebar-additional .block-compare .action.compare {
    display: inline-block !important;
    background: #e67e22 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 18px !important;
    padding: 6px 16px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    margin-top: 8px !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transition: background 0.2s ease !important;
}

.sidebar-main .block-compare .action.compare:hover,
.sidebar-additional .block-compare .action.compare:hover {
    background: #d35400 !important;
}

.sidebar-main .block-compare .action.clear,
.sidebar-additional .block-compare .action.clear {
    font-size: 12px !important;
    color: #999 !important;
    text-decoration: none !important;
    margin-left: 8px !important;
}

.sidebar-main .block-compare .action.clear:hover,
.sidebar-additional .block-compare .action.clear:hover {
    color: #e67e22 !important;
}

.sidebar-main .block-compare .empty,
.sidebar-additional .block-compare .empty {
    font-size: 13px !important;
    color: #999 !important;
    font-style: italic !important;
}

/* Wish List Block */
.sidebar-main .block-wishlist .block-content,
.sidebar-additional .block-wishlist .block-content {
    padding: 14px 16px !important;
}

.sidebar-main .block-wishlist .product-items,
.sidebar-additional .block-wishlist .product-items {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.sidebar-main .block-wishlist .product-item,
.sidebar-additional .block-wishlist .product-item {
    list-style: none !important;
    padding: 8px 0 !important;
    border-bottom: 1px solid #f0f0f0 !important;
    font-size: 13px !important;
}

.sidebar-main .block-wishlist .product-item:last-child,
.sidebar-additional .block-wishlist .product-item:last-child {
    border-bottom: none !important;
}

.sidebar-main .block-wishlist .product-item-name a,
.sidebar-additional .block-wishlist .product-item-name a {
    color: #333 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
}

.sidebar-main .block-wishlist .product-item-name a:hover,
.sidebar-additional .block-wishlist .product-item-name a:hover {
    color: #e67e22 !important;
}

.sidebar-main .block-wishlist .empty,
.sidebar-additional .block-wishlist .empty {
    font-size: 13px !important;
    color: #999 !important;
    font-style: italic !important;
}

.sidebar-main .block-wishlist .actions-toolbar,
.sidebar-additional .block-wishlist .actions-toolbar {
    margin-top: 8px !important;
}

/* Sidebar Links allgemein */
.sidebar-main .block a.action,
.sidebar-additional .block a.action {
    font-size: 12px !important;
    text-decoration: none !important;
}

.sidebar-main .block .btn-remove,
.sidebar-additional .block .btn-remove {
    font-size: 11px !important;
    color: #ccc !important;
    text-decoration: none !important;
}

.sidebar-main .block .btn-remove:hover,
.sidebar-additional .block .btn-remove:hover {
    color: #e53935 !important;
}

/* ============================================
   PRODUCT LISTING - NUMMERIERUNG ENTFERNEN
   ============================================ */

.products-grid .product-items,
.products.list.items.product-items,
ol.products.list.items.product-items {
    list-style: none !important;
    list-style-type: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
    counter-reset: none !important;
}

.products-grid .product-item,
.products.list .product-item,
ol.products .product-item {
    list-style: none !important;
    list-style-type: none !important;
}

.products-grid .product-item::marker,
.products.list .product-item::marker,
ol.products .product-item::marker {
    content: none !important;
    display: none !important;
}

.products-grid .product-item::before,
ol.products .product-item::before {
    content: none !important;
    display: none !important;
}

/* ============================================
   PRODUCT GRID - KARTEN-LAYOUT
   ============================================ */

.products-grid .product-items {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
    gap: 14px !important;
    padding: 0 !important;
}

.products-grid .product-item {
    margin-bottom: 0 !important;
    padding: 0 !important;
    display: flex !important;
}

.products-grid .product-item-info {
    background: #ffffff !important;
    border: 1px solid #e8e8e8 !important;
    border-radius: 10px !important;
    padding: 10px 10px 8px !important;
    text-align: center !important;
    transition: box-shadow 0.25s ease, transform 0.25s ease !important;
    height: 100% !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    box-sizing: border-box !important;
}

.products-grid .product-item-info:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-2px) !important;
}

/* Bildbereich: einheitliche Höhe, unterschiedliche Cover-Proportionen */
.products-grid .product-item-photo {
    margin: 0 0 6px !important;
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 120px !important;
    max-height: 120px !important;
}

.products-grid .product-item-photo .product-image-container {
    max-width: 120px !important;
    width: 120px !important;
    height: 120px !important;
    margin: 0 auto !important;
    aspect-ratio: auto !important;
}

.products-grid .product-item-photo .product-image-container span.product-image-wrapper {
    padding-bottom: 0 !important;
    height: 120px !important;
    width: 120px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.products-grid .product-item-photo img {
    border-radius: 6px !important;
    max-width: 100% !important;
    max-height: 120px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

/* Inhalt: flex-Spalte, Aktionen unten ausrichten */
.products-grid .product-item-details {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

.products-grid .product-item-name {
    margin: 0 0 4px !important;
    padding: 0 !important;
    min-height: 2.6em !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
}

.products-grid .product-item-name a {
    font-family: 'Grandstander', cursive, sans-serif !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    color: #333333 !important;
    text-decoration: none !important;
    line-height: 1.3 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.products-grid .product-item-name a:hover {
    color: #e67e22 !important;
}

.products-grid .price-box {
    margin: 0 0 6px !important;
    padding: 0 !important;
    min-height: 2.2em !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

.products-grid .price-box .minimal-price {
    margin: 0 !important;
    line-height: 1.25 !important;
}

.products-grid .price-box .price-label {
    display: block !important;
    font-size: 11px !important;
    color: #888 !important;
    margin-bottom: 1px !important;
    line-height: 1.2 !important;
}

.products-grid .price-box .price {
    color: #003060 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

.products-grid .product-item .tax-details {
    font-size: 10px !important;
    color: #888 !important;
    margin-top: 2px !important;
    line-height: 1.2 !important;
}

.products-grid .product-item-inner {
    margin-top: auto !important;
    padding: 0 !important;
}

.products-grid .product-item-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 5px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.products-grid .product-item-actions .actions-primary {
    margin: 0 !important;
    width: 100% !important;
}

.products-grid .actions-primary button,
.products-grid .tocart,
.products-grid .actions-primary .action.toproduct {
    width: 100% !important;
    margin: 0 !important;
    padding: 7px 10px !important;
    font-size: 12px !important;
    border-radius: 18px !important;
    line-height: 1.2 !important;
}

.products-grid .actions-primary .action.toproduct {
    display: block !important;
    box-sizing: border-box !important;
    text-align: center !important;
    text-decoration: none !important;
}

.products-grid .actions-primary .action.toproduct:hover {
    text-decoration: none !important;
}

.products-grid .product-item-actions .actions-secondary {
    font-size: 11px !important;
    margin: 0 !important;
    padding: 0 0 2px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 2px 8px !important;
    line-height: 1.3 !important;
}

.products-grid .product-item-actions .actions-secondary a {
    font-size: 11px !important;
    color: #e67e22 !important;
    text-decoration: none !important;
}

.products-grid .product-item-actions .actions-secondary a:hover {
    text-decoration: underline !important;
}

@media (min-width: 768px) {
    .products-grid .product-items {
        grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)) !important;
        gap: 16px !important;
    }

    .products-grid .product-item-info {
        padding: 12px 12px 10px !important;
    }

    .products-grid .product-item-photo {
        min-height: 130px !important;
        max-height: 130px !important;
        margin-bottom: 8px !important;
    }

    .products-grid .product-item-photo .product-image-container,
    .products-grid .product-item-photo .product-image-container span.product-image-wrapper {
        max-width: 130px !important;
        width: 130px !important;
        height: 130px !important;
    }

    .products-grid .product-item-photo img {
        max-height: 130px !important;
    }

    .products-grid .product-item-name a {
        font-size: 14px !important;
    }
}

@media (min-width: 1024px) {
    .products-grid .product-items {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 16px !important;
    }
}

/* ============================================
   PRODUCT LIST - ZEILEN-LAYOUT
   ============================================ */

.products-list .product-items {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    padding: 0 !important;
    margin: 0 !important;
}

.products-list .product-item {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.products-list .product-item-info {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 20px !important;
    background: #ffffff !important;
    border: 1px solid #e8e8e8 !important;
    border-radius: 10px !important;
    padding: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    transition: box-shadow 0.25s ease !important;
}

.products-list .product-item-info:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
}

/* Bild links, feste Breite */
.products-list .product-item-photo {
    flex: 0 0 160px !important;
    width: 160px !important;
    max-width: 160px !important;
    margin: 0 !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
}

.products-list .product-item-photo .product-image-container {
    width: 160px !important;
    max-width: 160px !important;
    margin: 0 !important;
}

.products-list .product-item-photo .product-image-container span.product-image-wrapper {
    padding-bottom: 0 !important;
    height: auto !important;
    display: block !important;
}

.products-list .product-item-photo img {
    border-radius: 6px !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
}

/* Detail-Bereich rechts */
.products-list .product-item-details {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: left !important;
}

.products-list .product-item-name {
    margin: 0 !important;
    padding: 0 !important;
}

.products-list .product-item-name a {
    font-family: 'Grandstander', cursive, sans-serif !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    color: #003060 !important;
    text-decoration: none !important;
    line-height: 1.3 !important;
}

.products-list .product-item-name a:hover {
    color: #e67e22 !important;
}

.products-list .price-box {
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
}

.products-list .price-box .price-label {
    font-size: 12px !important;
    color: #888 !important;
    margin-right: 4px !important;
}

.products-list .price-box .price {
    color: #003060 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

.products-list .product-item .tax-details {
    font-size: 11px !important;
    color: #888 !important;
    line-height: 1.2 !important;
}

/* Kurzbeschreibung */
.products-list .product-item-description {
    font-size: 14px !important;
    color: #555 !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}

.products-list .product-item-description .action.more {
    color: #e67e22 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
}

.products-list .product-item-description .action.more:hover {
    text-decoration: underline !important;
}

/* Aktionen */
.products-list .product-item-inner {
    margin: 4px 0 0 !important;
    padding: 0 !important;
}

.products-list .product-item-actions {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px 20px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.products-list .product-item-actions .actions-primary {
    margin: 0 !important;
}

.products-list .actions-primary .action.toproduct {
    display: inline-block !important;
    box-sizing: border-box !important;
    text-align: center !important;
    text-decoration: none !important;
    padding: 9px 22px !important;
    font-size: 13px !important;
    border-radius: 20px !important;
    line-height: 1.2 !important;
}

.products-list .product-item-actions .actions-secondary {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 4px 12px !important;
    font-size: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.products-list .product-item-actions .actions-secondary a {
    font-size: 12px !important;
    color: #e67e22 !important;
    text-decoration: none !important;
}

.products-list .product-item-actions .actions-secondary a:hover {
    text-decoration: underline !important;
}

/* Mobile: Bild oben, Inhalt zentriert darunter */
@media (max-width: 639px) {
    .products-list .product-item-info {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
    }

    .products-list .product-item-photo {
        flex: 0 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        justify-content: center !important;
    }

    .products-list .product-item-photo .product-image-container {
        width: 160px !important;
    }

    .products-list .product-item-details {
        text-align: center !important;
        align-items: center !important;
    }

    .products-list .price-box,
    .products-list .product-item-actions {
        align-items: center !important;
        justify-content: center !important;
    }

    .products-list .product-item-description {
        text-align: center !important;
    }
}

/* ============================================
   TOOLBAR - SCHÖNERER HEADER
   ============================================ */

.toolbar-products {
    background: linear-gradient(135deg, #f8f9fa 0%, #eef1f5 100%) !important;
    padding: 12px 20px !important;
    border-radius: 10px !important;
    margin-bottom: 20px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    border: 1px solid #e0e4e8 !important;
}

.toolbar-products .toolbar-amount {
    font-size: 13px !important;
    color: #666 !important;
    font-weight: 500 !important;
    order: 1 !important;
}

.toolbar-products .modes {
    order: 2 !important;
    display: flex !important;
    gap: 4px !important;
}

.toolbar-products .modes .modes-mode {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 8px !important;
    border: 1px solid #d0d5db !important;
    background: #fff !important;
    color: #666 !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    font-size: 0 !important;
    text-decoration: none !important;
}

.toolbar-products .modes .modes-mode.active,
.toolbar-products .modes .modes-mode:hover {
    background: #003060 !important;
    border-color: #003060 !important;
    color: #fff !important;
}

/* Grid Icon (4 Quadrate) */
.toolbar-products .modes .mode-grid::before {
    content: "" !important;
    display: block !important;
    width: 16px !important;
    height: 16px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23666'%3E%3Crect x='0' y='0' width='7' height='7' rx='1'/%3E%3Crect x='9' y='0' width='7' height='7' rx='1'/%3E%3Crect x='0' y='9' width='7' height='7' rx='1'/%3E%3Crect x='9' y='9' width='7' height='7' rx='1'/%3E%3C/svg%3E") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    font-size: 0 !important;
}

.toolbar-products .modes .mode-grid.active::before,
.toolbar-products .modes .mode-grid:hover::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3E%3Crect x='0' y='0' width='7' height='7' rx='1'/%3E%3Crect x='9' y='0' width='7' height='7' rx='1'/%3E%3Crect x='0' y='9' width='7' height='7' rx='1'/%3E%3Crect x='9' y='9' width='7' height='7' rx='1'/%3E%3C/svg%3E") !important;
}

/* List Icon (3 Zeilen) */
.toolbar-products .modes .mode-list::before {
    content: "" !important;
    display: block !important;
    width: 16px !important;
    height: 16px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23666'%3E%3Crect x='0' y='1' width='16' height='3' rx='1'/%3E%3Crect x='0' y='6.5' width='16' height='3' rx='1'/%3E%3Crect x='0' y='12' width='16' height='3' rx='1'/%3E%3C/svg%3E") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    font-size: 0 !important;
}

.toolbar-products .modes .mode-list.active::before,
.toolbar-products .modes .mode-list:hover::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3E%3Crect x='0' y='1' width='16' height='3' rx='1'/%3E%3Crect x='0' y='6.5' width='16' height='3' rx='1'/%3E%3Crect x='0' y='12' width='16' height='3' rx='1'/%3E%3C/svg%3E") !important;
}

.toolbar-products .modes .modes-mode > span {
    clip: rect(0, 0, 0, 0) !important;
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.toolbar-products .modes .modes-label {
    clip: rect(0, 0, 0, 0) !important;
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.toolbar-products .toolbar-sorter {
    order: 3 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.toolbar-products .toolbar-sorter .sorter-label {
    font-size: 13px !important;
    color: #666 !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
}

.toolbar-products .toolbar-sorter .sorter-options {
    border: 1px solid #d0d5db !important;
    border-radius: 8px !important;
    padding: 7px 12px !important;
    font-size: 13px !important;
    color: #333 !important;
    background: #fff !important;
    cursor: pointer !important;
    transition: border-color 0.2s ease !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
    padding-right: 30px !important;
}

.toolbar-products .toolbar-sorter .sorter-options:focus {
    border-color: #e67e22 !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(230, 126, 34, 0.15) !important;
}

.toolbar-products .toolbar-sorter .sorter-action {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 8px !important;
    border: 1px solid #d0d5db !important;
    background: #fff !important;
    color: #666 !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    font-size: 0 !important;
    text-decoration: none !important;
}

.toolbar-products .toolbar-sorter .sorter-action:hover {
    background: #003060 !important;
    border-color: #003060 !important;
    color: #fff !important;
}

/* Sort Direction Arrow Icon */
.toolbar-products .toolbar-sorter .sorter-action::before {
    content: "" !important;
    display: block !important;
    width: 14px !important;
    height: 14px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='%23666'%3E%3Cpath d='M7 1L12 6H8.5V13h-3V6H2L7 1z'/%3E%3C/svg%3E") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    font-size: 0 !important;
}

.toolbar-products .toolbar-sorter .sorter-action:hover::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='%23fff'%3E%3Cpath d='M7 1L12 6H8.5V13h-3V6H2L7 1z'/%3E%3C/svg%3E") !important;
}

/* Descending state - flip arrow */
.toolbar-products .toolbar-sorter .sorter-action[data-value="desc"]::before,
.toolbar-products .toolbar-sorter a.sort-desc::before {
    transform: rotate(180deg) !important;
}

.toolbar-products .limiter {
    order: 4 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 13px !important;
    color: #666 !important;
}

.toolbar-products .limiter .limiter-options {
    border: 1px solid #d0d5db !important;
    border-radius: 8px !important;
    padding: 7px 12px !important;
    font-size: 13px !important;
    background: #fff !important;
    cursor: pointer !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
    padding-right: 28px !important;
}

.toolbar-products .limiter .limiter-options:focus {
    border-color: #e67e22 !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(230, 126, 34, 0.15) !important;
}

/* Untere Toolbar (nach Produktliste) etwas dezenter */
.products.wrapper ~ .toolbar-products {
    background: transparent !important;
    border: none !important;
    padding: 15px 0 !important;
    border-top: 1px solid #e8e8e8 !important;
    border-radius: 0 !important;
    margin-top: 50px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
}

/* Pagination – Lesbare Seitenzahlen, Screenreader-Labels ausblenden */
.catalog-category-view .toolbar-products .pages .label,
.catalog-category-view .toolbar-products .pages .pages-label,
.catalog-category-view .toolbar-products .pages .page .label,
.catalog-category-view .toolbar-products .pages .action .label {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.catalog-category-view .products.wrapper ~ .toolbar-products .pages {
    order: 1 !important;
    flex: 1 1 auto !important;
    margin: 0 !important;
    text-align: left !important;
}

.catalog-category-view .products.wrapper ~ .toolbar-products .limiter {
    order: 2 !important;
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
}

.catalog-category-view .toolbar-products .pages-items {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 6px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.catalog-category-view .toolbar-products .pages-items .item {
    margin: 0 !important;
    padding: 0 !important;
}

.catalog-category-view .toolbar-products .pages .page,
.catalog-category-view .toolbar-products .pages .action {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 36px !important;
    height: 36px !important;
    padding: 0 12px !important;
    border: 1px solid #d0d5db !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #333 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    line-height: 1 !important;
    box-shadow: none !important;
}

.catalog-category-view .toolbar-products .pages .item.current .page {
    background: #e67e22 !important;
    border-color: #e67e22 !important;
    color: #fff !important;
}

.catalog-category-view .toolbar-products .pages .action.next,
.catalog-category-view .toolbar-products .pages .action.previous {
    min-width: auto !important;
}

.catalog-category-view .toolbar-products .pages .action:hover {
    background: #f5f5f5 !important;
    color: #e67e22 !important;
}

.catalog-category-view .toolbar-products .limiter .limiter-label,
.catalog-category-view .toolbar-products .limiter .limiter-text {
    font-size: 13px !important;
    color: #666 !important;
}

/* Obere Toolbar: Limiter ausblenden (nur unten) */
.catalog-category-view .column.main > .toolbar-products:first-of-type .limiter {
    display: none !important;
}

/* ============================================
   PRODUKTDETAILSEITE
   Orientiert an sternschnuppe-kinderlieder.de
   ============================================ */

/* Hauptcontainer */
.catalog-product-view .page-wrapper {
    background: #fff0be !important;
}

.catalog-product-view .page-main {
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 0 20px 40px !important;
}

.catalog-product-view .columns {
    display: block !important;
}

/* Skip-Links ausblenden */
.catalog-product-view .action.skip,
.catalog-product-view a[href="#gallery-next-area"],
.catalog-product-view a[href="#gallery-prev-area"] {
    position: absolute !important;
    left: -99999px !important;
    clip: rect(0, 0, 0, 0) !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* Produkt-Infos: Bild links + Infos rechts */
.catalog-product-view .column.main {
    display: grid !important;
    grid-template-columns: 45% 1fr !important;
    gap: 0 40px !important;
    align-items: start !important;
}

.catalog-product-view .product.media {
    grid-column: 1 !important;
    grid-row: 1 !important;
}

.catalog-product-view .product-info-main {
    grid-column: 2 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
}

.catalog-product-view .product-add-form {
    grid-column: 2 !important;
    grid-row: 2 !important;
}

.catalog-product-view .product.info.detailed {
    grid-column: 1 / -1 !important;
}

@media (max-width: 767px) {
    .catalog-product-view .column.main {
        grid-template-columns: 1fr !important;
    }
    
    .catalog-product-view .product.media,
    .catalog-product-view .product-info-main,
    .catalog-product-view .product-add-form,
    .catalog-product-view .product.info.detailed {
        grid-column: 1 !important;
        grid-row: auto !important;
    }
    
    .catalog-product-view .product.media {
        margin-bottom: 25px !important;
    }
}

/* Produkt-Galerie */
.catalog-product-view .gallery-placeholder {
    background: #fff !important;
    border: 1px solid #e8e8e8 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    max-width: 100% !important;
    aspect-ratio: 1 / 1 !important;
}

.catalog-product-view .gallery-placeholder__image {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    display: block !important;
}

.catalog-product-view .fotorama-item,
.catalog-product-view .fotorama__stage {
    background: #fff !important;
    border: 1px solid #e8e8e8 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
}

.catalog-product-view .fotorama__stage__shaft img,
.catalog-product-view .product.media img {
    border-radius: 10px !important;
    max-width: 100% !important;
    height: auto !important;
}

/* Fotorama Thumbnails */
.catalog-product-view .fotorama__nav-wrap {
    margin-top: 10px !important;
}

.catalog-product-view .fotorama__thumb {
    border: 2px solid #e8e8e8 !important;
    border-radius: 6px !important;
    overflow: hidden !important;
}

.catalog-product-view .fotorama__thumb.fotorama__active {
    border-color: #e67e22 !important;
}

/* Produktinfo Reihenfolge per Flexbox */
.catalog-product-view .product-info-main {
    display: flex !important;
    flex-direction: column !important;
}

.catalog-product-view .product-info-main > * {
    order: 5 !important;
}

.catalog-product-view .product-info-main .page-title-wrapper {
    order: 1 !important;
}

.catalog-product-view .product-info-main .product-info-price {
    order: 2 !important;
}

.catalog-product-view .product-info-main .product.attribute.delivery_time {
    order: 3 !important;
    font-size: 13px !important;
    color: #666 !important;
    padding: 8px 0 !important;
    border-bottom: 1px solid #eee !important;
    margin-bottom: 5px !important;
}

.catalog-product-view .product-info-main .product.attribute.delivery_time .type {
    font-weight: 600 !important;
    color: #003060 !important;
    font-size: 13px !important;
}

.catalog-product-view .product-info-main .product-reviews-summary {
    order: 3 !important;
    margin-bottom: 10px !important;
}

.catalog-product-view .product-info-main .product-info-stock-sku {
    order: 4 !important;
    margin-bottom: 8px !important;
}

.catalog-product-view .product-info-main .product.attribute.overview {
    order: 5 !important;
}

.catalog-product-view .product-info-main .product-add-form {
    order: 6 !important;
}

.catalog-product-view .product-info-main .product-social-links,
.catalog-product-view .product-info-main .product-addto-links {
    order: 9 !important;
}

/* Produktname */
.catalog-product-view .page-title-wrapper h1,
.catalog-product-view .page-title,
.catalog-product-view .product-info-main .page-title-wrapper .page-title {
    font-family: 'Grandstander', cursive, sans-serif !important;
    color: #003060 !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin: 0 0 6px 0 !important;
    display: block !important;
    text-align: left !important;
    padding: 0 !important;
}

@media (min-width: 768px) {
    .catalog-product-view .page-title-wrapper h1,
    .catalog-product-view .page-title {
        font-size: 32px !important;
    }
}

/* Produkttyp / Untertitel */
.catalog-product-view .product.attribute.overview {
    font-size: 16px !important;
    color: #666 !important;
    margin-bottom: 15px !important;
    line-height: 1.5 !important;
}

/* Bewertungen Link */
.catalog-product-view .product-reviews-summary {
    margin-bottom: 15px !important;
}

.catalog-product-view .product-reviews-summary .reviews-actions a {
    color: #e67e22 !important;
    font-size: 13px !important;
    text-decoration: none !important;
}

.catalog-product-view .product-reviews-summary .reviews-actions a:hover {
    text-decoration: underline !important;
}

/* Preis-Bereich */
.catalog-product-view .product-info-price {
    margin-bottom: 15px !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}

.catalog-product-view .product-info-price .price-box {
    order: -3 !important;
}

.catalog-product-view .product-info-price .price-details {
    order: -2 !important;
    margin-bottom: 12px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid #eee !important;
}

.catalog-product-view .product-info-price .product-info-stock-sku {
    order: -1 !important;
    margin-bottom: 8px !important;
}

.catalog-product-view .product-info-price .product-reviews-summary {
    order: 0 !important;
    margin-bottom: 10px !important;
}

.catalog-product-view .product-info-price .price-box .price {
    font-family: 'Grandstander', cursive, sans-serif !important;
    color: #e67e22 !important;
    font-size: 36px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

.catalog-product-view .product-info-price .price-box .price-label {
    display: none !important;
}

.catalog-product-view .product-info-price .price-box .old-price .price {
    color: #999 !important;
    font-size: 20px !important;
    text-decoration: line-through !important;
}

.catalog-product-view .product-info-price .price-box .special-price .price {
    color: #e53935 !important;
}

/* MwSt.-Hinweis */
.catalog-product-view .product-info-price .tax-details,
.catalog-product-view .product-info-price .price-including-tax,
.catalog-product-view .product-info-price + .price-including-tax {
    font-size: 13px !important;
    color: #888 !important;
    margin-top: 2px !important;
}

/* Art.-Nr / SKU */
.catalog-product-view .product.attribute.sku {
    font-size: 13px !important;
    color: #999 !important;
    margin-bottom: 15px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
}

.catalog-product-view .product.attribute.sku .type {
    font-weight: 600 !important;
    color: #666 !important;
}

.catalog-product-view .product.attribute.sku .type::after {
    content: ":";
}

.catalog-product-view .product.attribute.sku .value {
    display: inline !important;
}

/* Menge-Feld */
.catalog-product-view .field.qty {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 15px !important;
}

.catalog-product-view .field.qty label {
    font-size: 14px !important;
    color: #333 !important;
    font-weight: 600 !important;
}

.catalog-product-view .field.qty input {
    width: 60px !important;
    text-align: center !important;
    border: 1px solid #d0d5db !important;
    border-radius: 8px !important;
    padding: 8px !important;
    font-size: 16px !important;
}

/* In den Warenkorb Button */
.catalog-product-view .box-tocart .action.tocart {
    background: #e67e22 !important;
    border: 2px solid #e67e22 !important;
    border-radius: 25px !important;
    color: #fff !important;
    font-family: 'Grandstander', cursive, sans-serif !important;
    font-weight: 600 !important;
    font-size: 18px !important;
    padding: 14px 40px !important;
    text-transform: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    min-width: 200px !important;
    text-align: center !important;
}

.catalog-product-view .box-tocart .action.tocart:hover {
    background: #d35400 !important;
    border-color: #d35400 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.3) !important;
}

/* Wunschliste / Vergleichen Links */
.catalog-product-view .product-addto-links,
.catalog-product-view .product-social-links {
    margin-top: 15px !important;
    display: flex !important;
    gap: 15px !important;
}

.catalog-product-view .product-addto-links a,
.catalog-product-view .product-social-links a,
.catalog-product-view .action.towishlist,
.catalog-product-view .action.tocompare {
    color: #e67e22 !important;
    font-size: 13px !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    transition: color 0.2s ease !important;
}

.catalog-product-view .product-addto-links a:hover,
.catalog-product-view .action.towishlist:hover,
.catalog-product-view .action.tocompare:hover {
    color: #d35400 !important;
}

/* ============================================
   WUNSCHLISTE ALS BUTTON NEBEN "IN DEN WARENKORB"
   (Wunschlisten-Block wird per Layout in .box-tocart .actions verschoben)
   ============================================ */
.catalog-product-view .box-tocart .actions {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 12px !important;
}

.catalog-product-view .box-tocart .actions .action.towishlist {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #fff !important;
    border: 2px solid #e67e22 !important;
    border-radius: 25px !important;
    color: #e67e22 !important;
    font-family: 'Grandstander', cursive, sans-serif !important;
    font-weight: 600 !important;
    font-size: 18px !important;
    line-height: 1.2 !important;
    padding: 14px 28px !important;
    margin: 0 !important;
    text-decoration: none !important;
    text-align: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.catalog-product-view .box-tocart .actions .action.towishlist:hover {
    background: #e67e22 !important;
    color: #fff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.3) !important;
}

/* Leeren Social-/Addto-Links-Container ausblenden (Wunschliste ist verschoben) */
.catalog-product-view .product-info-main .product-social-links,
.catalog-product-view .product-info-main .product-addto-links {
    display: none !important;
}

/* Auf kleinen Bildschirmen Buttons untereinander und volle Breite */
@media (max-width: 767px) {
    .catalog-product-view .box-tocart .actions .action.towishlist {
        width: 100% !important;
        min-width: 0 !important;
    }
}

/* Versandhinweis */
.catalog-product-view .product-info-stock-sku {
    margin-bottom: 15px !important;
}

.catalog-product-view .stock.available span {
    color: #7cb342 !important;
    font-weight: 600 !important;
    font-size: 14px !important;
}

/* ============================================
   PRODUKT-TABS (Details, More Info, Reviews)
   ============================================ */

.catalog-product-view .product.info.detailed {
    margin-top: 40px !important;
    padding-top: 30px !important;
    border-top: 2px solid #e8e8e8 !important;
}

/* Tab-Container: Flex-Wrap damit Titel nebeneinander + Content volle Breite */
.catalog-product-view .product.data.items {
    display: flex !important;
    flex-wrap: wrap !important;
    border-bottom: 1px solid #e8e8e8 !important;
}

/* Tab-Titel: nebeneinander in einer Reihe */
.catalog-product-view .product.data.items > .item.title {
    flex: none !important;
    margin-bottom: -1px !important;
}

.catalog-product-view .product.data.items > .item.title > .switch {
    display: block !important;
    padding: 12px 24px !important;
    font-family: 'Grandstander', cursive, sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #666 !important;
    text-decoration: none !important;
    border: 1px solid transparent !important;
    border-bottom: 2px solid transparent !important;
    border-radius: 8px 8px 0 0 !important;
    background: transparent !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
}

.catalog-product-view .product.data.items > .item.title > .switch:hover {
    color: #e67e22 !important;
    background: #fef5ec !important;
}

.catalog-product-view .product.data.items > .item.title.active > .switch {
    color: #003060 !important;
    border: 1px solid #e8e8e8 !important;
    border-bottom-color: #fff !important;
    background: #fff !important;
}

/* Tab-Inhalt: volle Breite, bricht in neue Zeile */
.catalog-product-view .product.data.items > .item.content {
    flex: 0 0 100% !important;
    order: 99 !important;
    padding: 25px !important;
    border: 1px solid #e8e8e8 !important;
    border-top: none !important;
    border-radius: 0 0 10px 10px !important;
    background: #fff !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
    color: #333 !important;
}

.catalog-product-view .product.data.items > .item.content h2,
.catalog-product-view .product.data.items > .item.content h3 {
    font-family: 'Grandstander', cursive, sans-serif !important;
    color: #003060 !important;
    margin-top: 20px !important;
    margin-bottom: 10px !important;
}

/* Album-Details: Beschreibung + Trackliste */
.catalog-product-view .music-album-details {
    display: flex !important;
    flex-direction: column !important;
    gap: 28px !important;
}

.catalog-product-view .music-album-details__text {
    font-size: 15px !important;
    line-height: 1.75 !important;
    color: #333 !important;
}

.catalog-product-view .music-album-details__text p {
    margin: 0 0 14px !important;
}

.catalog-product-view .music-album-details__text p:last-child {
    margin-bottom: 0 !important;
}

.catalog-product-view .music-album-details__text strong {
    color: #003060 !important;
    font-weight: 700 !important;
}

.catalog-product-view .music-album-details__text a {
    color: #e67e22 !important;
    text-decoration: underline !important;
}

.catalog-product-view .music-album-details__text a:hover {
    color: #cf6d17 !important;
}

.catalog-product-view .music-album-details__tracklist {
    border-top: 1px solid #ececec !important;
    padding-top: 22px !important;
}

.catalog-product-view .music-album-details__tracklist-title {
    font-family: 'Grandstander', cursive, sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #003060 !important;
    margin: 0 0 14px !important;
}

.catalog-product-view .music-album-details__tracks {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    border: 1px solid #e8e8e8 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    background: #fafbfc !important;
}

.catalog-product-view .music-album-details__track {
    display: grid !important;
    grid-template-columns: 44px 1fr !important;
    gap: 0 12px !important;
    align-items: center !important;
    padding: 10px 14px !important;
    border-bottom: 1px solid #ececec !important;
    background: #fff !important;
    transition: background 0.15s ease !important;
}

.catalog-product-view .music-album-details__track:last-child {
    border-bottom: none !important;
}

.catalog-product-view .music-album-details__track.is-active,
.catalog-product-view .music-album-details__track:hover {
    background: #fef9f3 !important;
}

.catalog-product-view .music-album-details__track-number {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #e67e22 !important;
    text-align: center !important;
    line-height: 1 !important;
}

.catalog-product-view .music-album-details__track-body {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px 12px !important;
    min-width: 0 !important;
}

.catalog-product-view .music-album-details__track-title {
    font-size: 14px !important;
    line-height: 1.35 !important;
    color: #333 !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

.catalog-product-view .music-album-details__track-title a {
    color: #003060 !important;
    text-decoration: none !important;
}

.catalog-product-view .music-album-details__track-title a:hover {
    color: #e67e22 !important;
    text-decoration: underline !important;
}

.catalog-product-view .music-album-details__play {
    flex: 0 0 auto !important;
    border: 1px solid #e67e22 !important;
    background: #fff !important;
    color: #e67e22 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    padding: 5px 12px !important;
    border-radius: 14px !important;
    cursor: pointer !important;
    line-height: 1.2 !important;
    transition: all 0.15s ease !important;
}

.catalog-product-view .music-album-details__play:hover,
.catalog-product-view .music-album-details__play.is-playing {
    background: #e67e22 !important;
    color: #fff !important;
}

.catalog-product-view .music-album-details__audio {
    display: none !important;
    width: 100% !important;
    margin-top: 12px !important;
}

.catalog-product-view .music-album-details__audio.is-visible {
    display: block !important;
}

@media (max-width: 767px) {
    .catalog-product-view .music-album-details__track {
        grid-template-columns: 36px 1fr !important;
        padding: 10px 12px !important;
    }

    .catalog-product-view .music-album-details__track-body {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
}

/* Download-Links Bereich */
.catalog-product-view .product-links-downloads,
.catalog-product-view .product-options-wrapper {
    margin-bottom: 15px !important;
    padding: 15px !important;
    background: #fafbfc !important;
    border: 1px solid #e8e8e8 !important;
    border-radius: 10px !important;
}

.catalog-product-view .product-options-wrapper:empty,
.catalog-product-view .product-add-form .product-options-wrapper {
    display: none !important;
}

.catalog-product-view .field.downloads .label,
.catalog-product-view .product-options-wrapper .fieldset > .legend {
    font-family: 'Grandstander', cursive, sans-serif !important;
    color: #003060 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    margin-bottom: 8px !important;
    display: block !important;
}

.catalog-product-view .downloads.list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.catalog-product-view .downloads.list li {
    padding: 8px 12px !important;
    border-bottom: 1px solid #f0f0f0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    list-style: none !important;
    border-radius: 6px !important;
    transition: background 0.2s !important;
}

.catalog-product-view .downloads.list li:hover {
    background: #fff !important;
}

.catalog-product-view .downloads.list li:last-child {
    border-bottom: none !important;
}

.catalog-product-view .downloads.list li label {
    font-size: 14px !important;
    color: #333 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

/* Sample-Links (Hörproben) */
.catalog-product-view .product-samples,
.catalog-product-view .samples {
    margin-bottom: 15px !important;
}

.catalog-product-view .product-samples .title,
.catalog-product-view .samples .title {
    font-family: 'Grandstander', cursive, sans-serif !important;
    color: #003060 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    margin-bottom: 8px !important;
}

.catalog-product-view .samples.list,
.catalog-product-view .sample.links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.catalog-product-view .samples.list li,
.catalog-product-view .sample.links li {
    list-style: none !important;
    padding: 6px 0 !important;
}

.catalog-product-view .samples.list a,
.catalog-product-view .sample.links a,
.catalog-product-view a.sample-link {
    color: #e67e22 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 6px 12px !important;
    background: #fef5ec !important;
    border-radius: 20px !important;
    transition: all 0.2s ease !important;
}

.catalog-product-view .samples.list a::before,
.catalog-product-view .sample.links a::before,
.catalog-product-view a.sample-link::before {
    content: "" !important;
    display: inline-block !important;
    width: 16px !important;
    height: 16px !important;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e67e22'%3E%3Cpath d='M12 3v10.55c-.59-.34-1.27-.55-2-.55-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4V7h4V3h-6z'/%3E%3C/svg%3E") no-repeat center !important;
    background-size: contain !important;
    font-size: 0 !important;
}

.catalog-product-view .samples.list a:hover,
.catalog-product-view .sample.links a:hover,
.catalog-product-view a.sample-link:hover {
    color: #d35400 !important;
    background: #fde8d0 !important;
}

/* Bewertungen Tab */
.catalog-product-view .review-list {
    margin-top: 20px !important;
}

.catalog-product-view .review-item {
    padding: 20px !important;
    border: 1px solid #e8e8e8 !important;
    border-radius: 10px !important;
    margin-bottom: 15px !important;
    background: #fafafa !important;
}

.catalog-product-view .review-title {
    font-family: 'Grandstander', cursive, sans-serif !important;
    color: #003060 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    margin-bottom: 8px !important;
}

.catalog-product-view .review-content {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #333 !important;
}

/* =========================================================
   REVIEW-FORMULAR ("Eigene Bewertung schreiben")
   ========================================================= */

/* Block-Titel */
.catalog-product-view .block.review-add .block-title strong,
.catalog-product-view .block.review-add .block-title {
    font-family: 'Grandstander', cursive, sans-serif !important;
    color: #003060 !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    display: block !important;
    margin-bottom: 18px !important;
}

/* Formular-Karte */
.catalog-product-view .review-form {
    max-width: 640px !important;
}

/* Fieldset als saubere Karte ohne Doppel-Rahmen */
.catalog-product-view .review-form .fieldset.review-fieldset {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Legend "Sie bewerten: Testalbum" */
.catalog-product-view .review-form .review-legend.legend {
    display: block !important;
    width: 100% !important;
    border: none !important;
    padding: 0 0 18px 0 !important;
    margin: 0 0 20px 0 !important;
    border-bottom: 1px solid #ececec !important;
    font-size: 15px !important;
    color: #666 !important;
}

.catalog-product-view .review-form .review-legend.legend span {
    margin-right: 6px !important;
}

.catalog-product-view .review-form .review-legend.legend strong {
    font-family: 'Grandstander', cursive, sans-serif !important;
    color: #003060 !important;
    font-weight: 700 !important;
    font-size: 17px !important;
}

/* Einzelne Felder */
.catalog-product-view .review-form .field {
    margin-bottom: 18px !important;
}

.catalog-product-view .review-form .field > .label,
.catalog-product-view .review-form .field label {
    display: block !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #003060 !important;
    margin-bottom: 6px !important;
}

/* Eingabefelder & Textarea: volle Breite, modern */
.catalog-product-view .review-form .control {
    width: 100% !important;
}

.catalog-product-view .review-form input.input-text,
.catalog-product-view .review-form textarea {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 14px !important;
    font-size: 15px !important;
    color: #333 !important;
    background: #fff !important;
    border: 1px solid #d8dde3 !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.catalog-product-view .review-form textarea {
    min-height: 130px !important;
    resize: vertical !important;
    line-height: 1.6 !important;
}

.catalog-product-view .review-form input.input-text:focus,
.catalog-product-view .review-form textarea:focus {
    border-color: #e67e22 !important;
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.15) !important;
    outline: none !important;
}

/* Sterne-Bewertung (falls Rating-Attribut aktiv) */
.catalog-product-view .review-form .review-field-ratings .control {
    display: inline-block !important;
    width: auto !important;
}

.catalog-product-view .review-form .review-control-vote label:before,
.catalog-product-view .review-form .review-control-vote:before {
    color: #f5b301 !important;
}

/* Aktions-Leiste */
.catalog-product-view .review-form .actions-toolbar.review-form-actions,
.catalog-product-view .review-form .actions-toolbar {
    margin-top: 8px !important;
    padding: 0 !important;
}

/* Absenden-Button */
.catalog-product-view .review-form .action.submit,
.catalog-product-view .review-form .action.submit.primary {
    background: #e67e22 !important;
    border: 2px solid #e67e22 !important;
    border-radius: 25px !important;
    color: #fff !important;
    font-family: 'Grandstander', cursive, sans-serif !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    padding: 12px 34px !important;
    cursor: pointer !important;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.1s ease !important;
}

.catalog-product-view .review-form .action.submit:hover,
.catalog-product-view .review-form .action.submit.primary:hover {
    background: #d35400 !important;
    border-color: #d35400 !important;
}

.catalog-product-view .review-form .action.submit:active {
    transform: translateY(1px) !important;
}

/* Leeres "additional_info"-Fieldset ausblenden */
.catalog-product-view .review-form .fieldset.additional_info {
    display: none !important;
}

/* Pflichtfeld-Markierung */
.catalog-product-view .review-form .field.required > .label:after,
.catalog-product-view .review-form .field._required > .label:after {
    content: '*' !important;
    color: #e02b2b !important;
    margin-left: 4px !important;
}

/* Additional Attributes Tabelle (More Information) */
.catalog-product-view .additional-attributes {
    width: 100% !important;
    border-collapse: collapse !important;
}

.catalog-product-view .additional-attributes th {
    text-align: left !important;
    padding: 10px 15px !important;
    background: #f8f9fa !important;
    color: #003060 !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    border-bottom: 1px solid #e8e8e8 !important;
    width: 35% !important;
}

.catalog-product-view .additional-attributes td {
    padding: 10px 15px !important;
    font-size: 14px !important;
    color: #333 !important;
    border-bottom: 1px solid #e8e8e8 !important;
}

/* Ähnliche Produkte / Upsell */
.catalog-product-view .block.related,
.catalog-product-view .block.upsell,
.catalog-product-view .block.crosssell {
    margin-top: 40px !important;
    padding-top: 30px !important;
    border-top: 2px solid #e8e8e8 !important;
}

.catalog-product-view .block.related .block-title strong,
.catalog-product-view .block.upsell .block-title strong,
.catalog-product-view .block.crosssell .block-title strong {
    font-family: 'Grandstander', cursive, sans-serif !important;
    color: #003060 !important;
    font-size: 24px !important;
}

/* ==============================
   Warenkorb - Layout (Desktop)
   ============================== */
.checkout-cart-index .page-main {
    padding-top: 30px !important;
}

@media (min-width: 768px) {
    .checkout-cart-index .page-main {
        max-width: 1280px !important;
        margin: 0 auto !important;
        padding: 40px 20px 60px !important;
        box-sizing: border-box;
    }
    .checkout-cart-index .cart-container {
        display: grid !important;
        grid-template-columns: 1fr 360px !important;
        gap: 30px !important;
        align-items: start !important;
        max-width: 1240px !important;
        margin: 0 auto !important;
    }
    /* Produkte links */
    .checkout-cart-index .cart-container .form-cart,
    .checkout-cart-index .cart-container #form-validate {
        grid-column: 1 !important;
        grid-row: 1 !important;
        order: 1 !important;
        background: #fff;
        border: 1px solid #eee;
        border-radius: 10px;
        padding: 20px;
        box-sizing: border-box;
    }
    /* Zusammenfassung rechts */
    .checkout-cart-index .cart-container .cart-summary {
        grid-column: 2 !important;
        grid-row: 1 !important;
        order: 2 !important;
        background: #fff7e6;
        border: 1px solid #f0a83a;
        border-radius: 10px;
        padding: 20px;
        position: sticky;
        top: 20px;
    }
    .checkout-cart-index .cart-container .cart.main.actions,
    .checkout-cart-index .cart-container .block.discount,
    .checkout-cart-index .cart-container .block.crosssell {
        grid-column: 1 !important;
        order: 3 !important;
    }
}

/* Produkt-Tabelle übersichtlicher */
.checkout-cart-index .cart.table-wrapper {
    margin: 0;
}
.checkout-cart-index #shopping-cart-table > caption,
.checkout-cart-index #shopping-cart-table .table-caption {
    display: none !important;
}
.checkout-cart-index .cart-summary ul,
.checkout-cart-index .cart-summary ol,
.checkout-cart-index .cart-summary .checkout-methods-items {
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}
.checkout-cart-index .cart-summary li {
    list-style: none !important;
}

/* Multi-Address-Link entfernen */
.checkout-cart-index .cart-summary .checkout-methods-items .multicheckout,
.checkout-cart-index .cart-summary li.multicheckout,
.checkout-cart-index a.multicheckout {
    display: none !important;
}

/* Gutscheincode-Block als Button gestalten */
.checkout-cart-index .cart-summary .block.discount {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #f0c787;
}
.checkout-cart-index .cart-summary .block.discount > .title {
    display: block;
    cursor: pointer;
    background-color: #fff;
    border: 1px solid #f08a00;
    color: #f08a00;
    padding: 9px 16px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    transition: background-color 0.15s ease, color 0.15s ease;
}
.checkout-cart-index .cart-summary .block.discount > .title:hover,
.checkout-cart-index .cart-summary .block.discount.active > .title {
    background-color: #f08a00;
    color: #fff;
}
.checkout-cart-index .cart-summary .block.discount > .title strong {
    font-weight: 700;
    font-size: inherit;
    color: inherit;
}
.checkout-cart-index .cart-summary .block.discount > .title::after {
    display: none;
}
.checkout-cart-index .cart-summary .block.discount .content {
    margin-top: 12px;
    padding: 14px;
    background-color: #fff;
    border: 1px solid #f0d8a8;
    border-radius: 8px;
}
.checkout-cart-index .cart-summary .block.discount .content .field {
    margin-bottom: 10px;
}
.checkout-cart-index .cart-summary .block.discount .content input[type="text"] {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
}
.checkout-cart-index .cart-summary .block.discount .actions-toolbar button.action.apply {
    background-color: #f08a00;
    border: 0;
    color: #fff;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 999px;
    cursor: pointer;
}
.checkout-cart-index .cart-summary .block.discount .actions-toolbar button.action.apply:hover {
    background-color: #d97800;
}
.checkout-cart-index #shopping-cart-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}
.checkout-cart-index #shopping-cart-table thead th {
    background: #fafafa;
    color: #555;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 12px 10px;
    border-bottom: 2px solid #e5e5e5;
    text-align: center;
}
.checkout-cart-index #shopping-cart-table thead th:first-child {
    text-align: left;
}
.checkout-cart-index #shopping-cart-table tbody.cart.item {
    transition: background-color 0.2s ease;
}
.checkout-cart-index #shopping-cart-table tbody.cart.item:nth-of-type(odd) {
    background-color: #ffffff;
}
.checkout-cart-index #shopping-cart-table tbody.cart.item:nth-of-type(even) {
    background-color: #fbf7ee;
}
.checkout-cart-index #shopping-cart-table tbody.cart.item:hover {
    background-color: #fff3df;
}
.checkout-cart-index #shopping-cart-table tbody.cart.item td {
    padding: 18px 10px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}
.checkout-cart-index #shopping-cart-table .product-item-photo {
    display: inline-block;
    width: 80px;
    margin-right: 14px;
    vertical-align: middle;
}
.checkout-cart-index #shopping-cart-table .product-item-photo img {
    border-radius: 8px;
    border: 1px solid #eee;
}
.checkout-cart-index #shopping-cart-table .product-item-name {
    display: block;
    font-weight: 600;
    color: #1a3a6b;
    margin-bottom: 4px;
}
.checkout-cart-index #shopping-cart-table .item-actions a {
    font-size: 0.85rem;
    color: #f08a00;
}
.checkout-cart-index #shopping-cart-table .col.price,
.checkout-cart-index #shopping-cart-table .col.subtotal {
    text-align: center;
    font-weight: 600;
}
.checkout-cart-index #shopping-cart-table .col.qty {
    text-align: center;
}
.checkout-cart-index #shopping-cart-table input.qty {
    width: 60px;
    text-align: center;
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

/* Inline-Login/Register-Block ausblenden, Modale aber weiter funktionsfähig halten.
   Magento-Modale erhalten beim Öffnen die Klasse ._show — wir blenden nur
   geschlossene Modalkopien aus, die ohne JS-Init sichtbar gerendert werden. */
body.checkout-cart-index .modals-wrapper aside.modal-popup:not(._show),
body.checkout-cart-index .modals-wrapper aside.modal-slide:not(._show) {
    display: none !important;
}
/* Versteckt ein leeres Overlay global – sonst fängt es Klicks ab */
.modals-overlay:empty {
    display: none !important;
}

/* Modal-Popup zentral mit Overlay (theme hatte hierfür keine Styles).
   pointer-events: none verhindert, dass das Overlay Klicks abfängt, wenn
   es zwar im DOM ist, aber kein aktives Modal enthält. Aktive Modale
   setzen pointer-events selbst wieder auf auto. */
.modals-overlay {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 900;
    pointer-events: none;
}
.modals-overlay aside.modal-popup._show,
.modals-overlay aside.modal-slide._show {
    pointer-events: auto !important;
}
aside.modal-popup._show {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: flex !important;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    padding: 60px 20px;
    box-sizing: border-box;
}
aside.modal-popup._show .modal-inner-wrap {
    position: relative;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 520px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
}
aside.modal-popup._show .modal-header {
    position: relative;
    padding: 18px 56px 14px 28px;
    margin: 0;
    border-bottom: 1px solid #eee;
    min-height: 24px;
}
aside.modal-popup._show .modal-header .action-close,
aside.modal-popup._show .modal-inner-wrap > .action-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    background: transparent;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    color: #555;
    padding: 0;
    font-size: 0;
    line-height: 0;
    text-indent: -9999px;
    overflow: hidden;
    z-index: 2;
}
aside.modal-popup._show .modal-header .action-close::before,
aside.modal-popup._show .modal-inner-wrap > .action-close::before {
    content: '\00d7';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 1.6rem;
    line-height: 1;
    color: #555;
    text-indent: 0;
}
aside.modal-popup._show .modal-header .action-close:hover::before,
aside.modal-popup._show .modal-inner-wrap > .action-close:hover::before {
    color: #f08a00;
}
aside.modal-popup._show .modal-content {
    padding: 24px 28px 28px;
}
aside.modal-popup._show .modal-content .block-customer-login,
aside.modal-popup._show .modal-content .block-new-customer {
    margin-bottom: 24px;
}
aside.modal-popup._show .modal-content .block-customer-login:last-child,
aside.modal-popup._show .modal-content .block-new-customer:last-child {
    margin-bottom: 0;
}
aside.modal-popup._show .modal-content .block-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}
aside.modal-popup._show .modal-content .block-content {
    margin-top: 0;
}
aside.modal-popup._show .modal-content .field {
    margin-bottom: 14px;
}
aside.modal-popup._show .modal-content .field > .label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.9rem;
}
aside.modal-popup._show .modal-content input[type="email"],
aside.modal-popup._show .modal-content input[type="password"],
aside.modal-popup._show .modal-content input[type="text"] {
    width: 100%;
    padding: 9px 11px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 0.95rem;
}
aside.modal-popup._show .modal-content .actions-toolbar {
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
aside.modal-popup._show .modal-content .actions-toolbar .secondary {
    margin: 0;
}
aside.modal-popup._show .modal-content .actions-toolbar .action.primary,
aside.modal-popup._show .modal-content .actions-toolbar .action-login,
aside.modal-popup._show .modal-content .actions-toolbar .action-register,
aside.modal-popup._show .modal-content .actions-toolbar > .primary > button,
aside.modal-popup._show .modal-content .actions-toolbar > .primary > a {
    background-color: #f08a00 !important;
    border: 0 !important;
    color: #fff !important;
    font-weight: 700;
    padding: 10px 22px !important;
    border-radius: 999px !important;
    font-size: 1rem !important;
    cursor: pointer;
    text-transform: none !important;
    line-height: 1.2;
    transition: background-color 0.15s ease;
    text-decoration: none !important;
    display: inline-block;
}
aside.modal-popup._show .modal-content .actions-toolbar .action.primary:hover,
aside.modal-popup._show .modal-content .actions-toolbar .action-login:hover,
aside.modal-popup._show .modal-content .actions-toolbar .action-register:hover,
aside.modal-popup._show .modal-content .actions-toolbar > .primary > button:hover,
aside.modal-popup._show .modal-content .actions-toolbar > .primary > a:hover {
    background-color: #d97800 !important;
    color: #fff !important;
}
aside.modal-popup._show .modal-content .actions-toolbar .action.primary span,
aside.modal-popup._show .modal-content .actions-toolbar .action-login span,
aside.modal-popup._show .modal-content .actions-toolbar .action-register span {
    color: #fff !important;
}
body._has-modal {
    overflow: hidden;
}

/* ==============================
   Leerer Warenkorb
   ============================== */
.checkout-cart-index .cart-empty {
    text-align: center !important;
    min-height: 400px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 50px 20px !important;
    width: 100% !important;
    max-width: 600px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
}

.cart-empty-icon {
    margin-bottom: 25px;
    opacity: 0.85;
}

.cart-empty-icon svg {
    display: inline-block;
}

.cart-empty-title {
    font-family: 'Grandstander', cursive, sans-serif !important;
    color: #003060 !important;
    font-size: 26px !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
}

.cart-empty-message {
    color: #666 !important;
    font-size: 16px !important;
    margin-bottom: 30px !important;
    line-height: 1.5 !important;
}

.cart-empty-action .action.primary.continue {
    display: inline-block;
    background: #e67e22 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 30px !important;
    padding: 14px 35px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: background 0.3s ease, transform 0.2s ease !important;
    cursor: pointer;
}

.cart-empty-action .action.primary.continue:hover {
    background: #d35400 !important;
    transform: translateY(-2px) !important;
}

/* ==============================
   Kunden-Login Seite
   ============================== */
.customer-account-login .page-main {
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 40px 20px 60px !important;
    box-sizing: border-box !important;
}

.customer-account-login .page-title-wrapper {
    margin-bottom: 30px !important;
}

.customer-account-login .page-title {
    font-family: 'Grandstander', cursive, sans-serif !important;
    color: #003060 !important;
    font-size: 30px !important;
    font-weight: 700 !important;
}

.customer-account-login .login-container {
    display: flex !important;
    gap: 40px !important;
    flex-wrap: wrap !important;
}

.customer-account-login .login-container .block {
    flex: 1 !important;
    min-width: 300px !important;
    background: #fff !important;
    border: 1px solid #e8e8e8 !important;
    border-radius: 12px !important;
    padding: 30px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
}

.customer-account-login .login-container .block-title {
    border-bottom: 2px solid #e67e22 !important;
    padding-bottom: 12px !important;
    margin-bottom: 20px !important;
}

.customer-account-login .login-container .block-title strong {
    font-family: 'Grandstander', cursive, sans-serif !important;
    color: #003060 !important;
    font-size: 22px !important;
    font-weight: 700 !important;
}

.customer-account-login .login-container .block-content p {
    color: #555 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    margin-bottom: 20px !important;
}

.customer-account-login .login-container .field .label {
    font-weight: 600 !important;
    color: #003060 !important;
    font-size: 14px !important;
    margin-bottom: 6px !important;
}

.customer-account-login .login-container .field .control input {
    border: 1px solid #d0d5dd !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s ease !important;
}

.customer-account-login .login-container .field .control input:focus {
    border-color: #e67e22 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(230,126,34,0.15) !important;
}

.customer-account-login .actions-toolbar .action.primary {
    background: #e67e22 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 25px !important;
    padding: 12px 30px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background 0.3s ease, transform 0.2s ease !important;
}

.customer-account-login .actions-toolbar .action.primary:hover {
    background: #d35400 !important;
    transform: translateY(-1px) !important;
}

.customer-account-login .actions-toolbar .secondary a {
    color: #e67e22 !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}

.customer-account-login .actions-toolbar .secondary a:hover {
    color: #d35400 !important;
    text-decoration: underline !important;
}

.customer-account-login .block-new-customer .actions-toolbar .action.primary {
    background: #003060 !important;
}

.customer-account-login .block-new-customer .actions-toolbar .action.primary:hover {
    background: #004080 !important;
}

/* ==============================
   CMS-Seiten & Kontakt: Boxed 1280px
   ============================== */
.cms-page-view .page-main,
.contact-index-index .page-main,
.customer-account-forgotpassword .page-main,
.customer-account-create .page-main,
.kinderlieder_texte-index-index .page-main,
.kinderlieder_texte-song-view .page-main {
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 40px 20px 60px !important;
    box-sizing: border-box !important;
}

.kinderlieder_texte-index-index .page-wrapper,
.kinderlieder_texte-song-view .page-wrapper {
    background-color: #ffd700 !important;
}

.kinderlieder_texte-index-index .breadcrumbs,
.kinderlieder_texte-song-view .breadcrumbs {
    background-color: #e1be00 !important;
}

.cms-page-view .page-title,
.contact-index-index .page-title {
    font-family: 'Grandstander', cursive, sans-serif !important;
    color: #003060 !important;
    font-size: 30px !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
}

/* ==============================
   Kontaktformular
   ============================== */
.contact-index-index .form.contact {
    max-width: 680px !important;
    margin: 0 auto !important;
    background: #fff !important;
    border: 1px solid #e8e8e8 !important;
    border-radius: 16px !important;
    padding: 40px !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05) !important;
}

.contact-index-index .form.contact .legend {
    font-family: 'Grandstander', cursive, sans-serif !important;
    color: #003060 !important;
    font-size: 26px !important;
    font-weight: 700 !important;
    border: none !important;
    padding: 0 !important;
    margin-bottom: 4px !important;
}

.contact-index-index .form.contact .field.note {
    color: #666 !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    margin-bottom: 28px !important;
    padding-bottom: 20px !important;
    border-bottom: 2px solid #e67e22 !important;
}

.contact-index-index .form.contact .fieldset {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.contact-index-index .form.contact .field {
    margin-bottom: 20px !important;
}

.contact-index-index .form.contact .field .label {
    font-weight: 600 !important;
    color: #003060 !important;
    font-size: 14px !important;
    margin-bottom: 6px !important;
    display: block !important;
}

.contact-index-index .form.contact .field .control input,
.contact-index-index .form.contact .field .control textarea {
    border: 1px solid #d0d5dd !important;
    border-radius: 10px !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    font-family: 'Open Sans', sans-serif !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
    background: #fafbfc !important;
}

.contact-index-index .form.contact .field .control input:focus,
.contact-index-index .form.contact .field .control textarea:focus {
    border-color: #e67e22 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(230,126,34,0.15) !important;
    background: #fff !important;
}

.contact-index-index .form.contact .field .control textarea {
    min-height: 140px !important;
    resize: vertical !important;
}

.contact-index-index .form.contact .actions-toolbar {
    margin-top: 28px !important;
    text-align: center !important;
}

.contact-index-index .form.contact .actions-toolbar .action.submit.primary {
    background: #e67e22 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 30px !important;
    padding: 14px 50px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background 0.3s ease, transform 0.2s ease !important;
    display: inline-block !important;
}

.contact-index-index .form.contact .actions-toolbar .action.submit.primary:hover {
    background: #d35400 !important;
    transform: translateY(-2px) !important;
}

/* Kontaktformular Responsive */
@media (max-width: 768px) {
    .contact-index-index .form.contact {
        padding: 24px 18px !important;
    }
}

/* ==============================
   Authentication-Popup (Sign-in Modal) – nur im Modal sichtbar
   Verhindert, dass der Modal-Inhalt unten auf der Seite "ausläuft".
   ============================== */
#authenticationPopup,
#authenticationPopup .block-authentication {
    display: none !important;
}

aside.modal-popup._show #authenticationPopup,
aside.modal-popup._show #authenticationPopup .block-authentication {
    display: block !important;
}

/* ==============================
   Kundenkonto anlegen / Login / Passwort vergessen
   ============================== */
.customer-account-create .page-title,
.customer-account-login .page-title,
.customer-account-forgotpassword .page-title {
    font-family: 'Grandstander', cursive, sans-serif !important;
    color: #003060 !important;
    font-size: 30px !important;
    font-weight: 700 !important;
    margin-bottom: 24px !important;
    text-align: center !important;
}

.customer-account-create .form.create.account,
.customer-account-login .login-container .block,
.customer-account-forgotpassword .form.password.forget {
    max-width: 680px !important;
    margin: 0 auto !important;
    background: #fff !important;
    border: 1px solid #e8e8e8 !important;
    border-radius: 16px !important;
    padding: 40px !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05) !important;
    box-sizing: border-box !important;
}

.customer-account-login .login-container {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 24px !important;
    justify-content: center !important;
    max-width: 1180px !important;
    margin: 0 auto !important;
}

.customer-account-login .login-container .block {
    flex: 1 1 420px !important;
    max-width: 560px !important;
    width: 100% !important;
}

.customer-account-create .form.create.account .legend,
.customer-account-login .login-container .block .block-title,
.customer-account-forgotpassword .form.password.forget .legend {
    font-family: 'Grandstander', cursive, sans-serif !important;
    color: #003060 !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    border: none !important;
    padding: 0 0 14px 0 !important;
    margin: 0 0 20px 0 !important;
    border-bottom: 2px solid #e67e22 !important;
    display: block !important;
}

.customer-account-create .form.create.account .legend > span,
.customer-account-login .login-container .block .block-title > strong {
    font-weight: 700 !important;
}

.customer-account-create .form.create.account .fieldset,
.customer-account-login .login-container .block .fieldset,
.customer-account-forgotpassword .form.password.forget .fieldset {
    border: none !important;
    padding: 0 !important;
    margin: 0 0 12px 0 !important;
}

.customer-account-create .form.create.account .fieldset > .legend {
    font-size: 18px !important;
    border-bottom: 1px dashed #e8e8e8 !important;
    padding-bottom: 8px !important;
    margin-bottom: 16px !important;
}

.customer-account-create .form.create.account .field,
.customer-account-login .login-container .block .field,
.customer-account-forgotpassword .form.password.forget .field {
    margin-bottom: 18px !important;
}

.customer-account-create .form.create.account .field > .label,
.customer-account-login .login-container .block .field > .label,
.customer-account-forgotpassword .form.password.forget .field > .label {
    font-weight: 600 !important;
    color: #003060 !important;
    font-size: 14px !important;
    margin-bottom: 6px !important;
    display: block !important;
    text-align: left !important;
    float: none !important;
    width: auto !important;
    padding: 0 !important;
}

.customer-account-create .form.create.account .field .control input,
.customer-account-login .login-container .block .field .control input,
.customer-account-forgotpassword .form.password.forget .field .control input {
    border: 1px solid #d0d5dd !important;
    border-radius: 10px !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    font-family: 'Open Sans', sans-serif !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
    background: #fafbfc !important;
    height: auto !important;
}

.customer-account-create .form.create.account .field .control input:focus,
.customer-account-login .login-container .block .field .control input:focus,
.customer-account-forgotpassword .form.password.forget .field .control input:focus {
    border-color: #e67e22 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(230,126,34,0.15) !important;
    background: #fff !important;
}

.customer-account-create .form.create.account .field.choice {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 18px !important;
}

.customer-account-create .form.create.account .field.choice input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    accent-color: #e67e22 !important;
    margin: 0 !important;
}

.customer-account-create .form.create.account .field.choice .label {
    margin: 0 !important;
    font-weight: 500 !important;
    color: #003060 !important;
}

.customer-account-create .form.create.account .password-strength-meter {
    background: #f4f6f8 !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    font-size: 13px !important;
    margin-top: 6px !important;
    color: #003060 !important;
}

.customer-account-create .form.create.account .actions-toolbar,
.customer-account-login .login-container .block .actions-toolbar,
.customer-account-forgotpassword .form.password.forget .actions-toolbar {
    margin-top: 28px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.customer-account-create .form.create.account .actions-toolbar .action.primary,
.customer-account-login .login-container .block .actions-toolbar .action.primary,
.customer-account-forgotpassword .form.password.forget .actions-toolbar .action.primary {
    background: #e67e22 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 30px !important;
    padding: 14px 38px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background 0.3s ease, transform 0.2s ease !important;
}

.customer-account-create .form.create.account .actions-toolbar .action.primary:hover,
.customer-account-login .login-container .block .actions-toolbar .action.primary:hover,
.customer-account-forgotpassword .form.password.forget .actions-toolbar .action.primary:hover {
    background: #d35400 !important;
    transform: translateY(-2px) !important;
}

.customer-account-create .form.create.account .actions-toolbar .action.back,
.customer-account-login .login-container .block .actions-toolbar .action.remind,
.customer-account-forgotpassword .form.password.forget .actions-toolbar .action.back {
    background: transparent !important;
    color: #003060 !important;
    border: 2px solid #003060 !important;
    border-radius: 30px !important;
    padding: 12px 28px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: background 0.3s ease, color 0.3s ease !important;
}

.customer-account-create .form.create.account .actions-toolbar .action.back:hover,
.customer-account-login .login-container .block .actions-toolbar .action.remind:hover,
.customer-account-forgotpassword .form.password.forget .actions-toolbar .action.back:hover {
    background: #003060 !important;
    color: #fff !important;
}

.customer-account-create .field.required > .label:after,
.customer-account-login .field.required > .label:after,
.customer-account-forgotpassword .field.required > .label:after {
    color: #e67e22 !important;
    margin-left: 4px !important;
}

.customer-account-create .fieldset > .field.required > .label > span:after,
.customer-account-create .fieldset > .fields > .field.required > .label > span:after {
    content: '*' !important;
    color: #e67e22 !important;
    margin-left: 4px !important;
}

@media (max-width: 768px) {
    .customer-account-create .form.create.account,
    .customer-account-login .login-container .block,
    .customer-account-forgotpassword .form.password.forget {
        padding: 24px 18px !important;
    }
    .customer-account-create .form.create.account .actions-toolbar,
    .customer-account-login .login-container .block .actions-toolbar,
    .customer-account-forgotpassword .form.password.forget .actions-toolbar {
        flex-direction: column-reverse !important;
        align-items: stretch !important;
    }
    .customer-account-create .form.create.account .actions-toolbar .action.primary,
    .customer-account-login .login-container .block .actions-toolbar .action.primary,
    .customer-account-forgotpassword .form.password.forget .actions-toolbar .action.primary,
    .customer-account-create .form.create.account .actions-toolbar .action.back,
    .customer-account-login .login-container .block .actions-toolbar .action.remind,
    .customer-account-forgotpassword .form.password.forget .actions-toolbar .action.back {
        width: 100% !important;
        text-align: center !important;
    }
}

/* ==============================
   Onepage Checkout (/checkout/)
   ============================== */
.checkout-index-index .page-main {
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 30px 20px 60px !important;
    box-sizing: border-box !important;
}

.checkout-index-index .page-title-wrapper {
    text-align: center !important;
    margin-bottom: 24px !important;
}

.checkout-index-index .page-title {
    font-family: 'Grandstander', cursive, sans-serif !important;
    color: #003060 !important;
    font-size: 30px !important;
    font-weight: 700 !important;
    margin: 0 !important;
}

/* Progress bar */
.checkout-index-index .opc-progress-bar {
    list-style: none !important;
    display: flex !important;
    justify-content: center !important;
    gap: 40px !important;
    padding: 0 !important;
    margin: 0 0 32px 0 !important;
    counter-reset: i !important;
}

.checkout-index-index .opc-progress-bar-item {
    position: relative !important;
    color: #9aa3ad !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    padding-top: 44px !important;
    text-align: center !important;
    counter-increment: i !important;
    flex: 0 1 auto !important;
    margin: 0 !important;
    width: auto !important;
    border: none !important;
}

.checkout-index-index .opc-progress-bar-item:before,
.checkout-index-index .opc-progress-bar-item > span:before,
.checkout-index-index .opc-progress-bar-item > span:after {
    display: none !important;
}

.checkout-index-index .opc-progress-bar-item > span {
    display: block !important;
    color: inherit !important;
    padding: 0 !important;
}

.checkout-index-index .opc-progress-bar-item > span:before {
    content: counter(i) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    background: #fff !important;
    border: 2px solid #d0d5dd !important;
    color: #9aa3ad !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    line-height: 1 !important;
}

.checkout-index-index .opc-progress-bar-item._active > span:before,
.checkout-index-index .opc-progress-bar-item._complete > span:before {
    background: #e67e22 !important;
    border-color: #e67e22 !important;
    color: #fff !important;
}

.checkout-index-index .opc-progress-bar-item._active,
.checkout-index-index .opc-progress-bar-item._complete {
    color: #003060 !important;
}

.checkout-index-index .opc-estimated-wrapper {
    display: none !important;
}

/* Two-column layout */
.checkout-index-index .opc-wrapper {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.checkout-index-index .checkout-container {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 24px !important;
    align-items: flex-start !important;
    margin: 0 !important;
    max-width: none !important;
}

.checkout-index-index .checkout-container > .opc-progress-bar,
.checkout-index-index .checkout-container > .authentication-wrapper,
.checkout-index-index .checkout-container > .messages {
    flex: 1 0 100% !important;
}

.checkout-index-index .checkout-container > #checkoutSteps,
.checkout-index-index .checkout-container > .opc-wrapper {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
}

.checkout-index-index .opc-sidebar,
.checkout-index-index .opc-summary-wrapper {
    flex: 0 0 380px !important;
    width: 380px !important;
    max-width: 100% !important;
    position: sticky !important;
    top: 20px !important;
    margin: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    background: transparent !important;
    height: auto !important;
    overflow: visible !important;
}

/* Hide the modal close button on the sidebar (no function on desktop) */
.checkout-index-index .opc-sidebar .modal-header,
.checkout-index-index .opc-sidebar .modal-header .action-close,
.checkout-index-index .opc-summary-wrapper .modal-header,
.checkout-index-index .opc-summary-wrapper .modal-header .action-close,
.checkout-index-index .opc-sidebar > .modal-inner-wrap > .action-close,
.checkout-index-index .opc-summary-wrapper > .modal-inner-wrap > .action-close {
    display: none !important;
}

.checkout-index-index .opc-sidebar .modal-inner-wrap,
.checkout-index-index .opc-summary-wrapper .modal-inner-wrap {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    height: auto !important;
    transform: none !important;
}

.checkout-index-index .opc-sidebar .modal-content,
.checkout-index-index .opc-summary-wrapper .modal-content {
    padding: 0 !important;
    overflow: visible !important;
}

/* Cards / steps */
.checkout-index-index .opc-wrapper .step-title,
.checkout-index-index .opc-block-summary > .title,
.checkout-index-index .checkout-payment-method .step-title,
.checkout-index-index .checkout-shipping-method .step-title,
.checkout-index-index .checkout-shipping-address .step-title {
    font-family: 'Grandstander', cursive, sans-serif !important;
    color: #003060 !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    border: none !important;
    border-bottom: 2px solid #e67e22 !important;
    padding: 0 0 12px 0 !important;
    margin: 0 0 20px 0 !important;
}

.checkout-index-index .opc > li.checkout-shipping-address,
.checkout-index-index .opc > li.checkout-shipping-method,
.checkout-index-index .opc > li#payment,
.checkout-index-index .opc > li.checkout-payment-method,
.checkout-index-index #checkoutSteps > li {
    list-style: none !important;
    background: #fff !important;
    border: 1px solid #e8e8e8 !important;
    border-radius: 16px !important;
    padding: 28px 30px !important;
    margin: 0 0 20px 0 !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05) !important;
}

.checkout-index-index .opc-wrapper {
    display: block !important;
}

.checkout-index-index .opc-wrapper > .opc,
.checkout-index-index ol#checkoutSteps,
.checkout-index-index .opc {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    counter-reset: none !important;
    box-sizing: border-box !important;
}

.checkout-index-index .opc > li:before {
    display: none !important;
}

/* Inputs / fields */
.checkout-index-index .fieldset {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.checkout-index-index .fieldset > .legend,
.checkout-index-index .fieldset > legend {
    font-family: 'Grandstander', cursive, sans-serif !important;
    color: #003060 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    border: none !important;
    padding: 0 0 8px 0 !important;
    margin: 4px 0 16px 0 !important;
    border-bottom: 1px dashed #e8e8e8 !important;
    width: 100% !important;
    float: none !important;
    position: static !important;
}

.checkout-index-index .field {
    margin-bottom: 16px !important;
}

/* Straßenfeld: einzeilig, ohne redundanten Fieldset-Rahmen und ohne
   "Adresse"-Legend (street_lines=1, Zeilen-Label via i18n = "Straße"). */
.checkout-index-index fieldset.field.street {
    border: none !important;
    padding: 0 !important;
    margin: 0 0 16px 0 !important;
}

.checkout-index-index fieldset.field.street > .label,
.checkout-index-index fieldset.field.street > legend {
    display: none !important;
}

.checkout-index-index fieldset.field.street .field._required {
    margin-bottom: 0 !important;
}

.checkout-index-index .field > .label,
.checkout-index-index .field.choice > .label {
    font-weight: 600 !important;
    color: #003060 !important;
    font-size: 14px !important;
    margin-bottom: 6px !important;
    display: block !important;
    text-align: left !important;
    float: none !important;
    width: auto !important;
    padding: 0 !important;
}

.checkout-index-index .field .control input[type="text"],
.checkout-index-index .field .control input[type="email"],
.checkout-index-index .field .control input[type="tel"],
.checkout-index-index .field .control input[type="number"],
.checkout-index-index .field .control input[type="password"],
.checkout-index-index .field .control select,
.checkout-index-index .field .control textarea {
    border: 1px solid #d0d5dd !important;
    border-radius: 10px !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    font-family: 'Open Sans', sans-serif !important;
    background: #fafbfc !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
    height: auto !important;
}

.checkout-index-index .field .control input:focus,
.checkout-index-index .field .control select:focus,
.checkout-index-index .field .control textarea:focus {
    border-color: #e67e22 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(230,126,34,0.15) !important;
    background: #fff !important;
}

.checkout-index-index .field._required > .label:after,
.checkout-index-index .field.required > .label:after,
.checkout-index-index .field._required > .label > span:after,
.checkout-index-index .field.required > .label > span:after {
    color: #e67e22 !important;
}

/* Payment method tile */
.checkout-index-index .payment-method {
    border: 1px solid #e8e8e8 !important;
    border-radius: 12px !important;
    padding: 16px 18px !important;
    margin-bottom: 12px !important;
    background: #fafbfc !important;
    transition: border-color 0.2s ease, background 0.2s ease !important;
}

.checkout-index-index .payment-method._active {
    border-color: #e67e22 !important;
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(230,126,34,0.08) !important;
}

.checkout-index-index .payment-method-title {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font-weight: 600 !important;
    color: #003060 !important;
}

.checkout-index-index .payment-method-title input[type="radio"] {
    accent-color: #e67e22 !important;
    width: 18px !important;
    height: 18px !important;
    margin-right: 10px !important;
    vertical-align: middle !important;
}

.checkout-index-index .payment-method-title .label.flex-center,
.checkout-index-index .payment-method .flex-center {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.checkout-index-index .payment-method-title .payment-type-icon,
.checkout-index-index .payment-method-title .payment-icon {
    display: inline-block !important;
    height: 28px !important;
    width: auto !important;
    max-height: 28px !important;
    max-width: 48px !important;
    margin: 0 !important;
    vertical-align: middle !important;
    object-fit: contain !important;
}

.checkout-index-index .payment-method .credit-card-types img {
    height: 22px !important;
    width: auto !important;
    max-height: 22px !important;
}

.checkout-index-index .payment-method-content {
    padding: 14px 0 0 0 !important;
}

/* Agreements */
.checkout-index-index .checkout-agreements-block,
.checkout-index-index .checkout-agreements {
    margin: 16px 0 !important;
}

.checkout-index-index .checkout-agreement.field.choice {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    background: #f9fafb !important;
    border: 1px solid #e8e8e8 !important;
    border-radius: 10px !important;
    padding: 12px 14px !important;
    margin-bottom: 10px !important;
}

.checkout-index-index .checkout-agreement.field.choice input[type="checkbox"] {
    accent-color: #e67e22 !important;
    width: 18px !important;
    height: 18px !important;
    margin: 2px 0 0 0 !important;
}

.checkout-index-index .checkout-agreement.field.choice .label {
    margin: 0 !important;
    color: #003060 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    font-weight: 500 !important;
    cursor: pointer !important;
}

/* Buttons */
.checkout-index-index .action.primary,
.checkout-index-index button.action.primary,
.checkout-index-index .action.checkout,
.checkout-index-index button.action.checkout {
    background: #e67e22 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 30px !important;
    padding: 14px 38px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background 0.3s ease, transform 0.2s ease !important;
}

.checkout-index-index .action.primary:hover,
.checkout-index-index button.action.primary:hover,
.checkout-index-index .action.checkout:hover,
.checkout-index-index button.action.checkout:hover {
    background: #d35400 !important;
    transform: translateY(-2px) !important;
}

.checkout-index-index .action-update,
.checkout-index-index .action.action-cancel,
.checkout-index-index .action-edit-address {
    background: transparent !important;
    color: #003060 !important;
    border: 2px solid #003060 !important;
    border-radius: 30px !important;
    padding: 10px 22px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background 0.3s ease, color 0.3s ease !important;
}

.checkout-index-index .action-update:hover,
.checkout-index-index .action.action-cancel:hover,
.checkout-index-index .action-edit-address:hover {
    background: #003060 !important;
    color: #fff !important;
}

/* Order summary sidebar */
.checkout-index-index .opc-block-summary {
    background: #fff !important;
    border: 1px solid #e8e8e8 !important;
    border-radius: 16px !important;
    padding: 24px !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05) !important;
    margin: 0 !important;
}

.checkout-index-index .opc-block-summary > .title {
    font-size: 20px !important;
    margin-bottom: 14px !important;
    border-bottom: 2px solid #e67e22 !important;
    padding-bottom: 10px !important;
    display: block !important;
}

.checkout-index-index .opc-block-summary .table-totals {
    width: 100% !important;
    border: none !important;
    font-size: 14px !important;
}

.checkout-index-index .opc-block-summary .table-totals tbody tr td,
.checkout-index-index .opc-block-summary .table-totals tbody tr th {
    border: none !important;
    padding: 6px 0 !important;
    color: #003060 !important;
}

.checkout-index-index .opc-block-summary .table-totals .grand.totals {
    border-top: 1px solid #e8e8e8 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
}

.checkout-index-index .opc-block-summary .table-totals .grand.totals td,
.checkout-index-index .opc-block-summary .table-totals .grand.totals th {
    padding-top: 12px !important;
    color: #003060 !important;
    font-weight: 700 !important;
}

.checkout-index-index .minicart-items-wrapper {
    border: 1px solid #e8e8e8 !important;
    border-radius: 10px !important;
    padding: 8px 12px !important;
    background: #fafbfc !important;
    max-height: 300px !important;
}

.checkout-index-index .opc-block-summary .items-in-cart > .title {
    border: none !important;
    padding: 8px 0 !important;
    color: #003060 !important;
    font-weight: 600 !important;
}

/* Shipping info sidebar */
.checkout-index-index .opc-block-shipping-information {
    margin: 16px 0 0 0 !important;
    padding: 0 !important;
}

.checkout-index-index .opc-block-shipping-information .shipping-information {
    background: #fff !important;
    border: 1px solid #e8e8e8 !important;
    border-radius: 16px !important;
    padding: 24px !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05) !important;
}

.checkout-index-index .opc-block-shipping-information .ship-to,
.checkout-index-index .opc-block-shipping-information .ship-via {
    margin: 0 !important;
}

.checkout-index-index .opc-block-shipping-information .ship-via {
    margin-top: 20px !important;
    padding-top: 20px !important;
    border-top: 1px solid #e8e8e8 !important;
}

.checkout-index-index .opc-block-shipping-information .shipping-information-title {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin: 0 0 12px 0 !important;
    padding: 0 !important;
    border: none !important;
    position: static !important;
    font-family: 'Grandstander', cursive, sans-serif !important;
    color: #003060 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

.checkout-index-index .opc-block-shipping-information .shipping-information-title > span {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

.checkout-index-index .opc-block-shipping-information .shipping-information-title .action-edit {
    position: static !important;
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 4px 12px !important;
    background: #fff !important;
    color: #003060 !important;
    border: 1px solid #d0d5dd !important;
    border-radius: 20px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease !important;
}

.checkout-index-index .opc-block-shipping-information .shipping-information-title .action-edit:before,
.checkout-index-index .opc-block-shipping-information .shipping-information-title .action-edit:after {
    display: none !important;
    content: none !important;
}

.checkout-index-index .opc-block-shipping-information .shipping-information-title .action-edit:hover {
    background: #003060 !important;
    border-color: #003060 !important;
    color: #fff !important;
}

.checkout-index-index .opc-block-shipping-information .shipping-information-title .action-edit > span {
    position: static !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    overflow: visible !important;
    clip: auto !important;
    white-space: nowrap !important;
}

.checkout-index-index .opc-block-shipping-information .shipping-information-content {
    background: #fafbfc !important;
    border: 1px solid #e8e8e8 !important;
    border-radius: 10px !important;
    padding: 12px 14px !important;
    color: #003060 !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
}

.checkout-index-index .opc-block-shipping-information .shipping-information-content .value {
    display: block !important;
    color: #003060 !important;
    font-weight: 600 !important;
}

.checkout-index-index .opc-block-shipping-information .shipping-information-content a {
    color: #e67e22 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

.checkout-index-index .opc-block-shipping-information .shipping-information-content a:hover {
    color: #d35400 !important;
    text-decoration: underline !important;
}

/* Coupon / discount in summary */
.checkout-index-index .opc-payment-additional,
.checkout-index-index .payment-option.discount-code {
    margin-top: 16px !important;
    border: none !important;
    padding: 0 !important;
}

.checkout-index-index .payment-option.discount-code .payment-option-title {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.checkout-index-index .payment-option.discount-code .payment-option-title .action-toggle,
.checkout-index-index .payment-option.discount-code .payment-option-title > span {
    display: inline-block !important;
    background: transparent !important;
    color: #003060 !important;
    border: 2px solid #003060 !important;
    border-radius: 30px !important;
    padding: 12px 28px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: background 0.3s ease, color 0.3s ease !important;
    font-family: 'Open Sans', sans-serif !important;
}

.checkout-index-index .payment-option.discount-code .payment-option-title .action-toggle:hover,
.checkout-index-index .payment-option.discount-code .payment-option-title > span:hover {
    background: #003060 !important;
    color: #fff !important;
}

.checkout-index-index .payment-option.discount-code .payment-option-title .action-toggle:after {
    display: none !important;
}

.checkout-index-index .payment-option.discount-code._active .payment-option-title .action-toggle,
.checkout-index-index .payment-option.discount-code._active .payment-option-title > span {
    background: #003060 !important;
    color: #fff !important;
}

.checkout-index-index .payment-option.discount-code .payment-option-content {
    padding: 16px 0 0 0 !important;
}

.checkout-index-index .payment-option.discount-code .form-discount .actions-toolbar {
    margin-top: 12px !important;
}

.checkout-index-index .payment-option.discount-code .form-discount .action.action-apply {
    background: #e67e22 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 30px !important;
    padding: 12px 28px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background 0.3s ease, transform 0.2s ease !important;
}

.checkout-index-index .payment-option.discount-code .form-discount .action.action-apply:hover {
    background: #d35400 !important;
    transform: translateY(-2px) !important;
}

.checkout-index-index .payment-option.discount-code .form-discount .action.action-cancel {
    background: transparent !important;
    color: #003060 !important;
    border: 2px solid #003060 !important;
}

/* Authentication / login link */
.checkout-index-index .authentication-wrapper {
    text-align: right !important;
    max-width: 1280px !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    margin-bottom: 8px !important;
    float: none !important;
}

.checkout-index-index .authentication-wrapper .action-auth-toggle {
    background: transparent !important;
    color: #e67e22 !important;
    border: 2px solid #e67e22 !important;
    border-radius: 30px !important;
    padding: 8px 18px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: background 0.3s ease, color 0.3s ease !important;
}

.checkout-index-index .authentication-wrapper .action-auth-toggle:hover {
    background: #e67e22 !important;
    color: #fff !important;
}

/* Login-Kasten (custom Modal) standardmäßig verstecken – nur der "Anmelden"-
   Toggle bleibt oben sichtbar. Ohne diese Regel rendert das Theme das Modal
   mangels Magento-Modal-CSS dauerhaft aufgeklappt am Seitenanfang.
   Das kontextbezogene Login (Passwort-Feld unter dem E-Mail-Feld) erscheint
   weiterhin automatisch, sobald die E-Mail zu einem Konto gehört. */
.checkout-index-index .authentication-wrapper .modal-custom:not(._show) {
    display: none !important;
    visibility: hidden !important;
}

/* Beim Aufklappen als Dropdown-Panel unter dem Toggle anzeigen */
.checkout-index-index .authentication-wrapper {
    position: relative !important;
}

.checkout-index-index .authentication-wrapper .modal-custom._show {
    display: block !important;
    position: absolute !important;
    top: calc(100% + 8px) !important;
    right: 0 !important;
    left: auto !important;
    z-index: 100 !important;
    width: 380px !important;
    max-width: 92vw !important;
    text-align: left !important;
}

.checkout-index-index .authentication-wrapper .modal-custom._show .modal-inner-wrap {
    background: #fff !important;
    border: 1px solid #e8e8e8 !important;
    border-radius: 16px !important;
    box-shadow: 0 12px 36px rgba(0,0,0,0.18) !important;
    padding: 24px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    transform: none !important;
}

.checkout-index-index .authentication-wrapper .modal-custom._show .modal-header {
    padding: 0 !important;
    text-align: right !important;
}

.checkout-index-index .authentication-wrapper .modal-custom._show .modal-content {
    padding: 8px 0 0 0 !important;
    overflow: hidden !important;
}

/* Inhalt des Login-Dropdowns auf Panelbreite begrenzen (kein Überlauf nach rechts) */
.checkout-index-index .authentication-wrapper .modal-custom._show .block-authentication,
.checkout-index-index .authentication-wrapper .modal-custom._show .block-customer-login,
.checkout-index-index .authentication-wrapper .modal-custom._show .block-content,
.checkout-index-index .authentication-wrapper .modal-custom._show form,
.checkout-index-index .authentication-wrapper .modal-custom._show .fieldset,
.checkout-index-index .authentication-wrapper .modal-custom._show .field,
.checkout-index-index .authentication-wrapper .modal-custom._show .control {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
}

.checkout-index-index .authentication-wrapper .modal-custom._show input.input-text {
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Fix label "Tooltip" leak (Magento default form-element tooltip wrapper) */
.checkout-index-index .field-tooltip .label {
    display: none !important;
}

/* Hinweis: Der frühere Workaround, der den "Zahlungspflichtig bestellen"-Button
   deaktivierte, solange das Rechnungsadress-Formular sichtbar war, wurde entfernt.
   Die Rechnungsadresse wird jetzt automatisch übernommen (billing-address-mixin),
   daher darf der Button nicht mehr anhand der Formular-Sichtbarkeit blockiert werden. */

/* Hide all modal-popups (e.g. checkout-agreements full text) until activated */
.checkout-index-index .modals-wrapper aside.modal-popup:not(._show),
.checkout-index-index .modals-wrapper aside.modal-slide:not(._show),
.checkout-index-index aside.modal-popup:not(._show),
.checkout-index-index aside.modal-slide:not(._show) {
    display: none !important;
    visibility: hidden !important;
}

/* Some agreement popups render outside the modal-wrapper – hide their content too */
.checkout-index-index #checkout-agreements-modal,
.checkout-index-index .checkout-agreements-item-content {
    display: none !important;
}

.checkout-index-index aside.modal-popup._show #checkout-agreements-modal,
.checkout-index-index aside.modal-popup._show .checkout-agreements-item-content {
    display: block !important;
}

/* Responsive */
@media (max-width: 900px) {
    .checkout-index-index .checkout-container {
        flex-direction: column !important;
    }
    .checkout-index-index .opc-sidebar,
    .checkout-index-index .opc-summary-wrapper {
        position: static !important;
        width: 100% !important;
        flex: 1 1 100% !important;
    }
    .checkout-index-index .opc-progress-bar {
        gap: 24px !important;
    }
}

@media (max-width: 600px) {
    .checkout-index-index .opc > li {
        padding: 20px 18px !important;
    }
    .checkout-index-index .opc-block-summary {
        padding: 18px !important;
    }
    .checkout-index-index .opc-progress-bar {
        gap: 16px !important;
    }
    .checkout-index-index .opc-progress-bar-item {
        font-size: 12px !important;
    }
}

/* Authentication-Popup: Als Gast bestellen */
.block-authentication .action-guest-checkout {
    display: inline-block;
}
.block-authentication .block-new-customer .secondary {
    margin-top: 10px;
}
.block-authentication .block-new-customer .action-register {
    font-size: 14px;
    color: #003060;
    text-decoration: underline;
}
.block-authentication .ktm-guest-hint {
    margin: 10px 0 0;
    font-size: 13px;
    color: #777;
}

/* Kontextbezogener Login unter dem E-Mail-Feld: hervorgehobener Kasten,
   sobald die eingegebene E-Mail zu einem bestehenden Kundenkonto gehört.
   Greift sowohl beim Standard-Template (.hidden-fields) als auch beim
   Theme-Override (.ktm-login-prompt). Das Ein-/Ausblenden übernimmt Magento
   selbst (dimVisible bzw. fadeVisible), daher hier kein eigener Toggle. */
.checkout-index-index .form-login .fieldset.hidden-fields {
    margin: 14px 0 4px 0 !important;
    padding: 18px 18px 6px 18px !important;
    background: #fff8f0 !important;
    border: 1px solid #f0c9a0 !important;
    border-left: 4px solid #e67e22 !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
}

.checkout-index-index .form-login .fieldset.hidden-fields .ktm-login-prompt__hint,
.checkout-index-index .form-login .fieldset.hidden-fields .note {
    margin: 4px 0 14px 0 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    color: #003060 !important;
}

.checkout-index-index .form-login .fieldset.hidden-fields .actions-toolbar {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
    margin: 4px 0 12px 0 !important;
}

.checkout-index-index .form-login .fieldset.hidden-fields .actions-toolbar .primary,
.checkout-index-index .form-login .fieldset.hidden-fields .actions-toolbar .secondary {
    margin: 0 !important;
}

.checkout-index-index .form-login .fieldset.hidden-fields .action.login.primary {
    background: #e67e22 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 30px !important;
    padding: 10px 24px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: background 0.3s ease !important;
}

.checkout-index-index .form-login .fieldset.hidden-fields .action.login.primary:hover {
    background: #cf6f1c !important;
}

.checkout-index-index .form-login .fieldset.hidden-fields .action.remind {
    color: #e67e22 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
}

/* ============================================
   CHECKOUT ERFOLGSSEITE (checkout/onepage/success)
   Eigener Content-Container, da das Theme .page-main
   nur pro Seitentyp zentriert/polstert.
   ============================================ */

.checkout-onepage-success .page-main {
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
}

.checkout-onepage-success .columns,
.checkout-onepage-success .column.main {
    width: 100% !important;
    float: none !important;
}

/* Inhaltskarte um die Bestellbestätigung */
.checkout-onepage-success .checkout-success {
    max-width: 720px;
    margin: 30px auto 40px;
    padding: 30px 35px;
    background: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 48, 96, 0.06);
    box-sizing: border-box;
}

/* Seitentitel zentriert über der Karte */
.checkout-onepage-success .page-title-wrapper {
    max-width: 720px;
    margin: 30px auto 0;
    padding: 0 35px;
    text-align: center;
}

.checkout-onepage-success .page-title {
    color: #003060;
}

.checkout-onepage-success .checkout-success > p {
    margin: 0 0 14px;
    line-height: 1.6;
    color: #333;
}

.checkout-onepage-success .checkout-success .order-number,
.checkout-onepage-success .checkout-success strong {
    color: #003060;
}

/* Abstände zwischen den Aktionsbereichen (Weiter einkaufen / Konto erstellen) */
.checkout-onepage-success .actions-toolbar {
    margin-top: 22px;
    margin-bottom: 8px;
}

.checkout-onepage-success .checkout-success .form.create.account {
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid #eee;
}

@media (max-width: 767px) {
    .checkout-onepage-success .checkout-success {
        margin: 20px auto 30px;
        padding: 22px 18px;
    }
    .checkout-onepage-success .page-title-wrapper {
        padding: 0 18px;
    }
}

/* ============================================
   BESTELLBESTÄTIGUNG – KONTO-ERSTELLEN-BEREICH
   (Magento_Checkout::registration.html, überschrieben)
   ============================================ */

.checkout-onepage-success #registration {
    max-width: 720px;
    margin: 0 auto 40px;
    padding: 0 35px;
    box-sizing: border-box;
}

/* Magentos Standard-<br> im Registrierungsblock entfernen */
.checkout-onepage-success #registration > br {
    display: none;
}

.ktm-registration__card {
    background: #ffffff;
    border: 1px solid #e6e6e6;
    border-top: 4px solid #e67e22;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 48, 96, 0.06);
    padding: 26px 30px 30px;
    box-sizing: border-box;
}

.ktm-registration__title {
    margin: 0 0 12px;
    color: #003060;
    font-family: 'Grandstander', 'Open Sans', sans-serif;
    font-size: 22px;
    line-height: 1.25;
}

.ktm-registration__lead {
    margin: 0 0 16px;
    color: #333333;
    line-height: 1.6;
}

.ktm-registration__lead strong {
    color: #003060;
}

.ktm-registration__benefits {
    list-style: none !important;
    margin: 0 0 18px !important;
    padding: 0 !important;
}

.ktm-registration__benefits li {
    position: relative;
    margin: 0 0 8px !important;
    padding: 0 0 0 30px !important;
    list-style: none !important;
    color: #333333;
    line-height: 1.5;
}

.ktm-registration__benefits li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #e67e22;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'></polyline></svg>");
    background-repeat: no-repeat;
    background-position: center;
}

.ktm-registration__email {
    margin: 0 0 20px;
    padding: 12px 16px;
    background: #f6f8fb;
    border-radius: 8px;
    color: #333333;
}

.ktm-registration__email span {
    color: #666666;
}

.ktm-registration__email strong {
    color: #003060;
}

.ktm-registration__actions {
    margin: 0;
}

.checkout-onepage-success .ktm-registration__btn {
    display: inline-block;
}

@media (max-width: 767px) {
    .checkout-onepage-success #registration {
        padding: 0 18px;
    }
    .ktm-registration__card {
        padding: 22px 18px 24px;
    }
}

/* ============================================
   CHECKOUT – RECHNUNGSADRESSE WIRD AUTOMATISCH ÜBERNOMMEN
   Der separate "Aktualisieren"/"Abbrechen"-Schritt entfällt.
   Buttons nur ausblenden, wenn der Auto-Übernahme-Mixin aktiv ist
   (Fallback: ohne JS bleiben die Buttons sichtbar).
   ============================================ */

.ktm-auto-billing .checkout-billing-address .actions-toolbar {
    display: none !important;
}

/* ============================================
   ERFOLGSMELDUNG ("... zum Warenkorb hinzugefügt")
   Markenkonform (Blau/Orange) und deutlich auffälliger
   ============================================ */

.messages .message.success,
.messages .message-success {
    position: relative !important;
    margin: 0 auto 20px !important;
    max-width: 1280px !important;
    padding: 16px 20px 16px 56px !important;
    background: #fff4e8 !important;
    border: 1px solid #f0c39a !important;
    border-left: 6px solid #e67e22 !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 14px rgba(0, 48, 96, 0.10) !important;
    color: #003060 !important;
    font-family: 'Open Sans', sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
}

/* Markeneigenes Häkchen-Icon statt des Standard-Symbols */
.messages .message.success > *:first-child:before,
.messages .message-success > *:first-child:before {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 16px !important;
    transform: translateY(-50%) !important;
    width: 26px !important;
    height: 26px !important;
    margin: 0 !important;
    border-radius: 50% !important;
    background-color: #e67e22 !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'></polyline></svg>") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    color: transparent !important;
    font-size: 0 !important;
}

/* Links innerhalb der Meldung (z. B. "Warenkorb") hervorheben */
.messages .message.success a,
.messages .message-success a {
    color: #e67e22 !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
}

.messages .message.success a:hover,
.messages .message-success a:hover {
    color: #003060 !important;
}

/* Kurzes Einblenden, damit die Meldung wahrgenommen wird */
.messages .message.success,
.messages .message-success {
    animation: ktmMessageIn 0.4s ease;
}

@keyframes ktmMessageIn {
    0%   { opacity: 0; transform: translateY(-8px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ============================================
   KUNDENBEREICH (Mein Konto) – Layout-Überarbeitung
   Gilt für alle eingeloggten Account-Seiten (body.account)
   ============================================ */

.account .page-main {
    padding-top: 26px !important;
    padding-bottom: 48px !important;
}

/* Optionaler Seitentitel, falls vorhanden */
.account .page-title-wrapper {
    margin-bottom: 18px;
}

.account .page-title-wrapper .page-title {
    font-family: 'Grandstander', 'Open Sans', sans-serif;
    color: #003060;
}

/* ---------- Linke Navigation "Mein Konto" ---------- */
.block-collapsible-nav {
    background: #ffffff !important;
    border: 1px solid #e8e8e8 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    margin-bottom: 16px !important;
    position: static !important;
}

.block-collapsible-nav .title {
    background: #003060 !important;
    padding: 12px 16px !important;
    margin: 0 !important;
    border: none !important;
}

.block-collapsible-nav .title strong {
    font-family: 'Grandstander', cursive, sans-serif !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
}

.block-collapsible-nav .content {
    background: #ffffff !important;
    padding: 8px 0 !important;
    border: none !important;
}

.block-collapsible-nav .nav.items {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.block-collapsible-nav .nav.item {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.block-collapsible-nav .nav.item::before,
.block-collapsible-nav .nav.item::marker {
    content: none !important;
    display: none !important;
}

.block-collapsible-nav .nav.item > a,
.block-collapsible-nav .nav.item > strong {
    display: block !important;
    padding: 10px 16px !important;
    color: #333333 !important;
    font-family: 'Open Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border-left: 3px solid transparent !important;
    transition: background 0.2s ease, color 0.2s ease !important;
}

.block-collapsible-nav .nav.item > a:hover {
    background: #fff4e8 !important;
    color: #e67e22 !important;
}

.block-collapsible-nav .nav.item.current a,
.block-collapsible-nav .nav.item.current strong {
    border-left: 3px solid #e67e22 !important;
    background: #fff4e8 !important;
    color: #003060 !important;
    font-weight: 700 !important;
}

/* ---------- Hauptbereich: Karten ---------- */
.account .column.main .block,
.customer-address-index .column.main .block,
.sales-order-view .column.main .block {
    background: #ffffff !important;
    border: 1px solid #e8e8e8 !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 8px rgba(0, 48, 96, 0.05) !important;
    padding: 22px 26px !important;
    margin-bottom: 22px !important;
}

.account .column.main .block > .block-title,
.account .column.main .legend,
.account .column.main .order-title {
    border-bottom: 2px solid #f0f0f0 !important;
    margin: 0 0 18px !important;
    padding: 0 0 12px !important;
    display: flex !important;
    align-items: baseline !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 6px 14px !important;
}

.account .column.main .block > .block-title > strong,
.account .column.main .block > .block-title > span,
.account .column.main .legend > span,
.account .column.main .order-title > strong {
    font-family: 'Grandstander', 'Open Sans', sans-serif !important;
    color: #003060 !important;
    font-size: 22px !important;
    font-weight: 600 !important;
}

/* "Alle anzeigen" / "Adressen verwalten" neben den Titeln */
.account .column.main .block > .block-title > .action,
.account .column.main .order-title > .action {
    color: #e67e22 !important;
    font-family: 'Open Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.account .column.main .block > .block-title > .action:hover {
    color: #003060 !important;
    text-decoration: underline !important;
}

/* ---------- Info-/Adress-Boxen ---------- */
.account .block-dashboard-info .block-content,
.account .block-dashboard-addresses .block-content,
.customer-address-index .block-addresses-list .items.addresses {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
    gap: 18px !important;
}

.account .box,
.customer-address-index .block-addresses-list .items.addresses > li {
    background: #f8fafc !important;
    border: 1px solid #eef1f5 !important;
    border-radius: 8px !important;
    padding: 16px 18px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.account .box-title,
.account .box-title span {
    display: block !important;
    color: #003060 !important;
    font-family: 'Open Sans', sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
}

.account .box-content,
.account .box-content p,
.account .box-content address {
    color: #444444 !important;
    line-height: 1.6 !important;
    font-style: normal !important;
}

.account .box-actions {
    margin-top: 12px !important;
    display: flex !important;
    gap: 14px !important;
    flex-wrap: wrap !important;
}

.account .box-actions a,
.account .box-actions .action {
    color: #e67e22 !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    text-decoration: none !important;
}

.account .box-actions a:hover {
    color: #003060 !important;
    text-decoration: underline !important;
}

/* ---------- Tabellen (Bestellungen, Downloads, Adressen) ---------- */
.account .table-wrapper,
.sales-order-history .table-wrapper,
.downloadable-customer-products .table-wrapper {
    border: none !important;
    margin: 0 !important;
    overflow-x: auto !important;
}

.account table.data.table,
.sales-order-history table.data.table,
.downloadable-customer-products table.data.table {
    width: 100% !important;
    border-collapse: collapse !important;
    border: 1px solid #eef1f5 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}

.account table.data.table thead th,
.sales-order-history table.data.table thead th {
    background: #003060 !important;
    color: #ffffff !important;
    padding: 12px 14px !important;
    font-family: 'Open Sans', sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-align: left !important;
    border: none !important;
}

.account table.data.table tbody td,
.sales-order-history table.data.table tbody td {
    padding: 12px 14px !important;
    border-bottom: 1px solid #eef1f5 !important;
    color: #333333 !important;
    font-size: 14px !important;
}

.account table.data.table tbody tr:nth-child(even) td {
    background: #fafbfc !important;
}

.account table.data.table tbody tr:hover td {
    background: #fff7f0 !important;
}

.account table.data.table .action,
.sales-order-history table.data.table .action {
    color: #e67e22 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.account table.data.table .action:hover {
    text-decoration: underline !important;
}

/* Statusanzeige in Bestellliste – NICHT die Spaltenzelle (.col.status)
   umformatieren, sonst bricht das Tabellenlayout. Nur Textauszeichnung. */
.account table.data.table td.col.status,
.sales-order-history table.data.table td.col.status {
    color: #b3500c !important;
    font-weight: 700 !important;
}

/* Tabellen-Caption ("Bestellungen" etc.) für Screenreader ausblenden */
.account table.data.table > caption.table-caption,
.account table.data.table > caption,
.sales-order-history table.data.table > caption,
.downloadable-customer-products table.data.table > caption {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    margin: -1px !important;
    padding: 0 !important;
    border: 0 !important;
}

/* ---------- Formulare (Konto/Adresse/Newsletter bearbeiten) ---------- */
.account .column.main .fieldset,
.account .column.main .form {
    max-width: 640px !important;
    margin: 0 !important;
}

.account .column.main .fieldset > .field > .label,
.account .column.main .fieldset > .fields > .field > .label {
    color: #003060 !important;
    font-family: 'Open Sans', sans-serif !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    margin-bottom: 6px !important;
}

.account .column.main .fieldset .field {
    margin-bottom: 16px !important;
}

.account .column.main input[type="text"],
.account .column.main input[type="email"],
.account .column.main input[type="password"],
.account .column.main input[type="tel"],
.account .column.main input[type="number"],
.account .column.main select,
.account .column.main textarea {
    width: 100% !important;
    max-width: 100% !important;
    padding: 11px 14px !important;
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    color: #333 !important;
    background: #fff !important;
    box-sizing: border-box !important;
    outline: none !important;
}

.account .column.main input:focus,
.account .column.main select:focus,
.account .column.main textarea:focus {
    border-color: #e67e22 !important;
}

/* ---------- Buttons / Aktionen ---------- */
.account .actions-toolbar {
    margin-top: 22px !important;
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    flex-wrap: wrap !important;
}

.account .actions-toolbar .primary .action.primary,
.account .column.main .action.save,
.account .column.main .action.primary {
    background: #e67e22 !important;
    border: 1px solid #e67e22 !important;
    border-radius: 999px !important;
    padding: 12px 26px !important;
    color: #ffffff !important;
    font-family: 'Open Sans', sans-serif !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
}

.account .actions-toolbar .primary .action.primary:hover,
.account .column.main .action.save:hover,
.account .column.main .action.primary:hover {
    background: #d35400 !important;
    border-color: #d35400 !important;
    color: #ffffff !important;
}

.account .actions-toolbar .secondary .action.back,
.account .actions-toolbar .secondary .action {
    color: #003060 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.account .actions-toolbar .secondary .action:hover {
    color: #e67e22 !important;
    text-decoration: underline !important;
}

/* Leere Zustände ("Sie haben noch keine Bestellungen ...") */
.account .column.main .message.info,
.account .column.main .empty {
    background: #f8fafc !important;
    border: 1px dashed #d7dee6 !important;
    border-radius: 8px !important;
    padding: 18px 20px !important;
    color: #555 !important;
}

/* ---------- 1-Spalten-Account-Seiten (Konto/Adresse/Passwort bearbeiten) ----------
   Diese Seiten haben kein Sidebar-Menü und waren volle Breite / linksbündig. */
.account.page-layout-1column .page-main {
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* Das ganze Formular als Karte (nicht die einzelnen Fieldsets, sonst
   "straddelt" die Legende den Rahmen und leere Fieldsets erzeugen Kästen) */
.account .column.main .form-edit-account,
.account .column.main .form.password,
.account .column.main .form-newsletter-manage,
.account .column.main .form-address-edit {
    background: #ffffff !important;
    border: 1px solid #e8e8e8 !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 8px rgba(0, 48, 96, 0.05) !important;
    padding: 24px 28px !important;
    margin: 0 0 22px !important;
}

.account .column.main .form-edit-account,
.account .column.main .form.password,
.account .column.main .form-newsletter-manage {
    max-width: 640px !important;
}

.account .column.main .form-address-edit {
    max-width: 780px !important;
}

/* Fieldsets innerhalb des Karten-Formulars randlos */
.account .column.main .form-edit-account .fieldset,
.account .column.main .form.password .fieldset,
.account .column.main .form-newsletter-manage .fieldset,
.account .column.main .form-address-edit .fieldset {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
}

/* Leere Zusatz-Fieldsets nicht als Block sichtbar */
.account .column.main .fieldset.additional_info:not(:has(.field)) {
    margin: 0 !important;
}

/* <br> direkt nach der Legende entfernt unnötigen Leerraum */
.account .column.main .fieldset > .legend + br {
    display: none !important;
}

/* Legende als sauberer Abschnittstitel im Karten-Formular */
.account .column.main .form-edit-account .legend,
.account .column.main .form.password .legend,
.account .column.main .form-newsletter-manage .legend,
.account .column.main .form-address-edit .legend {
    float: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Aktionen (Speichern/Zurück) im Karten-Formular oben abgesetzt */
.account .column.main .form-edit-account .actions-toolbar,
.account .column.main .form.password .actions-toolbar,
.account .column.main .form-newsletter-manage .actions-toolbar,
.account .column.main .form-address-edit .actions-toolbar {
    margin-top: 20px !important;
    padding-top: 18px !important;
    border-top: 1px solid #f0f0f0 !important;
}

/* ---------- Sidebar-Blocktitel mit Zähler ("0 Artikel") ---------- */
/* Magento-Utility "no-display" sicherstellen – das Theme definiert sie nicht,
   sonst erscheint z. B. "0 Artikel" als dunkler Text auf blauem Titel. */
.no-display {
    display: none !important;
}

.sidebar-main .block-title,
.sidebar-additional .block-title {
    display: flex !important;
    align-items: baseline !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
}

.sidebar-main .block-title .counter,
.sidebar-additional .block-title .counter {
    color: #ffd9b3 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}

/* ---------- Standardadressen im Adressbuch zweispaltig ---------- */
.customer-address-index .block-addresses-default .block-content {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
    gap: 18px !important;
}

.customer-address-index .block-addresses-default .box {
    background: #f8fafc !important;
    border: 1px solid #eef1f5 !important;
    border-radius: 8px !important;
    padding: 16px 18px !important;
    margin: 0 !important;
}

/* ---------- Bestelldetail-Ansicht ---------- */
/* Tab-Navigation ("Bestellte Artikel") ohne Aufzählungspunkte */
.account .order-links {
    list-style: none !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    border-bottom: 2px solid #eef1f5 !important;
}

.account .order-links .item {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.account .order-links .item::before {
    content: none !important;
}

.account .order-links .item strong,
.account .order-links .item a {
    display: inline-block !important;
    padding: 9px 18px !important;
    border-radius: 8px 8px 0 0 !important;
    font-family: 'Open Sans', sans-serif !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-decoration: none !important;
}

.account .order-links .item.current strong {
    background: #003060 !important;
    color: #ffffff !important;
}

.account .order-links .item a {
    background: #eef1f5 !important;
    color: #003060 !important;
}

.account .order-links .item a:hover {
    background: #fff4e8 !important;
    color: #e67e22 !important;
}

/* Mengen-/Optionslisten in Bestelltabellen ohne Aufzählungspunkte */
.account .order-details-items .items-qty,
.account .order-details-items .item-options,
.account table.data.table .items-qty {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.account .order-details-items .items-qty .item {
    list-style: none !important;
    margin: 0 !important;
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
    .account .column.main .block {
        padding: 18px 16px !important;
    }
    .customer-address-index .block-addresses-default .block-content {
        grid-template-columns: 1fr !important;
    }
    .account .block-dashboard-info .block-content,
    .account .block-dashboard-addresses .block-content,
    .customer-address-index .block-addresses-list .items.addresses {
        grid-template-columns: 1fr !important;
    }
}

/* ---------- Aktions-Banderole (Produkte mit Sonderpreis) ---------- */
.product-item .product-item-photo {
    position: relative;
    display: block;
    overflow: hidden;
}
.km-aktion-ribbon {
    position: absolute;
    top: 16px;
    right: -46px;
    z-index: 5;
    width: 170px;
    transform: rotate(45deg);
    background: #d62828;
    color: #fff !important;
    font-family: 'Grandstander', 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.6;
    padding: 4px 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    pointer-events: none;
}
@media (max-width: 767px) {
    .km-aktion-ribbon {
        top: 12px;
        right: -50px;
        width: 160px;
        font-size: 12px;
    }
}
