/* Premium Store Custom Styles */

/* Modern Typography */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Header Enhancement */
.page-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header.content {
    padding: 15px 20px;
}

/* Logo Enhancement */
.logo img {
    max-height: 50px;
}

/* Navigation Modernization */
.navigation {
    background: #1a1a2e;
}

.nav-sections {
    background: #1a1a2e;
}

.navigation .level0 > .level-top {
    color: #fff;
    font-weight: 500;
    padding: 15px 20px;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
}

.navigation .level0 > .level-top:hover {
    color: #ff5501;
    background: rgba(255,255,255,0.05);
}

.navigation .level0.active > .level-top {
    border-bottom: 2px solid #ff5501;
    color: #ff5501;
}

/* Search Box */
.block-search .control {
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.block-search .control:focus-within {
    border-color: #ff5501;
}

.block-search input {
    border: none;
    padding: 12px 20px;
}

/* Buttons */
.action.primary,
button.action.primary,
.action.tocart.primary {
    background: #ff5501;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 14px 28px;
    transition: all 0.3s ease;
}

.action.primary:hover,
button.action.primary:hover,
.action.tocart.primary:hover {
    background: #e64a00;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255,85,1,0.3);
}

/* Product Cards */
.product-item {
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 8px;
    overflow: hidden;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.product-item-info {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
}

.product-image-container {
    border-radius: 8px;
    overflow: hidden;
}

.product-image-photo {
    transition: transform 0.5s;
}

.product-item:hover .product-image-photo {
    transform: scale(1.05);
}

.product-item-name a {
    font-weight: 600;
    color: #333;
    text-decoration: none;
}

.product-item-name a:hover {
    color: #ff5501;
}

/* Price Styling */
.price-box .price {
    font-weight: 700;
    color: #1a1a2e;
    font-size: 18px;
}

.old-price .price {
    color: #999;
    text-decoration: line-through;
}

.special-price .price {
    color: #ff5501;
}

/* Category Page */
.page-title-wrapper {
    text-align: center;
    margin-bottom: 40px;
}

.page-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a2e;
}

/* Sidebar Filters */
.sidebar .block-title strong {
    font-weight: 700;
    color: #1a1a2e;
    font-size: 18px;
}

.filter-options-item {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

/* Breadcrumbs */
.breadcrumbs {
    background: #f8f8f8;
    padding: 15px 0;
    margin-bottom: 30px;
}

.breadcrumbs a {
    color: #666;
}

.breadcrumbs a:hover {
    color: #ff5501;
}

/* Footer */
.page-footer {
    background: #1a1a2e;
    color: #fff;
    padding: 60px 0 30px;
}

.footer.content {
    border-top: none;
}

.footer .links a {
    color: rgba(255,255,255,0.7);
    transition: color 0.3s;
}

.footer .links a:hover {
    color: #ff5501;
}

/* Newsletter in Footer */
.footer .block.newsletter {
    max-width: 400px;
}

.footer .block.newsletter .title {
    color: #fff;
    font-size: 20px;
    margin-bottom: 15px;
}

/* Product Page */
.product-info-main .page-title {
    font-size: 28px;
    font-weight: 700;
}

.product-info-main .price-box .price {
    font-size: 28px;
}

.product-add-form .box-tocart .action.tocart {
    width: 100%;
    padding: 18px;
    font-size: 16px;
}

/* Reviews */
.review-ratings .rating-result > span:before {
    color: #ff5501;
}

/* Cart */
.cart-summary {
    background: #f8f8f8;
    border-radius: 8px;
    padding: 25px;
}

/* Checkout */
.checkout-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Messages */
.message.success {
    background: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
    border-radius: 5px;
}

.message.error {
    background: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
    border-radius: 5px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 28px;
    }

    .category-grid {
        grid-template-columns: 1fr 1fr;
    }

    .features-bar {
        grid-template-columns: 1fr 1fr;
        padding: 20px;
    }

    .promo-banner {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-item {
    animation: fadeInUp 0.5s ease forwards;
}

/* Loading States */
.loading-mask {
    background: rgba(255,255,255,0.9);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}
