/* ============================================
   ASPECT APP SHOP - DESIGN SYSTEM
   Schwarz-Weiß Farbpalette mit Grautönen
   ============================================ */

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    /* Primary Colors - Grayscale */
    --shop-primary-dark: #222831;
    --shop-primary-black: #000000;
    --shop-secondary-gray: #6c757d;
    --shop-secondary-dark: #495057;

    /* Backgrounds */
    --shop-bg-white: #ffffff;
    --shop-bg-light: #f8f9fa;
    --shop-bg-lighter: #e9ecef;

    /* Text */
    --shop-text-dark: #212529;
    --shop-text-muted: #6c757d;
    --shop-text-light: #adb5bd;

    /* Borders */
    --shop-border-default: #dee2e6;
    --shop-border-light: #e9ecef;

    /* Status Colors */
    --shop-success: #198754;
    --shop-danger: #dc3545;
    --shop-warning: #ffc107;

    /* Border Radius */
    --shop-radius-sm: 8px;
    --shop-radius-md: 12px;
    --shop-radius-lg: 16px;
    --shop-radius-xl: 20px;
    --shop-radius-pill: 50px;

    /* Shadows */
    --shop-shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shop-shadow-md: 0 2px 12px rgba(0,0,0,0.06);
    --shop-shadow-lg: 0 4px 20px rgba(0,0,0,0.08);
    --shop-shadow-xl: 0 6px 20px rgba(0,0,0,0.25);
    --shop-shadow-btn: 0 4px 12px rgba(0,0,0,0.15);
    --shop-shadow-btn-hover: 0 6px 20px rgba(0,0,0,0.25);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease-out;
}

.animate-fade-in-delay {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.animate-fade-in-delay-2 {
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-shop-cart {
    background: var(--shop-primary-dark);
    color: white;
    border: none;
    padding: 0.625rem 1.5rem;
    border-radius: var(--shop-radius-pill);
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shop-shadow-btn);
}

.btn-shop-cart:hover {
    background: var(--shop-primary-black);
    transform: translateY(-2px);
    box-shadow: var(--shop-shadow-btn-hover);
    color: white;
}

.btn-shop-admin {
    background: var(--shop-secondary-gray);
    color: white;
    border: 1px solid var(--shop-secondary-dark);
    padding: 0.625rem 1.5rem;
    border-radius: var(--shop-radius-pill);
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-shop-admin:hover {
    background: var(--shop-secondary-dark);
    border-color: #343a40;
    transform: translateY(-2px);
    color: white;
}

.btn-shop-primary {
    background: var(--shop-primary-dark);
    color: white;
    border: none;
    padding: 0.75rem 1.75rem;
    border-radius: var(--shop-radius-pill);
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shop-shadow-btn);
}

.btn-shop-primary:hover {
    background: var(--shop-primary-black);
    transform: translateY(-2px);
    box-shadow: var(--shop-shadow-btn-hover);
    color: white;
}

/* ============================================
   SHOP INDEX - PRODUCT CARDS
   ============================================ */
.product-card-modern {
    background: white;
    border-radius: var(--shop-radius-lg);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shop-shadow-sm);
    position: relative;
}

.product-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: var(--shop-shadow-md);
}

.product-image-container {
    position: relative;
    width: 100%;
    padding-top: 100%;
    background: linear-gradient(135deg, #f5f7fa 0%, var(--shop-bg-lighter) 100%);
    overflow: hidden;
}

.product-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card-modern:hover .product-image {
    transform: scale(1.08);
}

.product-no-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--shop-text-light);
    font-size: 3rem;
}

.product-no-image span {
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(34, 40, 49, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    gap: 0.5rem;
}

.product-card-modern:hover .product-overlay {
    opacity: 1;
}

.product-overlay i {
    font-size: 2rem;
}

.product-overlay span {
    font-weight: 600;
    font-size: 0.95rem;
}

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    padding: 0.375rem 0.75rem;
    border-radius: var(--shop-radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.badge-sold-out {
    background: rgba(220, 53, 69, 0.95);
    color: white;
}

.badge-limited {
    background: rgba(255, 193, 7, 0.95);
    color: #000;
}

.product-info {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.product-title a {
    color: var(--shop-text-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

.product-title a:hover {
    color: var(--shop-primary-dark);
}

.product-card-description {
    font-size: 0.875rem;
    color: var(--shop-text-muted);
    line-height: 1.5;
    margin: 0;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.75rem;
    border-top: 1px solid var(--shop-border-light);
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.price-amount {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--shop-primary-dark);
}

.price-currency {
    font-size: 1rem;
    font-weight: 600;
    color: var(--shop-text-muted);
}

.btn-add-to-cart {
    width: 40px;
    height: 40px;
    margin-top: 10px;
    border-radius: 50%;
    background: var(--shop-primary-dark);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-add-to-cart:hover {
    background: var(--shop-primary-black);
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: white;
}

.btn-add-to-cart i {
    font-size: 1.1rem;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 5rem 2rem;
    max-width: 500px;
    margin: 0 auto;
}

.empty-state-icon {
    font-size: 6rem;
    color: #dee2e6;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease-out;
}

.empty-state-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--shop-text-dark);
    margin-bottom: 1rem;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.empty-state-text {
    font-size: 1rem;
    color: var(--shop-text-muted);
    line-height: 1.6;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

/* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */
.breadcrumb-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    margin: 0;
    list-style: none;
    background: transparent;
}

.breadcrumb-modern .breadcrumb-item {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.breadcrumb-modern .breadcrumb-item a {
    color: var(--shop-text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-modern .breadcrumb-item a:hover {
    color: var(--shop-primary-dark);
}

.breadcrumb-modern .breadcrumb-item.active {
    color: var(--shop-text-dark);
    font-weight: 600;
}

.breadcrumb-modern .breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: var(--shop-text-light);
    margin: 0 0.5rem;
    font-size: 1.2rem;
}

.btn-detail-cart {
    background: var(--shop-primary-dark);
    color: white;
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: var(--shop-radius-pill);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: var(--shop-shadow-btn);
}

.btn-detail-cart:hover {
    background: var(--shop-primary-black);
    transform: translateY(-2px);
    box-shadow: var(--shop-shadow-btn-hover);
    color: white;
}

.btn-detail-admin {
    background: var(--shop-secondary-gray);
    color: white;
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: var(--shop-radius-pill);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-detail-admin:hover {
    background: var(--shop-secondary-dark);
    transform: translateY(-2px);
    color: white;
}

.product-detail-gallery {
    position: sticky;
    top: 2rem;
}

.main-image-container {
    position: relative;
    background: white;
    border-radius: var(--shop-radius-xl);
    overflow: hidden;
    box-shadow: var(--shop-shadow-lg);
    margin-bottom: 1.5rem;
}

.main-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%;
    background: linear-gradient(135deg, #f5f7fa 0%, var(--shop-bg-lighter) 100%);
}

.main-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 2rem;
}

.placeholder-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--shop-text-light);
    font-size: 4rem;
}

.placeholder-image span {
    font-size: 1rem;
    margin-top: 1rem;
}

.image-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 2;
    padding: 0.5rem 1rem;
    border-radius: var(--shop-radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.thumbnail-container {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.thumbnail-container::-webkit-scrollbar {
    height: 6px;
}

.thumbnail-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.thumbnail-container::-webkit-scrollbar-thumb {
    background: var(--shop-text-light);
    border-radius: 10px;
}

.thumbnail-wrapper {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: var(--shop-radius-md);
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    background: white;
}

.thumbnail-wrapper:hover {
    border-color: var(--shop-primary-dark);
    transform: translateY(-2px);
}

.thumbnail-wrapper.active {
    border-color: var(--shop-primary-dark);
    box-shadow: 0 4px 12px rgba(34, 40, 49, 0.3);
}

.thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-info {
    background: white;
    border-radius: var(--shop-radius-xl);
    padding: 2rem;
    box-shadow: var(--shop-shadow-md);
}

.product-detail-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--shop-text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.product-detail-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.product-detail-price .price-amount {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--shop-primary-dark);
}

.product-detail-price .price-currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--shop-text-muted);
}

.stock-status {
    display: flex;
    align-items: center;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: var(--shop-radius-pill);
    font-size: 0.9rem;
    font-weight: 600;
}

.status-success {
    background: rgba(25, 135, 84, 0.1);
    color: var(--shop-success);
}

.status-warning {
    background: rgba(255, 193, 7, 0.1);
    color: #997404;
}

.status-danger {
    background: rgba(220, 53, 69, 0.1);
    color: var(--shop-danger);
}

.product-detail-description {
    margin-bottom: 2rem;
    padding: 1.5rem 0;
}

.product-detail-description .description-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--shop-text-dark);
    margin-bottom: 1rem;
}

.product-detail-description .description-text {
    font-size: 1rem;
    color: var(--shop-text-muted);
    line-height: 1.8;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.add-to-cart-section {
    margin-bottom: 2rem;
}

.cart-form-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quantity-selector {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.quantity-label {
    font-weight: 600;
    color: var(--shop-text-dark);
    font-size: 0.95rem;
}

.quantity-input-wrapper {
    display: flex;
    align-items: center;
    background: var(--shop-bg-light);
    border-radius: var(--shop-radius-md);
    padding: 0.25rem;
    width: fit-content;
    box-shadow: var(--shop-shadow-sm);
}

.quantity-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: white;
    color: var(--shop-primary-dark);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1.2rem;
    font-weight: 700;
}

.quantity-btn:hover {
    background: var(--shop-primary-dark);
    color: white;
    transform: scale(1.05);
}

.quantity-btn:active {
    transform: scale(0.95);
}

.quantity-input {
    width: 80px;
    height: 40px;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--shop-text-dark);
}

.quantity-input:focus {
    outline: none;
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-input[type=number] {
    -moz-appearance: textfield;
}

.btn-add-to-cart-large {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--shop-primary-dark);
    color: white;
    border: none;
    border-radius: var(--shop-radius-md);
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: var(--shop-shadow-btn);
    cursor: pointer;
}

.btn-add-to-cart-large:hover {
    background: var(--shop-primary-black);
    transform: translateY(-2px);
    box-shadow: var(--shop-shadow-btn-hover);
    color: white;
}

.btn-add-to-cart-large:active {
    transform: translateY(0);
}

.btn-sold-out {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--shop-secondary-gray);
    color: white;
    border: none;
    border-radius: var(--shop-radius-md);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: not-allowed;
    opacity: 0.6;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--shop-border-light);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--shop-text-muted);
    font-size: 0.9rem;
}

.meta-item i {
    font-size: 1.2rem;
    color: var(--shop-secondary-dark);
}

/* ============================================
   CART PAGE
   ============================================ */
.cart-header {
    background: white;
    border-radius: var(--shop-radius-lg);
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shop-shadow-sm);
}

.cart-header h1 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--shop-text-dark);
    margin: 0;
}

.cart-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--shop-text-muted);
    margin-top: 0.5rem;
}

.cart-breadcrumb a {
    color: var(--shop-text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.cart-breadcrumb a:hover {
    color: var(--shop-primary-dark);
}

.cart-card {
    background: white;
    border-radius: var(--shop-radius-lg);
    box-shadow: var(--shop-shadow-md);
    border: none;
}

.cart-card .card-body {
    padding: 2rem;
}

.cart-item {
    padding: 1.5rem 1rem;
    border-bottom: 1px solid var(--shop-border-light);
    transition: background 0.2s ease;
    border-radius: var(--shop-radius-md);
    margin-bottom: 0.5rem;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item:hover {
    background: var(--shop-bg-light);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: var(--shop-radius-md);
    object-fit: cover;
    border: 1px solid var(--shop-border-light);
}

.cart-item-image-placeholder {
    width: 80px;
    height: 80px;
    border-radius: var(--shop-radius-md);
    background: var(--shop-bg-light);
    border: 1px solid var(--shop-border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--shop-text-light);
}

.cart-item-name {
    color: var(--shop-text-dark);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    transition: color 0.2s;
}

.cart-item-name:hover {
    color: var(--shop-primary-dark);
}

.cart-quantity-input {
    border: 1px solid var(--shop-border-default);
    border-radius: var(--shop-radius-sm);
    text-align: center;
    font-weight: 600;
    transition: border-color 0.2s;
}

.cart-quantity-input:focus {
    border-color: var(--shop-primary-dark);
    box-shadow: 0 0 0 0.2rem rgba(34, 40, 49, 0.1);
}

.cart-remove-btn {
    color: var(--shop-danger);
    transition: all 0.2s;
    padding: 0.5rem;
    border-radius: var(--shop-radius-sm);
}

.cart-remove-btn:hover {
    background: rgba(220, 53, 69, 0.1);
    color: #bb2d3b;
}

.cart-summary-card {
    position: sticky;
    top: 2rem;
    background: white;
    border-radius: var(--shop-radius-lg);
    box-shadow: var(--shop-shadow-lg);
    border: none;
}

.cart-summary-header {
    background: var(--shop-bg-light);
    border-bottom: 1px solid var(--shop-border-light);
    padding: 1.5rem;
    border-radius: var(--shop-radius-lg) var(--shop-radius-lg) 0 0;
}

.cart-summary-header h5 {
    font-weight: 700;
    color: var(--shop-text-dark);
    margin: 0;
}

.shipping-option-card {
    border: 2px solid var(--shop-border-light);
    border-radius: var(--shop-radius-md);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s ease;
    cursor: pointer;
    background: white;
}

.shipping-option-card:hover {
    border-color: var(--shop-text-light);
    transform: translateY(-2px);
    box-shadow: var(--shop-shadow-sm);
}

.shipping-option-card.active {
    border-color: var(--shop-primary-dark);
    background: var(--shop-bg-light);
    box-shadow: 0 4px 16px rgba(34, 40, 49, 0.15);
}

.shipping-option-card input[type="radio"] {
    display: none;
}

.shipping-logo {
    height: 32px;
    width: auto;
}

.paypal-logo {
    height: 24px;
    width: auto;
}

.cart-checkout-btn {
    background: var(--shop-primary-dark);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--shop-radius-md);
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: var(--shop-shadow-btn);
    width: 100%;
}

.cart-checkout-btn:hover:not(:disabled) {
    background: var(--shop-primary-black);
    transform: translateY(-2px);
    box-shadow: var(--shop-shadow-btn-hover);
    color: white;
}

.cart-checkout-btn:disabled {
    background: var(--shop-secondary-gray);
    cursor: not-allowed;
    opacity: 0.6;
}

.cart-continue-shopping {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--shop-text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    padding: 0.5rem 1rem;
    border-radius: var(--shop-radius-sm);
}

.cart-continue-shopping:hover {
    color: var(--shop-primary-dark);
    background: var(--shop-bg-light);
}

.cart-empty-state {
    text-align: center;
    padding: 5rem 2rem;
    background: white;
    border-radius: var(--shop-radius-xl);
    box-shadow: var(--shop-shadow-md);
}

.cart-empty-icon {
    font-size: 5rem;
    color: #dee2e6;
    margin-bottom: 1.5rem;
}

.cart-empty-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--shop-text-dark);
    margin-bottom: 1rem;
}

.cart-empty-text {
    color: var(--shop-text-muted);
    margin-bottom: 2rem;
}

.payment-method-card {
    background: var(--shop-bg-light);
    border: 1px solid var(--shop-border-default);
    border-radius: var(--shop-radius-md);
    padding: 1.25rem;
}

.form-check-input:checked {
    background-color: var(--shop-primary-dark);
    border-color: var(--shop-primary-dark);
}

.form-check-input:focus {
    border-color: var(--shop-primary-dark);
    box-shadow: 0 0 0 0.2rem rgba(34, 40, 49, 0.1);
}


.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
}

.cart-summary-row.total {
    border-top: 2px solid var(--shop-border-default);
    padding-top: 1rem;
    margin-top: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
}

/* ============================================
   ITEM EDITOR
   ============================================ */
.editor-header {
    background: white;
    border-radius: var(--shop-radius-lg);
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shop-shadow-sm);
}

.editor-header h1 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--shop-text-dark);
    margin: 0;
}

.editor-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--shop-text-muted);
    margin-top: 0.5rem;
}

.editor-breadcrumb a {
    color: var(--shop-text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.editor-breadcrumb a:hover {
    color: var(--shop-primary-dark);
}

.editor-card {
    background: white;
    border-radius: var(--shop-radius-lg);
    box-shadow: var(--shop-shadow-md);
    border: none;
    margin-bottom: 1.5rem;
}

.editor-card-header {
    background: var(--shop-bg-light);
    border-bottom: 2px solid var(--shop-border-default);
    padding: 1rem 1.5rem;
    border-radius: var(--shop-radius-lg) var(--shop-radius-lg) 0 0;
}

.editor-card-header h5 {
    font-weight: 600;
    color: var(--shop-text-dark);
    margin: 0;
    font-size: 1rem;
}

.editor-card-body {
    padding: 1.5rem;
}

.form-label-editor {
    font-weight: 600;
    color: var(--shop-text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-control-editor {
    border: 1px solid var(--shop-border-default);
    border-radius: var(--shop-radius-sm);
    padding: 0.625rem 0.875rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control-editor:focus {
    border-color: var(--shop-primary-dark);
    box-shadow: 0 0 0 0.2rem rgba(34, 40, 49, 0.1);
}

.btn-editor-primary {
    background: var(--shop-primary-dark);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shop-shadow-btn);
}

.btn-editor-primary:hover {
    background: var(--shop-primary-black);
    transform: translateY(-2px);
    box-shadow: var(--shop-shadow-btn-hover);
    color: white;
}

.btn-editor-success {
    background: var(--shop-success);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(25, 135, 84, 0.2);
}

.btn-editor-success:hover {
    background: #146c43;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(25, 135, 84, 0.3);
    color: white;
}

.btn-editor-secondary {
    background: var(--shop-secondary-gray);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-editor-secondary:hover {
    background: var(--shop-secondary-dark);
    transform: translateY(-2px);
    color: white;
}

.btn-editor-danger {
    background: var(--shop-danger);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.2);
}

.btn-editor-danger:hover {
    background: #bb2d3b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.3);
    color: white;
}

.image-preview-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--shop-radius-md);
    border: 2px solid var(--shop-border-light);
    transition: border-color 0.2s;
}

.image-preview-container:hover {
    border-color: var(--shop-text-light);
}

.image-preview {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.image-delete-checkbox {
    background: white;
    border-radius: var(--shop-radius-sm);
    padding: 0.5rem;
    margin-top: 0.5rem;
    border: 1px solid var(--shop-border-light);
}

.form-switch .form-check-input:checked {
    background-color: var(--shop-success);
    border-color: var(--shop-success);
}

.product-table {
    background: white;
}

.product-row {
    transition: background 0.2s;
}

.product-row:hover {
    background: var(--shop-bg-light);
}

.product-image-thumb {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid var(--shop-border-light);
}

.product-image-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    background: var(--shop-bg-light);
    border: 1px solid var(--shop-border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--shop-text-light);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    border-radius: var(--shop-radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
}

.status-active {
    background: rgba(25, 135, 84, 0.1);
    color: var(--shop-success);
}

.status-inactive {
    background: rgba(108, 117, 125, 0.1);
    color: var(--shop-text-muted);
}

.stock-badge {
    padding: 0.375rem 0.75rem;
    border-radius: var(--shop-radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
}

.stock-available {
    background: rgba(25, 135, 84, 0.1);
    color: var(--shop-success);
}

.stock-empty {
    background: rgba(220, 53, 69, 0.1);
    color: var(--shop-danger);
}

.btn-edit {
    background: var(--shop-primary-dark);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--shop-radius-sm);
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.btn-edit:hover {
    background: var(--shop-primary-black);
    color: white;
}

.btn-delete-small {
    color: var(--shop-danger);
    border: 1px solid var(--shop-danger);
    background: white;
    padding: 0.375rem 0.625rem;
    border-radius: var(--shop-radius-sm);
    transition: all 0.2s;
}

.btn-delete-small:hover {
    background: var(--shop-danger);
    color: white;
}

.detail-collapse {
    background: var(--shop-bg-light);
    border-top: 1px solid var(--shop-border-light);
}

.mobile-product-card {
    background: white;
    border-radius: var(--shop-radius-md);
    border: 1px solid var(--shop-border-light);
    transition: box-shadow 0.2s;
}

.mobile-product-card:hover {
    box-shadow: var(--shop-shadow-sm);
}

/* ============================================
   ORDER MANAGEMENT - EDIT ORDER
   ============================================ */
.order-header {
    background: white;
    border-radius: var(--shop-radius-lg);
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shop-shadow-sm);
}

.order-header h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--shop-text-dark);
    margin: 0;
}

.order-status-card {
    background: var(--shop-bg-light);
    border-radius: var(--shop-radius-lg);
    box-shadow: var(--shop-shadow-sm);
    border: 1px solid var(--shop-border-light);
}

.order-info-card {
    background: white;
    border-radius: var(--shop-radius-lg);
    box-shadow: var(--shop-shadow-md);
    border: none;
}

.order-info-section {
    padding: 1.5rem;
}

.order-info-section h6 {
    font-size: 0.85rem;
    color: var(--shop-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    margin-bottom: 1rem;
}

.order-items-card {
    background: white;
    border-radius: var(--shop-radius-lg);
    box-shadow: var(--shop-shadow-md);
    border: none;
}

.order-item-row {
    padding: 1rem;
    border-bottom: 1px solid var(--shop-border-light);
    transition: background 0.2s;
}

.order-item-row:hover {
    background: var(--shop-bg-light);
}

.order-item-row:last-child {
    border-bottom: none;
}

.order-item-header {
    background: var(--shop-bg-light);
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--shop-border-default);
    font-size: 0.85rem;
    color: var(--shop-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.order-add-item-section {
    background: var(--shop-bg-light);
    padding: 1rem;
    border-top: 2px solid var(--shop-border-default);
}

.order-summary-card {
    background: var(--shop-bg-light);
    border-radius: var(--shop-radius-lg);
    box-shadow: var(--shop-shadow-sm);
    border: 1px solid var(--shop-border-light);
}

.order-notes-card {
    background: white;
    border-radius: var(--shop-radius-lg);
    box-shadow: var(--shop-shadow-md);
    border: none;
}

.order-address-card {
    background: white;
    border-radius: var(--shop-radius-lg);
    box-shadow: var(--shop-shadow-md);
    border: none;
}

.badge-custom {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.8rem;
    border-radius: var(--shop-radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-secondary {
    background: var(--shop-bg-light);
    color: var(--shop-text-muted);
}

.badge-warning-custom {
    background: rgba(255, 193, 7, 0.1);
    color: #997404;
}

.badge-info-custom {
    background: rgba(13, 202, 240, 0.1);
    color: #055160;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991.98px) {
    .product-detail-gallery {
        position: static;
        margin-bottom: 2rem;
    }

    .product-detail-title {
        font-size: 1.75rem;
    }

    .product-detail-price .price-amount {
        font-size: 2rem;
    }

    .product-detail-info {
        padding: 1.5rem;
    }

    .cart-summary-card {
        position: static;
        margin-top: 2rem;
    }

    .cart-card .card-body {
        padding: 1.5rem;
    }

    .editor-card-body {
        padding: 1.25rem;
    }

    .order-header {
        padding: 1.25rem 1.5rem;
    }

    .order-info-section {
        padding: 1.25rem;
    }
}

@media (max-width: 767.98px) {
    .product-card-modern:hover {
        transform: translateY(-4px);
    }

    .empty-state {
        padding: 3rem 1rem;
    }

    .empty-state-icon {
        font-size: 4rem;
    }

    .empty-state-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .product-detail-title {
        font-size: 1.5rem;
    }

    .product-detail-price .price-amount {
        font-size: 1.75rem;
    }

    .product-detail-price .price-currency {
        font-size: 1.25rem;
    }

    .btn-add-to-cart-large {
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }

    .cart-header {
        padding: 1rem 1.5rem;
    }

    .cart-header h1 {
        font-size: 1.5rem;
    }

    .cart-item-image,
    .cart-item-image-placeholder {
        width: 60px;
        height: 60px;
    }
}

/* ============================================
   DARK MODE SUPPORT (Optional)
   ============================================ */
@media (prefers-color-scheme: dark) {
    .product-card-modern {
        background: #1a1a1a;
    }

    .product-title a {
        color: #f8f9fa;
    }

    .product-description {
        color: var(--shop-text-light);
    }

    .price-amount {
        color: #f8f9fa;
    }
}
