@media (min-width: 768px) {
    .main-wrapper {
        padding-top: 170px;
    }
}

@media (max-width: 768px) {
    .main-wrapper {
        padding-top: 120px;
    }
}

.shop-index {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

.shop-header {
    text-align: center;
}

.shop-header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.shop-header p {
    font-size: 1.2rem;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
}

.btn-secondary {
    background: #ecf0f1;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    color: #2c3e50;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #bdc3c7;
    color: #2c3e50;
    text-decoration: none;
}

.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #7f8c8d;
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* --- Modern price/discount style --- */
.product-price-modern {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.final-price {
    font-size: 1.7rem;
    font-weight: 700;
    color: #191919;
    line-height: 1;
}

.original-price {
    font-size: 1.1rem;
    color: #a0a0a0;
    text-decoration: line-through;
    font-weight: 400;
    line-height: 1;
}

.discount-modern {
    font-size: 1.1rem;
    color: #e30613;
    font-weight: 700;
    line-height: 1;
}

.pointer {
    cursor: pointer;
}

@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    .shop-header h1 {
        font-size: 2rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 15px;
    }

    .product-content {
        padding: 20px;
    }

    .product-title {
        font-size: 1.2rem;
    }

    .product-price {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
}


.hero-slider-container {
    position: relative;
    height: 700px;
    overflow: hidden;
}

.hero-swiper {
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-image {
    position: relative;
    width: 100%;
    height: 100%;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero-text {
    text-align: center;
    color: white;
    max-width: 80%;
    padding: 0 40px;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 20px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-description {
    font-size: 20px;
    line-height: 1.6;
    margin: 0 0 30px 0;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-price {
    margin: 30px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.hero-slider-container .original-price {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: line-through;
    font-size: 24px;
    font-weight: 400;
}

.hero-slider-container .final-price {
    color: #ffd700;
    font-size: 36px;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-slider-container .hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 30px 0;
    flex-wrap: wrap;
}

.hero-slider-container .hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.hero-slider-container .hero-btn-primary {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
}

.hero-slider-container .hero-btn-secondary {
    background: linear-gradient(45deg, #f093fb, #f5576c);
    color: white;
}

.hero-slider-container .hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.hero-slider-container .hero-stock {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(40, 167, 69, 0.9);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 600;
    margin-top: 20px;
}

/* Hero Swiper customization */
.hero-slider-container .hero-next,
.hero-slider-container .hero-prev {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-slider-container .hero-next:hover,
.hero-slider-container .hero-prev:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.hero-slider-container .hero-pagination .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
    opacity: 0.7;
    width: 12px;
    height: 12px;
}

.hero-slider-container .hero-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    background: white;
    transform: scale(1.2);
}

/* Responsive design */
@media (max-width: 1200px) {
    .hero-slider-container {
        height: 600px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-description {
        font-size: 18px;
    }

    .final-price {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .hero-slider-container {
        height: 500px;
    }

    .hero-text {
        padding: 0 20px;
        max-width: 100%;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-price {
        flex-direction: column;
        gap: 10px;
        margin: 5px 0;
    }

    .final-price {
        font-size: 24px;
        margin: 15px 0
    }

    .hero-slider-container .hero-actions {
        align-items: center;
        margin: 10px 0;
    }

    .hero-slider-container .hero-btn {
        width: auto;
        justify-content: center;
        padding: 10px 15px;
    }

    .hero-slider-container .hero-stock {
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .hero-slider-container {
        height: 450px;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-badge {
        font-size: 14px;
        padding: 10px 20px;
    }
}


.cart-container {
    background: #f8fafc;
    min-height: 100vh;
    padding: 2rem 0;
}

.cart-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cart-header h1 {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
}

.cart-header p {
    color: #7f8c8d;
    font-size: 1.1rem;
    margin: 0;
}

.cart-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cart-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.cart-card-header {
    background: #374151;
    color: white;
    padding: 1rem;
    font-weight: 600;
    font-size: 1.3rem;
}

.cart-card-body {
    padding: 2rem;
}

.cart-item {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #e1e5e9;
    transition: all 0.2s ease;
    position: relative;
}

.cart-item:hover {
    border-color: #d1d5db;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.cart-item-image {
    border-radius: 6px;
    overflow: hidden;
    background: #f9fafb;
}

.cart-item-image img {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

.cart-item-details {
    padding-left: 1rem;
}

.cart-item-title {
    font-size: 1rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.cart-item-price {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.cart-item-original-price {
    text-decoration: line-through;
    color: #9ca3af;
    font-size: 0.8rem;
    margin-right: 0.25rem;
}

.cart-item-discount {
    background: #fef2f2;
    color: #dc2626;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 500;
    border: 1px solid #fecaca;
}

.cart-item-total {
    font-size: 1rem;
    font-weight: 600;
    color: #059669;
    margin-bottom: 0.5rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.quantity-btn {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    border: 1px solid #d1d5db;
    background: white;
    color: #6b7280;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.quantity-btn:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.quantity-display {
    background: #f9fafb;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 500;
    color: #374151;
    min-width: 30px;
    text-align: center;
    border: 1px solid #e5e7eb;
    font-size: 0.8rem;
}

.remove-btn {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
    border-radius: 4px;
    width: 28px;
    height: 28px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    font-size: 0.7rem;
}

.remove-btn:hover {
    background: #fee2e2;
    border-color: #fca5a5;
}

.cart-summary {
    background: #374151;
    color: white;
    border-radius: 20px;
    padding: 2rem;
    position: sticky;
    top: 8rem;
}

.cart-summary h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.summary-item:last-child {
    border-bottom: none;
    font-size: 1.3rem;
    font-weight: 700;
    color: #f1c40f;
}

.checkout-btn {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1.5rem;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.4);
    color: white;
    text-decoration: none;
}

.empty-cart {
    text-align: center;
    padding: 3rem;
    color: #7f8c8d;
}

.empty-cart i {

    color: #bdc3c7;

}

.empty-cart h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.empty-cart p {
    color: #7f8c8d;
    margin-bottom: 2rem;
}

.continue-shopping {
    background: #374151;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.continue-shopping:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(55, 65, 81, 0.4);
    color: white;
    text-decoration: none;
}

.shipping-address-box {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.shipping-address-box h5 {
    color: #374151;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.address-form {
    margin-top: 1rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: border-color 0.2s ease;
    background: #f9fafb;
}

.form-control:focus {
    outline: none;
    border-color: #374151;
    background: white;
    box-shadow: 0 0 0 3px rgba(55, 65, 81, 0.1);
}

.form-control::placeholder {
    color: #9ca3af;
}

textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

select.form-control {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

.payment-methods-box {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.payment-methods-box h5 {
    color: #374151;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.payment-options {
    margin-bottom: 1rem;
}

.payment-option {
    margin-bottom: 0.75rem;
}

.payment-option input[type="radio"] {
    display: none;
}

.payment-label {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #f9fafb;
}

.payment-label:hover {
    border-color: #d1d5db;
    background: #f3f4f6;
}

.payment-option input[type="radio"]:checked+.payment-label {
    border-color: #374151;
    background: #f3f4f6;
    box-shadow: 0 0 0 3px rgba(55, 65, 81, 0.1);
}

.payment-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #374151;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.2rem;
}

.payment-icon.stripe {
    background: #6772e5;
}

.payment-icon.cryptomus {
    background: #f7931a;
}

.payment-details {
    flex: 1;
}

.payment-name {
    display: block;
    font-weight: 600;
    color: #374151;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.payment-description {
    display: block;
    color: #6b7280;
    font-size: 0.8rem;
}

.card-details-form {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.card-details-form .form-group {
    margin-bottom: 1rem;
}

.card-details-form .form-control {
    background: white;
}

.stripe-info,
.cryptomus-info {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.stripe-info p,
.cryptomus-info p {
    margin: 0;
    color: #374151;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.crypto-description {
    margin-top: 0.5rem !important;
    color: #6b7280 !important;
    font-size: 0.8rem !important;
    line-height: 1.4;
}

.address-selection {
    margin-bottom: 1rem;
}

.address-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.address-actions .btn {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
}

.selected-address {
    margin-bottom: 1rem;
}

.address-card {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
}

.address-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.address-actions {
    display: flex;
    gap: 0.5rem;
}

.address-type {
    background: #374151;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
}

.address-content {
    color: #374151;
    font-size: 0.9rem;
    line-height: 1.4;
}

.address-content>div {
    margin-bottom: 0.25rem;
}

.address-name {
    font-weight: 600;
    color: #1f2937;
}

.address-phone {
    color: #6b7280;
}

.address-street {
    color: #374151;
}

.address-city,
.address-country {
    color: #6b7280;
}

.form-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.form-actions .btn {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
}

.login-required-box {
    display: flex;
    justify-content: center;
    align-items: center;

}

.login-required-content {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 500px;
    width: 100%;
}

.login-required-content i {
    color: #374151;
}

.login-required-content h3 {
    color: #1f2937;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.login-required-content p {
    color: #6b7280;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.5;
}

.login-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.login-actions .btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    justify-content: center;
}

.login-actions .btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

/* Modal Styles */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-header {
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    border-radius: 15px 15px 0 0;
    padding: 1.5rem;
}

.modal-title {
    color: #374151;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    background: #f8fafc;
    border-top: 1px solid #e5e7eb;
    border-radius: 0 0 15px 15px;
    padding: 1.5rem;
}

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

.modal .form-control {
    border-radius: 8px;
    border: 1px solid #d1d5db;
    padding: 0.75rem;
    font-size: 0.9rem;
    transition: border-color 0.2s ease;
}

.modal .form-control:focus {
    border-color: #374151;
    box-shadow: 0 0 0 3px rgba(55, 65, 81, 0.1);
}

.modal .form-check {
    margin-top: 1rem;
}

.modal .btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.modal .btn:hover {
    transform: translateY(-1px);
}

/* Toast Styles */
.toast {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.toast-body {
    padding: 1rem 1.5rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .cart-container {
        padding: 1rem 0;
    }

    .cart-header {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .cart-header h1 {
        font-size: 2rem;
    }

    .cart-card-body {
        padding: 1rem;
    }

    .cart-item {
        padding: 1rem;
    }

    .cart-item-image img {
        height: 100px;
    }

    .cart-item-details {
        padding-left: 1rem;
    }
}

.stepper {
    display: flex;
    gap: 30px
}

.step {
    display: inline-block;
    background: rgb(227, 227, 227);
    color: rgb(79, 79, 79);
    padding: 5px 20px 5px 10px;
    clip-path: polygon(0 0,
            calc(100% - 20px) 0,
            100% 50%,
            calc(100% - 20px) 100%,
            0 100%);
}

.step-active {
    background: #3498db;
    color: #fff;
}