/* Amuuso B2B Shop - Complete CSS */

:root {
    /* Amuuso Brand Colors */
    --amuuso-red: #C42127;
    --amuuso-dark-red: #A01D22;
    --amuuso-header-dark: #2B2B2B;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --medium-gray: #E9ECEF;
    --border-gray: #DEE2E6;
    --text-dark: #212529;
    --text-gray: #6C757D;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.08);
    
    /* Transitions */
    --transition: 0.3s ease;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

/* Top Bar (Dark Header) */
.top-bar {
    background-color: var(--amuuso-header-dark);
    color: var(--white);
    /* Slimmer height like shop.amuuso.com */
    padding: 0.25rem 0;
    font-size: 0.8rem;
}

.top-bar .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
}

.top-bar a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity var(--transition);
}

.top-bar a:hover {
    opacity: 1;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    padding: 0; /* reduce vertical space */
}

.language-switcher a {
    padding: 0.25rem 0.5rem; /* slimmer buttons */
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: opacity var(--transition);
    border: none;
    min-width: 0;
    text-align: center;
}

.language-switcher a:hover {
    background-color: transparent;
    border-color: transparent;
    transform: none;
    text-decoration: underline;
}

.language-switcher a.active {
    background-color: transparent;
    border-color: transparent;
    font-weight: 700;
    box-shadow: none;
    text-decoration: underline;
}

/* Header */
.shop-header {
    background: var(--white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.shop-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.shop-logo {
    height: 50px;
    width: auto;
    max-width: 180px;
}

/* Search Bar in Header */
.header-search {
    flex: 1;
    max-width: 600px;
    display: flex;
}

/* Live search wrapper to allow absolute-positioned dropdown */
.header-search-input-wrap {
    position: relative;
    flex: 1;
}

.header-search input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-gray);
    border-right: none;
    border-radius: 4px 0 0 4px;
    font-size: 0.95rem;
}

.header-search input:focus {
    outline: none;
    border-color: var(--amuuso-red);
}

.header-search button {
    padding: 0.75rem 1.5rem;
    background: var(--amuuso-red);
    color: var(--white);
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-search button:hover {
    background: var(--amuuso-dark-red);
}

/* Suggestions dropdown */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--border-gray);
    border-top: none;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    z-index: 2000;
    max-height: 360px;
    overflow-y: auto;
}

.search-suggestions .suggestion-item {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    padding: 0.5rem 0.75rem;
    text-decoration: none;
    color: inherit;
}

.search-suggestions .suggestion-item:hover {
    background: #f8f9fa;
}

.search-suggestions .suggestion-item img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
    background: #fff;
}

.search-suggestions .suggestion-text {
    display: flex;
    flex-direction: column;
}

.search-suggestions .suggestion-title {
    font-size: 0.9rem;
    font-weight: 600;
}

.search-suggestions .suggestion-meta {
    font-size: 0.8rem;
    color: #6c757d;
}

.cart-icon {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    height: 50px;
    background: var(--amuuso-red);
    color: var(--white);
    border-radius: 4px;
    text-decoration: none;
    transition: background var(--transition);
    font-size: 0.9rem;
    flex-shrink: 0;
    position: relative;
}

.cart-icon:hover {
    background: var(--amuuso-dark-red);
}

.cart-icon svg {
    flex-shrink: 0;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--amuuso-dark-red);
    color: var(--white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.cart-info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    font-size: 0.85rem;
    line-height: 1.2;
}

.cart-count-text {
    font-weight: 600;
    color: var(--white);
    opacity: 0.9;
}

.cart-price-text {
    font-weight: 700;
    color: var(--white);
    font-size: 1rem;
    opacity: 1;
}

/* Main Navigation */
.main-nav {
    background: var(--amuuso-red);
    padding: 0;
}

.main-nav .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.shop-nav {
    display: flex;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.shop-nav a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background var(--transition);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.shop-nav a:last-child {
    border-right: none;
}

.shop-nav a:hover {
    background: var(--amuuso-dark-red);
}

/* Main Content */
.shop-main {
    padding: 2rem 0 3rem;
    background: var(--white);
}

/* Welcome Message */
.welcome-message {
    background: linear-gradient(135deg, #90D99F 0%, #7BC886 100%);
    padding: 3rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    color: var(--white);
    text-align: center;
}

.welcome-message h2 {
    margin-bottom: 0.5rem;
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
}

.welcome-message p {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* Filters */
.shop-filters {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 4px;
    margin-bottom: 2rem;
    border: 1px solid var(--border-gray);
}

.search-form {
    display: flex;
    gap: 1rem;
    align-items: stretch;
}

.search-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    font-size: 0.95rem;
    transition: border-color var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--amuuso-red);
}

.category-select {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    font-size: 0.95rem;
    min-width: 200px;
    cursor: pointer;
    background: var(--white);
}

.category-select:focus {
    outline: none;
    border-color: var(--amuuso-red);
}

.search-button {
    padding: 0.75rem 2rem;
    background: var(--amuuso-red);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition);
    text-transform: uppercase;
}

.search-button:hover {
    background: var(--amuuso-dark-red);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
    max-width: 100%;
}

/* Product Card */
.product-card {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    overflow: hidden;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.product-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform var(--transition);
}

.product-image a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.product-image a:hover img {
    transform: scale(1.05);
}

.product-image a:hover .no-image {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
}

.no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-gray);
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Product Labels */
.product-labels {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 2;
    pointer-events: none;
}

.product-label {
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-md);
}

/* Product Info */
.product-info {
    padding: 1.25rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: var(--white);
}

.product-title {
    margin-bottom: 0.75rem;
}

.product-title a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color var(--transition);
}

.product-title a:hover {
    color: var(--amuuso-red);
}

.product-meta {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-gray);
}

.product-brand {
    font-weight: 600;
    color: #495057;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.product-code {
    font-family: 'Courier New', monospace;
    font-weight: 400;
    color: #495057;
    font-size: 0.8rem;
}

.product-adviesprijs {
    color: #6c757d;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.product-price {
    margin-top: auto;
    padding-top: 0.75rem;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    display: block;
}

.price-no-access {
    font-size: 1rem;
    color: var(--text-gray);
    font-style: italic;
}

.product-actions {
    margin-top: 0.75rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.65rem 1.5rem;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    width: 100%;
    text-transform: capitalize;
}

.btn-primary {
    background: var(--amuuso-red);
    color: var(--white);
    border: 2px solid var(--amuuso-red);
    font-weight: 600;
}

.btn-primary:hover {
    background: var(--amuuso-dark-red);
    border-color: var(--amuuso-dark-red);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--white);
}

.btn.primary {
    background: var(--amuuso-red);
    color: var(--white);
}

.btn.primary:hover {
    background: var(--amuuso-dark-red);
}

.btn.secondary {
    background: var(--white);
    color: var(--text-dark);
    border: 1px solid var(--border-gray);
}

.btn.secondary:hover {
    background: var(--light-gray);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
}

.pagination-link {
    padding: 0.5rem 1rem;
    background: var(--white);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid var(--border-gray);
    transition: all var(--transition);
    font-size: 0.9rem;
}

.pagination-link:hover {
    background: var(--amuuso-red);
    color: var(--white);
    border-color: var(--amuuso-red);
}

.pagination-info {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Footer */
.shop-footer {
    background: var(--amuuso-red);
    color: var(--white);
    padding: 3rem 0;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

/* Column 1: Logo */
.footer-logo {
    align-items: flex-start;
}

.footer-logo-img {
    max-width: 150px;
    height: auto;
    filter: brightness(0) invert(1); /* Make logo white */
}

/* Column 2: Company Information */
.footer-company {
    align-items: flex-start;
}

.footer-company-name {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-company-address {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--white);
}

/* Column 3: Navigation */
.footer-nav {
    align-items: flex-start;
}

.footer-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.95rem;
    transition: opacity 0.2s ease;
}

.footer-nav-links a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Footer Bottom Row (Copyright & Legal) */
.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.footer-copyright {
    margin: 0;
    font-size: 0.9rem;
    color: var(--white);
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.footer-legal-links a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-legal-links a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.footer-separator {
    color: var(--white);
    opacity: 0.6;
}

/* Responsive Footer */
@media (max-width: 968px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-logo,
    .footer-company,
    .footer-nav {
        align-items: center;
    }
    
    .footer-nav-links {
        align-items: center;
    }
    
    .footer-bottom {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }
}

.shop-footer p {
    margin: 0;
    font-size: 0.9rem;
}

/* Legal Pages Styling */
.legal-page {
    padding: 2rem 0 4rem;
}

.legal-page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 2rem 0 3rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.legal-page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: var(--amuuso-red);
    border-radius: 2px;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-section {
    background: var(--white);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-gray);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition);
}

.legal-section:hover {
    box-shadow: var(--shadow-md);
}

.legal-section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--amuuso-red);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--amuuso-red);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legal-section-title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--amuuso-red);
    border-radius: 2px;
    flex-shrink: 0;
}

.legal-section p {
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--amuuso-red);
    margin-bottom: 0;
}

.company-info {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--amuuso-red);
}

.company-info p {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.company-info p:last-child {
    margin-bottom: 0;
}

.company-info strong {
    color: var(--amuuso-red);
    font-weight: 600;
}

.legal-section ul {
    margin: 1rem 0 1.5rem 1.5rem;
    padding-left: 0;
    list-style: none;
}

.legal-section ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.legal-section ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--amuuso-red);
    font-weight: bold;
    font-size: 1.2rem;
}

.legal-section ul li strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Breadcrumb improvements for legal pages */
.legal-page .breadcrumb {
    margin-bottom: 2rem;
    padding: 0.75rem 1rem;
    background: var(--light-gray);
    border-radius: 6px;
}

.legal-page .breadcrumb-current {
    color: var(--text-dark);
    font-weight: 500;
}

/* Responsive Legal Pages */
@media (max-width: 768px) {
    .legal-page-title {
        font-size: 2rem;
        margin: 1.5rem 0 2rem;
    }
    
    .legal-section {
        padding: 1.5rem;
    }
    
    .legal-section-title {
        font-size: 1.25rem;
    }
    
    .legal-intro {
        font-size: 1rem;
        padding: 1.25rem;
    }
}

/* No Products */
.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--text-gray);
}

/* Login Page */
.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: var(--light-gray);
}

.login-container {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 450px;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header h1,
.login-header h2 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.75rem;
}

.login-header .shop-logo {
    height: 60px;
    width: auto;
    max-width: 250px;
    margin-bottom: 1.5rem;
}

.login-header .language-switcher {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.login-header .language-switcher a {
    padding: 0.75rem 1.5rem;
    background: #f8f9fa;
    color: #495057 !important;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all var(--transition);
    border: 2px solid transparent;
    min-width: 3rem;
    text-align: center;
    display: inline-block;
}

.login-header .language-switcher a:hover {
    background: #e9ecef;
    color: #212529;
    border-color: #dee2e6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.login-header .language-switcher a.active {
    background: #C42127 !important;
    color: #ffffff !important;
    border-color: #C42127 !important;
    box-shadow: 0 4px 12px rgba(196, 33, 39, 0.3);
}

.login-form-card {
    text-align: left;
}

.login-form-card p {
    margin-bottom: 1.5rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* Request Access Form - Two Column Layout */
.request-access-form {
    width: 100%;
}

.form-row-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-column {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    font-size: 0.95rem;
    font-family: inherit;
    resize: vertical;
    transition: border-color var(--transition);
    min-height: 120px;
}

.form-group textarea:focus {
    outline: none;
    border-color: var(--amuuso-red);
}

.form-group .required {
    color: var(--amuuso-red);
    font-weight: 600;
}

.privacy-checkbox {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.privacy-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--amuuso-red);
}

.privacy-checkbox label {
    font-size: 0.95rem;
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .form-row-two-column {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .request-access-title {
        font-size: 1.5rem !important;
    }
    
    .login-container {
        max-width: 100% !important;
        padding: 1.5rem !important;
    }
}

.form-group {
    margin-bottom: 1.25rem;
    text-align: left;
}

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

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    font-size: 0.95rem;
    transition: border-color var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--amuuso-red);
}

.message {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.message.success {
    background-color: #D1FAE5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.message.error {
    background-color: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

.message a {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1400px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 900px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .shop-header .container {
        flex-wrap: wrap;
    }
    
    .header-search {
        order: 3;
        flex-basis: 100%;
        max-width: 100%;
    }
    
    .shop-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .shop-nav a {
        padding: 0.75rem 1.5rem;
        font-size: 0.85rem;
    }
    
    /* Hide cart info text on smaller screens, show only icon and badge */
    .cart-info {
        display: none;
    }
    
    .cart-icon {
        padding: 0.5rem;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .product-image {
        height: 240px;
    }
    
    .search-form {
        flex-direction: column;
    }
    
    .category-select {
        width: 100%;
    }
    
    .welcome-message {
        padding: 2rem 1.5rem;
    }
    
    .welcome-message h2 {
        font-size: 1.5rem;
    }
    
    .top-bar .container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
}

/* Product Detail Page Styles */
.product-detail {
    margin: 2rem 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Product Images */
.product-images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main-image {
    position: relative;
    width: 100%;
    height: 500px;
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    transition: transform var(--transition);
}

.main-image:hover img {
    transform: scale(1.02);
}

.additional-images {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding: 0.5rem 0;
}

.thumb-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border: 2px solid var(--border-gray);
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color var(--transition);
}

.thumb-image:hover {
    border-color: var(--amuuso-red);
}

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

/* Product Brand */
.product-brand {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
    font-weight: 500;
}

/* Product Availability */
.product-availability {
    margin-bottom: 1.5rem;
}

.availability-in-stock {
    color: #28a745;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.availability-out-of-stock {
    color: #dc3545;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Product Identifiers */
.product-identifiers {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 8px;
    border-left: 4px solid var(--amuuso-red);
}

.identifier-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0;
}

.identifier-item:last-child {
    margin-bottom: 0;
}

.identifier-label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.identifier-value {
    color: var(--text-gray);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Order Button */
.order-button {
    width: 100%;
    margin-top: 1rem;
    font-size: 1.2rem;
    padding: 1.2rem 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Product Details Tabs */
.product-details-tabs {
    margin-top: 3rem;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.tab-navigation {
    display: flex;
    background: var(--light-gray);
    border-bottom: 2px solid var(--border-gray);
}

.tab-button {
    flex: 1;
    padding: 1rem 2rem;
    background: transparent;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-gray);
    cursor: pointer;
    transition: all var(--transition);
    border-bottom: 3px solid transparent;
}

.tab-button:hover {
    background: var(--white);
    color: var(--text-dark);
}

.tab-button.active {
    background: var(--white);
    color: var(--amuuso-red);
    border-bottom-color: var(--amuuso-red);
}

.tab-content {
    padding: 2rem;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.tab-panel .product-description {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
}

.tab-panel .product-description p {
    line-height: 1.7;
    color: var(--text-dark);
    font-size: 1rem;
}

.tab-panel .product-specs {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
}

.tab-panel .product-specs h3 {
    display: none;
}

.tab-panel .specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.tab-panel .spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 6px;
    border-left: 3px solid var(--amuuso-red);
}

.tab-panel .spec-label {
    font-weight: 600;
    color: var(--text-dark);
}

.tab-panel .spec-value {
    color: var(--text-gray);
    font-weight: 500;
}

/* Product Info - Unified Container (Product Detail Page) */
.product-detail .product-info {
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 12px;
    border: 1px solid var(--border-gray);
    box-shadow: var(--shadow-sm);
}

.product-detail .product-info .product-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.product-detail .product-brand {
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: normal;
}

.product-detail .product-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--amuuso-red);
    margin-bottom: 1.5rem;
    line-height: 1;
    margin-top: 0;
    padding-top: 0;
}

.product-detail .product-price .price {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

.product-detail .product-availability {
    margin-bottom: 1.5rem;
}

.product-detail .availability-in-stock {
    color: #28a745;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.product-detail .availability-out-of-stock {
    color: #dc3545;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.product-detail .product-identifiers {
    margin-bottom: 2rem;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
}

.product-detail .identifier-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    padding: 0.25rem 0;
    font-size: 0.9rem;
}

.product-detail .identifier-item:last-child {
    margin-bottom: 0;
}

.product-detail .identifier-label {
    font-weight: 500;
    color: var(--text-dark);
}

.product-detail .identifier-value {
    color: var(--text-gray);
    font-weight: 500;
}

.product-detail .add-to-cart-form {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
}

.product-detail .quantity-selector {
    margin-bottom: 1.5rem;
}

.product-detail .quantity-selector label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.product-detail .quantity-input {
    display: flex;
    align-items: center;
    gap: 0;
    width: fit-content;
    border: 2px solid var(--border-gray);
    border-radius: 8px;
    overflow: hidden;
    background: var(--white);
}

.product-detail .quantity-input button {
    background: var(--amuuso-red);
    color: var(--white);
    border: none;
    padding: 0.75rem 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color var(--transition);
    min-width: 50px;
}

.product-detail .quantity-input button:hover {
    background: var(--amuuso-dark-red);
}

.product-detail .quantity-input input {
    border: none;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    min-width: 80px;
    background: var(--white);
    color: var(--text-dark);
}

.product-detail .quantity-input input:focus {
    outline: none;
    background: var(--light-gray);
}

.product-detail .order-button {
    width: 100%;
    margin-top: 0;
    font-size: 1.3rem;
    padding: 1.2rem 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
}

/* Main Categories Hero Section */
.main-categories-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 3rem 0;
}

.hero-category-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: center;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition), box-shadow var(--transition);
}

.hero-category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.toys-card {
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
    color: var(--white);
}

.swimming-card {
    background: linear-gradient(135deg, #2196F3 0%, #42A5F5 100%);
    color: var(--white);
}

.hero-content {
    flex: 1;
    z-index: 2;
    position: relative;
}

.hero-content h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.4;
}

.hero-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--white);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all var(--transition);
    box-shadow: var(--shadow-md);
}

.hero-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--text-dark);
}

.hero-image {
    position: absolute;
    right: 2rem;
    bottom: 0;
    width: 200px;
    height: 200px;
    z-index: 1;
    opacity: 0.8;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Subcategories Section */
.subcategories-section {
    margin: 4rem 0;
}

.subcategory-group {
    margin-bottom: 4rem;
}

.subcategory-group-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.subcategory-group-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--amuuso-red);
    border-radius: 2px;
}

.subcategories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.subcategory-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid var(--border-gray);
}

.subcategory-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.subcategory-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.subcategory-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

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

.subcategory-name {
    padding: 1rem 1.5rem 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    margin: 0;
}

.subcategory-button {
    display: block;
    padding: 0.75rem 1.5rem;
    margin: 0 1.5rem 1.5rem;
    background: var(--amuuso-red);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: background-color var(--transition);
}

.subcategory-button:hover {
    background: var(--amuuso-dark-red);
    color: var(--white);
}

/* Brands Section */
.brands-section {
    margin: 3rem 0 4rem;
}

.brands-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
    text-align: left;
    position: relative;
    padding-bottom: 1rem;
}

.brands-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--amuuso-red), var(--amuuso-dark-red));
    border-radius: 2px;
}

.brands-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.75rem;
    margin-top: 1rem;
}

.brand-letter-group {
    break-inside: avoid;
    page-break-inside: avoid;
}

.brand-letter-card {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 12px;
    padding: 1.5rem 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.brand-letter-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    border-color: var(--amuuso-red);
}

.brand-letter-header {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--amuuso-red);
    margin-bottom: 1.25rem;
    margin-top: 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--amuuso-red);
    position: relative;
    display: inline-block;
    min-width: 40px;
    text-align: center;
}

.brand-letter-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--amuuso-red), transparent);
}

.brand-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.brand-item {
    margin: 0;
    padding: 0;
}

.brand-link {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 0.85rem;
    border-radius: 8px;
    background: var(--light-gray);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.brand-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--amuuso-red);
    transform: scaleY(0);
    transition: transform 0.2s ease;
}

.brand-link:hover {
    background: #fff5f5;
    border-color: var(--amuuso-red);
    color: var(--amuuso-red);
    transform: translateX(4px);
    box-shadow: 0 2px 6px rgba(196, 33, 39, 0.1);
}

.brand-link:hover::before {
    transform: scaleY(1);
}

.brand-link:hover .brand-name {
    color: var(--amuuso-red);
}

.brand-link:hover .brand-arrow {
    opacity: 1;
    transform: translateX(4px);
}

.brand-name {
    flex: 1;
    transition: color 0.2s ease;
}

.brand-arrow {
    opacity: 0;
    transition: all 0.2s ease;
    color: var(--amuuso-red);
    margin-left: 0.5rem;
    flex-shrink: 0;
}

/* Responsive Brands Page */
@media (min-width: 1400px) {
    .brands-grid-container {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .brands-grid-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .brands-grid-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.75rem;
    }
    
    .brand-letter-card {
        padding: 1.25rem 1rem;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .brands-grid-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .brand-letter-card {
        padding: 1.25rem 1rem;
    }
}

@media (max-width: 767px) {
    .brands-section {
        margin: 2rem 0 3rem;
    }
    
    .brands-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .brands-title::after {
        width: 60px;
        height: 3px;
    }
    
    .brands-grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .brand-letter-card {
        padding: 1.25rem 1rem;
    }
    
    .brand-letter-header {
        font-size: 1.5rem;
        margin-bottom: 1rem;
        padding-bottom: 0.6rem;
    }
    
    .brand-link {
        font-size: 0.875rem;
        padding: 0.55rem 0.75rem;
    }
}

@media (max-width: 480px) {
    .brands-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
    
    .brands-grid-container {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .brand-letter-card {
        padding: 1.25rem 1rem;
    }
    
    .brand-letter-header {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    .brand-link {
        font-size: 0.85rem;
        padding: 0.5rem 0.7rem;
    }
    
    .brand-arrow {
        width: 14px;
        height: 14px;
    }
}

/* Account Layout with Sidebar */
.account-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.account-sidebar {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 12px;
    padding: 1.5rem 0;
    height: fit-content;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.account-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.account-nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    position: relative;
}

.account-nav-item svg {
    flex-shrink: 0;
    color: var(--text-gray);
    transition: color 0.2s ease;
}

.account-nav-item:hover {
    background: var(--light-gray);
    color: var(--amuuso-red);
    border-left-color: var(--amuuso-red);
}

.account-nav-item:hover svg {
    color: var(--amuuso-red);
}

.account-nav-item.active {
    background: #fff5f5;
    color: var(--amuuso-red);
    border-left-color: var(--amuuso-red);
    font-weight: 600;
}

.account-nav-item.active svg {
    color: var(--amuuso-red);
}

.account-content {
    min-width: 0;
}

.account-page-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.account-card {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Form Styles */
.password-form {
    max-width: 500px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: var(--white);
}

.form-input:focus {
    outline: none;
    border-color: var(--amuuso-red);
    box-shadow: 0 0 0 3px rgba(196, 33, 39, 0.1);
}

.form-help {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-gray);
}

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    text-align: center;
}

.btn-primary {
    background: var(--amuuso-red);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--amuuso-dark-red);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(196, 33, 39, 0.3);
}

.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Responsive Account Layout */
@media (max-width: 992px) {
    .account-layout {
        grid-template-columns: 200px 1fr;
        gap: 1.5rem;
    }
    
    .account-sidebar {
        padding: 1.25rem 0;
    }
    
    .account-nav-item {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .account-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .account-sidebar {
        order: 2;
    }
    
    .account-content {
        order: 1;
    }
    
    .account-nav {
        flex-direction: row;
        overflow-x: auto;
        padding: 0 1rem;
        -webkit-overflow-scrolling: touch;
    }
    
    .account-nav-item {
        white-space: nowrap;
        border-left: none;
        border-bottom: 3px solid transparent;
        padding: 0.75rem 1rem;
    }
    
    .account-nav-item.active {
        border-left: none;
        border-bottom-color: var(--amuuso-red);
    }
    
    .account-nav-item:hover {
        border-left-color: transparent;
        border-bottom-color: var(--amuuso-red);
    }
    
    .account-page-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
    
    .account-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .account-card {
        padding: 1.25rem;
    }
    
    .password-form {
        max-width: 100%;
    }
    
    .form-group {
        margin-bottom: 1.25rem;
    }
}

/* Page Header Styles */
.page-header {
    text-align: center;
    margin: 3rem 0;
    padding: 2rem 0;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.page-description {
    font-size: 1.3rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Breadcrumb Styles */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 2rem 0;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.breadcrumb a {
    color: var(--amuuso-red);
    text-decoration: none;
    transition: color var(--transition);
}

.breadcrumb a:hover {
    color: var(--amuuso-dark-red);
}

.breadcrumb span {
    color: var(--text-gray);
}

/* Back to Home Button */
.back-to-home {
    text-align: center;
    margin: 3rem 0;
}

.back-to-home .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
}

/* Professional Welcome Message */
.welcome-message {
    background: linear-gradient(135deg, var(--amuuso-red) 0%, var(--amuuso-dark-red) 100%);
    color: var(--white);
    padding: 3rem 2rem;
    border-radius: 16px;
    margin: 2rem 0;
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.welcome-message::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: welcomeGlow 6s ease-in-out infinite;
}

@keyframes welcomeGlow {
    0%, 100% { transform: rotate(0deg) scale(1); opacity: 0.3; }
    50% { transform: rotate(180deg) scale(1.1); opacity: 0.6; }
}

.welcome-content {
    position: relative;
    z-index: 2;
}

.welcome-message h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.welcome-message p {
    font-size: 1.3rem;
    opacity: 0.95;
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
}

/* Featured Products Section */
.featured-products-section {
    margin: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
}

.section-header h3::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--amuuso-red);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* View All Products Button */
.view-all-products {
    text-align: center;
    margin-top: 3rem;
}

.view-all-products .btn {
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-info .product-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.product-code {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    padding: 0.75rem 1rem;
    background: var(--light-gray);
    border-radius: 6px;
    border-left: 4px solid var(--amuuso-red);
}

.product-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--amuuso-red);
    margin-bottom: 2rem;
}

/* Product Description */
.product-description {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 8px;
    border-left: 4px solid var(--amuuso-red);
}

.product-description h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.product-description p {
    line-height: 1.7;
    color: var(--text-dark);
}

/* Product Specifications */
.product-specs {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 8px;
}

.product-specs h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    border-bottom: 2px solid var(--amuuso-red);
    padding-bottom: 0.5rem;
}

.specs-grid {
    display: grid;
    gap: 1rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--light-gray);
    border-radius: 6px;
    border-left: 3px solid var(--amuuso-red);
}

.spec-label {
    font-weight: 600;
    color: var(--text-dark);
}

.spec-value {
    color: var(--text-gray);
    font-weight: 500;
}

/* Add to Cart Form */
.add-to-cart-form {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.quantity-selector {
    margin-bottom: 2rem;
}

.quantity-selector label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.quantity-input {
    display: flex;
    align-items: center;
    gap: 0;
    width: fit-content;
    border: 2px solid var(--border-gray);
    border-radius: 8px;
    overflow: hidden;
}

.quantity-input button {
    background: var(--amuuso-red);
    color: var(--white);
    border: none;
    padding: 0.75rem 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color var(--transition);
    min-width: 50px;
}

.quantity-input button:hover {
    background: var(--amuuso-dark-red);
}

.quantity-input input {
    border: none;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    min-width: 80px;
    background: var(--white);
    color: var(--text-dark);
}

.quantity-input input:focus {
    outline: none;
    background: var(--light-gray);
}

.add-to-cart-form .btn {
    margin-right: 1rem;
    margin-bottom: 1rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Alert Messages */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-success i {
    color: #28a745;
}

/* Related Products */
.related-products {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-gray);
}

.related-products h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-dark);
    text-align: center;
}

/* Breadcrumb */
.breadcrumb {
    margin-bottom: 2rem;
    padding: 1rem 0;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.breadcrumb a {
    color: var(--amuuso-red);
    text-decoration: none;
    transition: color var(--transition);
}

.breadcrumb a:hover {
    color: var(--amuuso-dark-red);
}

.breadcrumb span {
    margin: 0 0.5rem;
    color: var(--text-gray);
}

/* Responsive Design for Product Detail */
@media (max-width: 768px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .main-image {
        height: 400px;
    }
    
    .product-info .product-title {
        font-size: 1.6rem;
    }
    
    .product-price {
        font-size: 1.5rem;
    }
    
    .add-to-cart-form {
        padding: 1.5rem;
    }
    
    .quantity-input {
        width: 100%;
        justify-content: center;
    }
    
    /* Main Categories Hero - Mobile */
    .main-categories-hero {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem 0;
    }
    
    .hero-category-card {
        min-height: 250px;
        padding: 1.5rem;
    }
    
    .hero-content h3 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-image {
        width: 150px;
        height: 150px;
        right: 1rem;
    }
    
    /* Subcategories - Mobile */
    .subcategories-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .subcategory-group-title {
        font-size: 1.5rem;
    }
    
    .subcategory-image {
        height: 150px;
    }
    
    .subcategory-name {
        font-size: 1rem;
        padding: 0.75rem 1rem 0.25rem;
    }
    
    .subcategory-button {
        padding: 0.5rem 1rem;
        margin: 0 1rem 1rem;
        font-size: 0.9rem;
    }
    
    /* Page Header - Mobile */
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-description {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .breadcrumb {
        margin: 1rem 0;
        padding: 0 1rem;
    }
    
    .back-to-home {
        margin: 2rem 0;
        padding: 0 1rem;
    }
    
    /* Welcome Message - Mobile */
    .welcome-message {
        padding: 2rem 1rem;
        margin: 1rem 0;
    }
    
    .welcome-message h2 {
        font-size: 2rem;
    }
    
    .welcome-message p {
        font-size: 1.1rem;
    }
    
    /* Featured Products - Mobile */
    .section-header h3 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .featured-products-section {
        margin: 2rem 0;
    }
    
    .view-all-products .btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    }
    
    .add-to-cart-form .btn {
        width: 100%;
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }

/* Hero Section Styles */
.hero-sections-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.hero-section {
    display: flex;
    align-items: center;
    min-height: 400px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.toys-hero {
    background: linear-gradient(135deg, #a8e6cf 0%, #88d8a3 100%);
}

.swimming-hero {
    background: linear-gradient(135deg, #87ceeb 0%, #5dade2 100%);
}

.hero-content {
    flex: 1;
    padding: 3rem;
    z-index: 2;
    position: relative;
}

.hero-brand {
    margin-bottom: 1rem;
}

.hero-logo {
    height: 40px;
    width: auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.2rem;
    color: #34495e;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.hero-button {
    display: inline-block;
    background: rgba(44, 62, 80, 0.9);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-button:hover {
    background: #2c3e50;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: white;
    text-decoration: none;
}

.hero-image {
    flex: 1;
    position: relative;
    height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-main-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
}

/* Responsive Hero Section */
@media (max-width: 768px) {
    .hero-sections-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .hero-section {
        flex-direction: column;
        min-height: auto;
    }
    
    .hero-content {
        padding: 2rem 1.5rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-image {
        height: 250px;
        overflow: hidden;
    }
    
    .hero-main-image {
        max-width: 100%;
        max-height: 100%;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 1.5rem 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

/* Category Page Styles */
.category-header {
    margin-bottom: 2rem;
}

.category-header h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #dc3545;
    margin: 0;
}

.category-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.filters-sidebar {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    height: fit-content;
}

.filters-section {
    margin-bottom: 2rem;
}

.filters-section h3 {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #495057;
}

.active-filter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #e9ecef;
    padding: 0.5rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.remove-filter {
    color: #dc3545;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
}

.clear-all-filters {
    color: #6c757d;
    text-decoration: none;
    font-size: 0.9rem;
}

.filter-group {
    margin-bottom: 2rem;
}

.filter-title {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #495057;
    cursor: pointer;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-option a {
    color: #495057;
    text-decoration: none;
    padding: 0.25rem 0;
    display: block;
}

.filter-option a:hover,
.filter-option a.active {
    color: #dc3545;
    font-weight: bold;
}

.filter-option label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
}

.filter-option input[type="checkbox"] {
    margin: 0;
}

/* Price Range Filter */
.price-range-inputs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.price-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.price-input-group label {
    font-size: 0.85rem;
    color: #6C757D;
    font-weight: 500;
}

.price-input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    font-size: 0.9rem;
    transition: border-color var(--transition);
}

.price-input:focus {
    outline: none;
    border-color: var(--amuuso-red);
    box-shadow: 0 0 0 3px rgba(196, 33, 39, 0.1);
}

.btn-price-apply {
    padding: 0.6rem 1.2rem;
    background-color: var(--amuuso-red);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color var(--transition);
    margin-top: 0.5rem;
}

.btn-price-apply:hover {
    background-color: var(--amuuso-dark-red);
}

.btn-price-apply:active {
    transform: translateY(1px);
}

/* Price Range Slider Styles */
.price-range-slider-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.price-slider-wrapper {
    position: relative;
    width: 100%;
    height: 40px;
}

.price-slider-track {
    position: relative;
    width: 100%;
    height: 6px;
    background-color: #e0e0e0;
    border-radius: 3px;
    margin-top: 17px;
}

.price-slider-range {
    position: absolute;
    height: 6px;
    background-color: #007bff;
    border-radius: 3px;
    z-index: 1;
}

.price-slider-input {
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    outline: none;
    pointer-events: none;
    z-index: 2;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.price-slider-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #fff;
    border: 2px solid #007bff;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.price-slider-input::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #fff;
    border: 2px solid #007bff;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.price-slider-values {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.price-value-display {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
    position: relative;
}

.price-value-display label {
    font-size: 0.85rem;
    color: #6C757D;
    font-weight: 500;
}

.price-input-number {
    width: 100%;
    padding: 0.5rem;
    padding-right: 2rem;
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    font-size: 0.9rem;
    transition: border-color var(--transition);
}

.price-input-number:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.price-value-display .currency-symbol {
    position: absolute;
    right: 0.75rem;
    bottom: 0.5rem;
    color: #6C757D;
    font-size: 0.9rem;
}

/* Sort Dropdown */
.results-sort {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.results-sort label {
    font-size: 0.9rem;
    color: #495057;
    white-space: nowrap;
}

.sort-select {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    font-size: 0.9rem;
    background-color: var(--white);
    cursor: pointer;
    transition: border-color var(--transition);
    min-width: 180px;
}

.sort-select:focus {
    outline: none;
    border-color: var(--amuuso-red);
    box-shadow: 0 0 0 3px rgba(196, 33, 39, 0.1);
}

.sort-select:hover {
    border-color: var(--amuuso-red);
}

/* Breadcrumb Styling */
.breadcrumb {
    background: #f8f9fa;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    border-left: 4px solid var(--amuuso-red);
}

.breadcrumb a {
    color: var(--amuuso-red);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--amuuso-dark-red);
    text-decoration: underline;
}

.breadcrumb span {
    color: #6c757d;
    margin: 0 0.5rem;
}

/* Category Filter Styling */
.category-filter {
    background: #e3f2fd !important;
    border-left: 4px solid var(--amuuso-red);
    font-weight: 500;
}

.category-filter span {
    color: var(--amuuso-red);
}

.show-more-btn {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.show-more-btn:hover {
    background: #f8f9fa;
    color: #a01d22;
}

.additional-options {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid #e9ecef;
}

.products-content {
    min-height: 500px;
    max-width: 100%;
    overflow: hidden;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.results-info {
    font-weight: bold;
    color: #495057;
}

.results-controls {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.product-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0.75rem;
}

.product-code {
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: #495057;
}

.product-adviesprijs {
    font-size: 0.85rem;
    color: #6c757d;
}

.product-pricing {
    margin-bottom: 1rem;
}

.consumer-price {
    text-decoration: line-through;
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.adviesprijs {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
}

.current-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #dc3545;
    margin-top: 0.25rem;
}

.product-stock {
    margin-bottom: 0.75rem;
}

.stock-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stock-available {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.stock-unavailable {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.stock-backorder {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.order-btn.disabled {
    background: #ccc !important;
    color: #666 !important;
    cursor: not-allowed !important;
    opacity: 0.6;
}

.order-btn.disabled:hover {
    background: #ccc !important;
    cursor: not-allowed !important;
    transform: none !important;
}

.quantity-selector.disabled {
    opacity: 0.6;
    pointer-events: none;
}

.quantity-selector.disabled .qty-btn,
.quantity-selector.disabled .qty-input {
    cursor: not-allowed;
    background: #e9ecef;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
    justify-content: space-between;
    flex-wrap: nowrap;
}

.product-actions .quantity-selector {
    flex-shrink: 0;
}

.product-actions .order-btn {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid #ced4da;
    border-radius: 4px;
    overflow: hidden;
    background: var(--white);
    height: 36px;
}

.qty-btn {
    width: 32px;
    height: 36px;
    border: none;
    background: #f8f9fa;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: background var(--transition);
}

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

.qty-input {
    width: 45px;
    height: 36px;
    border: none;
    text-align: center;
    font-size: 0.9rem;
    background: var(--white);
}

.order-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 0 1rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    flex: 1;
    font-size: 0.9rem;
    height: 36px;
    transition: background var(--transition);
    white-space: nowrap;
}

.order-btn:hover {
    background: #c82333;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.page-link {
    padding: 0.5rem 0.75rem;
    border: 1px solid #dee2e6;
    color: #495057;
    text-decoration: none;
    border-radius: 4px;
}

.page-link:hover,
.page-link.active {
    background: #dc3545;
    color: white;
    border-color: #dc3545;
}

/* Responsive Category Layout */
@media (max-width: 1200px) {
    .category-layout {
        grid-template-columns: 200px 1fr;
        gap: 1.5rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 992px) {
    .category-layout {
        grid-template-columns: 180px 1fr;
        gap: 1rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .category-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .filters-sidebar {
        order: 2;
    }
    
    .products-content {
        order: 1;
    }
    
    .results-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .product-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .order-btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .category-header h1 {
        font-size: 2rem;
    }
    
    .filters-sidebar {
        padding: 1rem;
    }
}

/* Show More/Less Functionality */
.show-more-container {
    margin-top: 0.5rem;
}

.show-more-btn {
    background: none;
    border: none;
    color: var(--amuuso-red);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.5rem 0;
    transition: color var(--transition);
    text-decoration: underline;
}

.show-more-btn:hover {
    color: var(--amuuso-dark-red);
}

.additional-options {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

/* Cart Notification */
.cart-notification {
    position: fixed;
    top: 80px;
    right: 20px;
    background: var(--white);
    border: 2px solid var(--amuuso-red);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s ease;
    min-width: 300px;
}

.cart-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.notification-content svg {
    color: #28a745;
    flex-shrink: 0;
}

.notification-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.notification-text strong {
    color: var(--amuuso-red);
    font-size: 1rem;
}

.notification-text span {
    color: var(--text-gray);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .cart-notification {
        right: 10px;
        left: 10px;
        min-width: auto;
        transform: translateY(-100px);
    }
    
    .cart-notification.show {
        transform: translateY(0);
    }
}

/* Cart Page Styles */
.empty-cart-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    padding: 4rem 2rem;
}

.empty-cart {
    text-align: center;
    max-width: 500px;
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.empty-cart-icon {
    color: var(--text-gray);
    opacity: 0.3;
    margin-bottom: 2rem;
}

.empty-cart h2 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.empty-cart p {
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.btn-large {
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.continue-shopping-btn {
    background: var(--amuuso-red);
    color: var(--white);
    border: none;
    border-radius: 4px;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background var(--transition);
}

.continue-shopping-btn:hover {
    background: var(--amuuso-dark-red);
}

.cart-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
    margin-top: 2rem;
}

/* Cart Table Styles */
.cart-table-wrapper {
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    position: relative;
    /* Ensure horizontal scroll works on all screen sizes */
    max-width: 100%;
}

.cart-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.cart-table thead {
    background: var(--light-gray);
}

.cart-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-dark);
    border-bottom: 2px solid var(--border-gray);
    border-right: 1px solid var(--border-gray);
    font-size: 0.9rem;
    text-transform: uppercase;
    white-space: nowrap;
}

.cart-table th:first-child {
    min-width: 350px;
}

.cart-table th:nth-child(2) {
    min-width: 120px;
}

.cart-table th:nth-child(3) {
    min-width: 120px;
    text-align: center;
}

.cart-table th:nth-child(4) {
    min-width: 100px;
    text-align: right;
}

.cart-table th:nth-child(5) {
    min-width: 120px;
    text-align: right;
}

.cart-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-gray);
    border-right: 1px solid var(--border-gray);
    vertical-align: middle;
}

.cart-table td:last-child {
    border-right: none;
}

.cart-table th {
    border-right: 1px solid var(--border-gray);
}

.cart-table th:last-child {
    border-right: none;
}

/* Alternating row backgrounds for better separation */
.cart-table tbody tr:nth-child(even) {
    background-color: #fafafa;
}

.cart-table tbody tr:nth-child(odd) {
    background-color: var(--white);
}

.cart-row-exceeds-stock {
    background-color: #fef3c7 !important;
    border-left: 3px solid #f59e0b;
}

/* Ensure stock warning rows maintain their background */
.cart-table tbody tr.cart-row-exceeds-stock:nth-child(even) {
    background-color: #fef3c7;
}

.cart-table tbody tr.cart-row-exceeds-stock:nth-child(odd) {
    background-color: #fef3c7;
}

.stock-warning-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    padding: 4px 8px;
    background-color: #fffbeb;
    border: 1px solid #fcd34d;
    border-radius: 4px;
    font-size: 12px;
    color: #92400e;
}

.stock-warning-badge svg {
    flex-shrink: 0;
}

.stock-info-text {
    font-size: 11px;
    color: #f59e0b;
    margin-top: 4px;
}

.cart-row {
    transition: background-color var(--transition);
}

.cart-row:hover {
    background-color: var(--light-gray);
}

.cart-article {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-gray);
    min-width: 120px;
}

.remove-icon {
    background: none;
    border: none;
    color: var(--text-gray);
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    transition: color var(--transition);
}

.remove-icon:hover {
    color: var(--amuuso-red);
}

.cart-item-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 1rem;
    vertical-align: middle;
}

.cart-description {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 350px;
}

.cart-description-text {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.cart-product-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition);
}

.cart-product-link:hover {
    color: var(--amuuso-primary);
    text-decoration: underline;
}

.cart-quantity {
    text-align: center;
    min-width: 120px;
}

.cart-quantity .stock-info {
    font-size: 0.75rem;
    color: var(--text-gray);
    margin-top: 0.25rem;
    font-style: italic;
}

.quantity-control-inline {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    overflow: hidden;
}

.quantity-control-inline .qty-btn {
    width: 32px;
    height: 32px;
    background: var(--white);
    border: none;
    cursor: pointer;
    transition: background var(--transition);
    font-weight: 600;
    color: var(--text-dark);
}

.quantity-control-inline .qty-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
}

.quantity-control-inline .qty-btn:hover {
    background: var(--light-gray);
}

.qty-display {
    padding: 0 1rem;
    min-width: 40px;
    text-align: center;
    font-weight: 500;
}

.qty-input-inline {
    padding: 0 0.75rem;
    min-width: 60px;
    max-width: 80px;
    text-align: center;
    font-weight: 500;
    border: none;
    border-left: 1px solid var(--border-gray);
    border-right: 1px solid var(--border-gray);
    outline: none;
    cursor: text;
    background-color: var(--white);
    transition: all var(--transition);
}

.qty-input-inline:hover {
    background-color: #fafafa;
    border-left-color: var(--amuuso-red);
    border-right-color: var(--amuuso-red);
}

.qty-input-inline:focus {
    background-color: #fff;
    border-left-color: var(--amuuso-red);
    border-right-color: var(--amuuso-red);
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.qty-input-inline::-webkit-inner-spin-button,
.qty-input-inline::-webkit-outer-spin-button {
    opacity: 1;
    cursor: pointer;
}

/* Quantity helper info icon */
.quantity-header-helper {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 6px;
    position: relative;
    vertical-align: middle;
}

.quantity-header-helper-icon {
    width: 14px;
    height: 14px;
    color: var(--text-gray);
    cursor: help;
    transition: color var(--transition);
    flex-shrink: 0;
}

.quantity-header-helper-icon:hover {
    color: var(--amuuso-red);
}

.quantity-header-tooltip {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 8px;
    padding: 8px 12px;
    background: var(--text-dark);
    color: var(--white);
    font-size: 11px;
    white-space: nowrap;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
    z-index: 1000;
}

.quantity-header-tooltip::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-bottom-color: var(--text-dark);
}

.quantity-header-helper:hover .quantity-header-tooltip {
    opacity: 1;
}

/* Inline quantity helper (next to each input) */
.quantity-control-inline-wrapper,
.quantity-controls-wrapper,
.quantity-controls-list-wrapper,
.quantity-selector-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.quantity-helper-inline {
    display: inline-flex;
    align-items: center;
    position: relative;
    cursor: help;
}

.quantity-helper-inline-icon {
    width: 14px;
    height: 14px;
    color: var(--text-gray);
    transition: color var(--transition);
    flex-shrink: 0;
}

.quantity-helper-inline:hover .quantity-helper-inline-icon {
    color: var(--amuuso-red);
}

.quantity-tooltip-inline {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 8px;
    padding: 8px 12px;
    background: var(--text-dark);
    color: var(--white);
    font-size: 11px;
    white-space: nowrap;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
    z-index: 1000;
}

.quantity-tooltip-inline::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-bottom-color: var(--text-dark);
}

.quantity-helper-inline:hover .quantity-tooltip-inline {
    opacity: 1;
}

.cart-unit-price {
    text-align: right;
    font-weight: 500;
    min-width: 100px;
}

.cart-total-price {
    text-align: right;
    font-weight: 500;
    min-width: 120px;
    color: var(--amuuso-red);
    font-size: 1.1rem;
}

/* Cart Summary Styles */
.cart-summary-box {
    background: var(--white);
    border: 2px solid var(--amuuso-red);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    height: fit-content;
    position: sticky;
    top: 1rem;
}

.cart-summary-box h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--amuuso-red);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-gray);
    font-size: 1.2rem;
}

.summary-total-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--amuuso-red);
    text-transform: uppercase;
}

.summary-total-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--amuuso-red);
}

.checkout-btn {
    width: 100%;
    padding: 1rem;
    background: var(--amuuso-red);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition);
    text-align: center;
    text-decoration: none;
    display: block;
    margin-top: 1rem;
}

.checkout-btn:hover {
    background: var(--amuuso-dark-red);
}

@media (max-width: 992px) {
    .cart-content {
        grid-template-columns: 1fr;
    }
    
    .cart-summary-box {
        position: static;
    }
    
    .cart-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        /* Add subtle shadow to indicate scrollable content */
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    /* Visual indicator for scrollable content */
    .cart-table-wrapper::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 30px;
        height: 100%;
        background: linear-gradient(to left, rgba(255, 255, 255, 0.8), transparent);
        pointer-events: none;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .cart-table-wrapper.scrollable::after {
        opacity: 1;
    }
    
    .cart-table {
        min-width: 700px;
    }
    
    .cart-description {
        flex-wrap: wrap;
    }
    
    .cart-item-thumb {
        margin-bottom: 0.5rem;
    }
}

/* Ensure horizontal scroll on smaller screens too */
@media (max-width: 768px) {
    .cart-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .cart-table {
        min-width: 650px;
    }
}

/* Related Products Section */
.related-products-section {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 2px solid var(--border-gray);
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
    }
}

/* Orders Table */
.orders-table-wrapper {
    overflow-x: auto;
    margin-top: 2rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.orders-table thead {
    background: #C42127;
}

.orders-table th {
    padding: 1rem 1.25rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff !important;
    background: #C42127 !important;
    white-space: nowrap;
}

.orders-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e9ecef;
    color: #212529;
    background: #ffffff;
}

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

.orders-table tbody tr:hover {
    background: #f8f9fa;
}

.orders-table tbody tr:hover td {
    background: #f8f9fa;
}

@media (max-width: 768px) {
    .orders-table {
        font-size: 0.875rem;
    }
    
    .orders-table th,
    .orders-table td {
        padding: 0.75rem 0.75rem;
    }
}