/* ALEONN Webster Shop CSS */
:root {
    --aleonn-primary: #0088a9;
    --aleonn-secondary: #7B326E;
    --aleonn-gradient: linear-gradient(135deg, #0088a9 0%, #7B326E 100%);
    --aleonn-light: #f8f9fa;
    --aleonn-dark: #2c3e50;
    --aleonn-text: #333;
    --aleonn-muted: #6c757d;
    --aleonn-border: #dee2e6;
    --aleonn-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    --aleonn-shadow-hover: 0 15px 40px rgba(0, 136, 169, 0.2);
}

/* --- HERO SECTION: exakt wie auf index.tpl (aleonn-main.css) --- */
.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(71, 138, 201, 0.9) 0%, rgba(44, 62, 80, 0.9) 100%), url('/site/images/javea-beach-background-aleonn.jpg') center/cover;
}
.hero-section .container {
    position: relative;
    z-index: 2;
}
.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}
.text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-section .hero-image img {
    max-width: 400px;
    border-radius: 0;
    box-shadow: none;
    background: none;
    padding: 0;
}
.hero-section .lead, .hero-section p {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 2rem;
}
.hero-section .hero-buttons {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 18px;
}
.aleonn-btn-beirat {
    padding: 13px 32px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(.4,0,.2,1);
    background: transparent;
    color: #fff !important;
    border: 2px solid #fff;
    box-shadow: none;
    display: inline-block;
    text-align: center;
    outline: none;
}
.aleonn-btn-beirat:hover, .aleonn-btn-beirat:focus {
    background: #fff;
    color: #7B326E !important;
    border-color: #fff;
    box-shadow: 0 4px 24px rgba(123,50,110,0.10);
    text-decoration: none;
}
@media (max-width: 991px) {
    .hero-section {
        min-height: 420px;
        padding: 40px 0 30px 0;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
}
@media (max-width: 767px) {
    .hero-section {
        min-height: 320px;
        padding: 30px 0 20px 0;
    }
    .hero-content h1 {
        font-size: 1.3rem;
    }
    .hero-section .hero-buttons {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
}
@media (max-width: 767px) {
  .hero-section .hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .hero-section .hero-image img {
    max-width: 200px !important;
    margin: 0 auto !important;
    display: block !important;
  }
}
.hero-shapes .shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}
.hero-shapes .shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}
.hero-shapes .shape-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 5%;
    animation-delay: 2s;
}
.hero-shapes .shape-3 {
    width: 80px;
    height: 80px;
    top: 60%;
    right: 20%;
    animation-delay: 4s;
}
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Warenkorb-Icon ist jetzt im Menü integriert - alte Styles entfernt */

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--aleonn-secondary);
    margin-bottom: 1rem;
}

/* Reseller Info Section */
.reseller-card {
    background: white;
    border: 1px solid var(--aleonn-border);
    transition: all 0.3s ease;
}

.reseller-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--aleonn-shadow);
}

/* Category Filters */
.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-bottom: 30px;
}

.category-filter-btn {
    background: white;
    border: 2px solid var(--aleonn-primary);
    color: var(--aleonn-primary);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font-size: 1rem;
}

.category-filter-btn:hover,
.category-filter-btn.active {
    background: var(--aleonn-gradient);
    color: white;
    border-color: var(--aleonn-primary);
    transform: translateY(-2px);
    box-shadow: var(--aleonn-shadow);
}

.category-filter-btn i {
    margin-right: 8px;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--aleonn-shadow);
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--aleonn-shadow-hover);
}

/* Produktbilder: immer 360px hoch, keine anderen heights */
.product-image {
    position: relative;
    overflow: hidden;
    height: 360px !important;
    background: var(--aleonn-light);
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (max-width: 991px) {
    .product-image { height: 360px !important; }
}
@media (max-width: 767px) {
    .product-image { height: 360px !important; }
}
@media (max-width: 576px) {
    .product-image { height: 360px !important; }
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    padding: 10px;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 136, 169, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
}

.product-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.product-title a {
    color: var(--aleonn-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-title a:hover {
    color: var(--aleonn-secondary);
}

.product-description {
    color: var(--aleonn-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.5;
    flex-grow: 1;
}

.product-price {
    margin-bottom: 15px;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--aleonn-secondary);
}

/* Kompakte Icon-Buttons für Produktaktionen */
.product-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
}
/* Reset Button Styles für Produktaktionen */
.product-actions .btn {
    all: unset;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    background: none;
    color: var(--aleonn-secondary);
    margin: 0 6px 0 0;
    padding: 0;
    min-width: 44px;
    min-height: 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: background 0.18s, color 0.18s;
}
.product-actions .btn:last-child { margin-right: 0; }
.product-actions .btn:hover, .product-actions .btn:focus {
    background: var(--aleonn-secondary);
    color: #fff;
}

/* Tooltip für Buttons */
.product-actions .btn[title]:hover::after, .product-actions .btn[title]:focus::after {
    content: attr(title);
    position: absolute;
    bottom: -36px;
    left: 50%;
    transform: translateX(-50%);
    background: #222;
    color: #fff;
    font-size: 0.85rem;
    padding: 4px 10px;
    border-radius: 6px;
    white-space: nowrap;
    z-index: 10;
    opacity: 1;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.13);
}
.product-actions .btn[title]::after {
    opacity: 0;
    transition: opacity 0.2s;
}

/* Special styling for view button */
.btn-outline-primary {
    border: 2px solid var(--aleonn-secondary);
    background: transparent;
    color: var(--aleonn-secondary);
    position: relative;
    z-index: 1;
}

.btn-outline-primary:hover {
    background: var(--aleonn-secondary);
    color: white;
    border-color: var(--aleonn-secondary);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(123, 50, 110, 0.3);
}

/* Special styling for cart button */
.btn-primary {
    background: var(--aleonn-gradient);
    border: none;
    color: white;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0, 136, 169, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 136, 169, 0.4);
    background: linear-gradient(135deg, #0099cc 0%, #8a4a7a 100%);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 136, 169, 0.3);
}



/* CTA Section */
.cta-section {
    position: relative;
    background-attachment: fixed;
}

.cta-buttons .btn {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* Shopping Cart Modal */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: var(--aleonn-shadow-hover);
}

.modal-header {
    background: var(--aleonn-gradient);
    color: white;
    border-bottom: none;
    border-radius: 15px 15px 0 0;
}

.modal-title {
    font-weight: 600;
}

.btn-close {
    filter: invert(1);
}

/* Cart Items */
.cart-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--aleonn-border);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
    margin-right: 15px;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-content {
    flex-grow: 1;
}

.cart-item-title {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--aleonn-text);
}

.cart-item-price {
    color: var(--aleonn-secondary);
    font-weight: 600;
}

.cart-item-quantity {
    background: var(--aleonn-light);
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: 600;
    color: var(--aleonn-secondary);
    margin-left: 15px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 992px) {
    .section-title {
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .category-filters {
        gap: 10px;
    }
    
    .category-filter-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 15px;
    }
    
    .category-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .category-filter-btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .product-image {
        height: 220px;
    }
    
    .product-content {
        padding: 15px;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .product-actions .btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-image {
        height: 160px;
    }
    
    .modal-dialog {
        margin: 10px;
    }
    .product-actions {
        gap: 6px;
    }
    .product-actions .btn {
        min-width: 38px;
        min-height: 38px;
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.toast {
    background: white;
    border-radius: 10px;
    box-shadow: var(--aleonn-shadow-hover);
    border-left: 4px solid var(--aleonn-primary);
    margin-bottom: 10px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--aleonn-muted);
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus States for Accessibility */
.btn:focus,
.category-filter-btn:focus {
    outline: 2px solid var(--aleonn-secondary);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .hero-section,
    .category-section,
    .cta-section,
    .modal {
        display: none !important;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .product-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
} 

/* Produkt-Button-Container */
.product-action-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 18px;
}

/* Runde Outline-Buttons */
.product-action-btn {
  width: 48px;
  height: 48px;
  border: 2px solid #7B326E;
  border-radius: 50%;
  background: transparent;
  color: #7B326E;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: all 0.2s;
  position: relative;
  cursor: pointer;
  outline: none;
  box-shadow: none;
  padding: 0;
}

.product-action-btn:hover,
.product-action-btn:focus {
  background: #7B326E;
  color: #fff;
  border-color: #7B326E;
}

/* Tooltip */
.product-action-btn[data-tooltip]:hover::after,
.product-action-btn[data-tooltip]:focus::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -36px;
  left: 50%;
  transform: translateX(-50%);
  background: #7B326E;
  color: #fff;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.95rem;
  white-space: nowrap;
  z-index: 10;
  opacity: 1;
  pointer-events: none;
}
.product-action-btn::after {
  opacity: 0;
  transition: opacity 0.2s;
} 

.product-card,
.product-action-buttons {
  overflow: visible !important;
  position: relative;
}

.product-action-btn[data-tooltip]:hover::after,
.product-action-btn[data-tooltip]:focus::after {
  z-index: 100;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  font-size: 1rem;
  min-width: 90px;
  text-align: center;
} 

/* Erzwinge Outline-Style für Shop-Hero-Button wie auf index.tpl */
.aleonn-btn-beirat {
  background: transparent !important;
  color: #fff !important;
  border: 2px solid #fff !important;
  border-radius: 50px !important;
  text-transform: uppercase !important;
  padding: 13px 32px !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  box-shadow: none !important;
  outline: none !important;
  transition: all 0.3s cubic-bezier(.4,0,.2,1) !important;
}
.aleonn-btn-beirat:hover, .aleonn-btn-beirat:focus {
  background: #fff !important;
  color: #7B326E !important;
  border-color: #fff !important;
  box-shadow: 0 4px 24px rgba(123,50,110,0.10) !important;
  text-decoration: none !important;
} 