/* ===== DESKTOP.INDEX.CSS - Десктопные стили главной страницы ===== */

/* Hero Banner */
.hero-banner {
    position: relative;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    margin: 0 auto;
    max-width: calc(100% - 40px);
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    border-radius: 24px;
    overflow: hidden;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-text {
    max-width: 600px;
    margin: 0 auto;
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    color: var(--primary-white);
    margin-bottom: 30px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-btn {
    background: var(--accent-gold);
    color: var(--primary-white);
    border: none;
    padding: 18px 36px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero-btn:hover {
    background: #c9a961;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Categories Section */
.categories-section {
    padding: 80px 0;
    background: var(--primary-white);
}

.categories-nav-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--accent-gold);
    background: var(--primary-white);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.categories-nav-btn:hover {
    background: var(--accent-gold);
    color: var(--primary-white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

.categories-container {
    position: relative;
    overflow: hidden;
}

.categories-grid {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0 10px;
}

.categories-grid::-webkit-scrollbar {
    display: none;
}

.categories-grid.static {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 900px;
    margin: 0 auto;
    overflow: visible;
}

.category-card {
    background: var(--primary-white);
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    min-width: 280px;
    flex-shrink: 0;
}

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

.category-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.category-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.product-card {
    background: var(--primary-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

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

/* Discount Badge */
.discount-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--discount-red);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

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

.product-price {
    padding: 16px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.current-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--price-blue);
}

.old-price {
    font-size: 14px;
    text-decoration: line-through;
    color: var(--text-light);
}

/* Order Button */
.btn-order {
    width: 100%;
    background: var(--order-gold);
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-order:hover {
    background: #b8941f;
    transform: translateY(-1px);
}

/* ===== ADVANTAGES ===== */
.advantages-section {
    padding: 80px 0;
    background: var(--primary-white);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.advantage-item {
    text-align: center;
    padding: 32px 24px;
    background: var(--primary-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.advantage-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
}

.advantage-link:hover {
    text-decoration: none;
    color: inherit;
}

.advantage-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-beige);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--accent-gold);
}

.advantage-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
}

/* ===== DELIVERY ===== */
.delivery-section {
    padding: 80px 0;
    background: var(--accent-blue);
}

.delivery-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.delivery-option {
    background: var(--primary-white);
    padding: 40px 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
}

.delivery-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #0ea5e9;
}

.delivery-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.delivery-features {
    list-style: none;
    padding: 0;
}

.delivery-features li {
    padding: 8px 0;
    color: var(--text-medium);
    position: relative;
    padding-left: 24px;
}

.delivery-features li::before {
    content: '•';
    color: var(--accent-gold);
    position: absolute;
    left: 0;
    top: 8px;
    font-weight: bold;
}

.delivery-features li.highlighted {
    color: var(--text-dark);
    font-weight: 500;
}

.delivery-features li.highlighted::before {
    content: '✓';
    color: #22c55e;
}

.delivery-note {
    background: rgba(255, 255, 255, 0.8);
    padding: 24px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    border-left: 4px solid var(--accent-gold);
}

.note-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--accent-beige);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
}

.note-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.note-content p {
    color: var(--text-medium);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}