* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    background: #ffffff;
    color: #1a1a1a;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1 0 auto;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 30px 20px;
}

a {
    text-decoration: none;
}

header {
    background: #1a1a1a;
    color: #ffffff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo a {
    color: #FCA814;
    font-size: 28px;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: 1px;
}

.header-search {
    position: relative;
    flex: 1;
    max-width: 500px;
    margin: 0 20px;
}

.search-form {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #e8e8e8;
    transition: border-color 0.3s;
}

.search-form:focus-within {
    border-color: #FCA814;
}

.search-input {
    flex: 1;
    padding: 10px 18px;
    border: none;
    outline: none;
    font-size: 16px;
    color: #1a1a1a;
    background: transparent;
    min-width: 150px;
    height: 48px;
}

.search-input::placeholder {
    color: #999;
    font-size: 15px;
}

.search-btn {
    background: #FCA814;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.3s;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    background: #FCA814;
}

.search-suggestions {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    z-index: 1000;
    display: none;
    max-height: 420px;
    overflow-y: auto;
    border: 1px solid #e8e8e8;
}

.search-suggestions.active {
    display: block;
}

.suggestion-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.2s;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    color: #1a1a1a;
    gap: 14px;
    min-height: 68px;
}

.suggestion-item:hover {
    background: #f8f9fa;
}

.suggestion-item:last-child {
    border-bottom: none;
    border-radius: 0 0 12px 12px;
}

.suggestion-item:first-child {
    border-radius: 12px 12px 0 0;
}

.suggestion-image {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 6px;
    background: #fafafa;
    flex-shrink: 0;
    border: 1px solid #eee;
    padding: 4px;
}

.suggestion-image-placeholder {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
    border-radius: 6px;
    border: 1px solid #eee;
    font-size: 22px;
    flex-shrink: 0;
}

.suggestion-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.suggestion-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.suggestion-article {
    font-size: 12px;
    color: #999;
    flex-shrink: 0;
}

.suggestion-price {
    font-size: 16px;
    font-weight: bold;
    color: #1a1a1a;
    flex-shrink: 0;
}

.suggestion-name {
    font-size: 15px;
    color: #1a1a1a;
    word-break: break-word;
    line-height: 1.3;
}

.suggestion-name strong {
    color: #FCA814;
}

.search-suggestions::-webkit-scrollbar {
    width: 6px;
}

.search-suggestions::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 0 0 12px 12px;
}

.search-suggestions::-webkit-scrollbar-thumb {
    background: #d0d0d0;
    border-radius: 4px;
}

.search-suggestions::-webkit-scrollbar-thumb:hover {
    background: #b0b0b0;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
    padding: 8px 5px;
}

.nav-link:hover {
    color: #FCA814;
}

.nav-item.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    max-height: 400px;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    padding: 8px 0;
    z-index: 1000;
    border: 1px solid #e8e8e8;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 10px 20px;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
    white-space: nowrap;
}

.dropdown-item:hover {
    background: #f5f5f5;
    color: #FCA814;
}

.dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.dropdown-menu::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.dropdown-menu::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

.cart-icon {
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
}

.cart-icon a {
    color: #ffffff;
    text-decoration: none;
}

#cart-count {
    background: #FCA814;
    color: #fff;
    border-radius: 50%;
    padding: 2px 8px;
    font-size: 12px;
    margin-left: 5px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.product-card {
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.2s;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    min-height: 380px;
    height: 100%;
}

.product-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}

.product-image {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
    overflow: hidden;
    padding: 10px;
    flex-shrink: 0;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.no-image {
    color: #999;
    font-size: 14px;
    text-align: center;
    padding: 20px;
}

.product-info {
    padding: 12px 15px 15px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-article {
    font-size: 12px;
    color: #999;
    margin-bottom: 4px;
    flex-shrink: 0;
}

.product-name-wrapper {
    position: relative;
    height: 52px;
    overflow: hidden;
    margin-bottom: 6px;
    flex-shrink: 0;
}

.product-name-scroll {
    height: 100%;
    overflow-y: auto;
    padding-right: 5px;
    scrollbar-width: thin;
    scrollbar-color: #d0d0d0 transparent;
}

.product-name-scroll::-webkit-scrollbar {
    width: 4px;
}

.product-name-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.product-name-scroll::-webkit-scrollbar-thumb {
    background: #d0d0d0;
    border-radius: 4px;
}

.product-name-scroll::-webkit-scrollbar-thumb:hover {
    background: #b0b0b0;
}

.product-name-scroll h3 {
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
}

.product-name-scroll h3 a {
    color: #1a1a1a;
    text-decoration: none;
    display: block;
}

.product-name-scroll h3 a:hover {
    color: #FCA814;
}

.product-bottom {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
    flex-shrink: 0;
}

.product-price {
    font-size: 20px;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.product-stock {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
    min-height: 20px;
}

.product-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    width: 100%;
}

.product-actions .btn-add-to-cart {
    width: 100%;
}

.cart-qty-wrapper {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100%;
    margin-top: 6px;
}

.cart-qty-wrapper .cart-qty-btn {
    width: 34px !important;
    height: 34px !important;
    border: 2px solid #FCA814 !important;
    border-radius: 6px !important;
    background: #ffffff !important;
    color: #FCA814 !important;
    font-size: 18px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    user-select: none !important;
    flex-shrink: 0 !important;
    line-height: 1 !important;
}

.cart-qty-wrapper .cart-qty-btn:hover {
    background: #FCA814 !important;
    color: #ffffff !important;
}

.cart-qty-wrapper .cart-qty-btn:active {
    transform: scale(0.92) !important;
}

.cart-qty-wrapper .cart-qty-count {
    font-size: 18px !important;
    font-weight: bold !important;
    color: #1a1a1a !important;
    min-width: 30px !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}

.btn-add-to-cart {
    width: 100%;
    background: #FCA814;
    color: #ffffff;
    border: none;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    transition: background 0.3s, transform 0.15s;
    flex-shrink: 0;
}

.btn-add-to-cart:hover {
    background: #FCA814;
}

.btn-add-to-cart:active {
    transform: scale(0.97);
}

.btn-add-to-cart:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

footer {
    background: #1a1a1a;
    color: #999;
    padding: 30px 0;
    margin-top: 50px;
    text-align: center;
    flex-shrink: 0;
}

.page-title {
    font-size: 32px;
    margin-bottom: 30px;
}

/* Шапка корзины */
.cart-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 40px;
    gap: 15px;
    padding: 12px 20px;
    background: #f5f5f5;
    border-radius: 8px;
    font-weight: bold;
    font-size: 14px;
    color: #666;
    margin-bottom: 1px;
}

.cart-header-product { grid-column: 1; }
.cart-header-price { grid-column: 2; text-align: right; }
.cart-header-quantity { grid-column: 3; text-align: center; }
.cart-header-total { grid-column: 4; text-align: right; }
.cart-header-remove { grid-column: 5; }

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 10px; 
    margin-bottom: 30px;
}

.cart-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 40px;
    gap: 15px;
    align-items: center;
    padding: 15px 20px;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    background: #fff;
    transition: box-shadow 0.3s;
}

.cart-item:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

/* Колонка товара */
.cart-item-product {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 0;
}

.cart-item-image {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
    border-radius: 8px;
    overflow: hidden;
}

.cart-item-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cart-item-info {
    min-width: 0;
}

.cart-item-article {
    font-size: 12px;
    color: #999;
}

.cart-item-name {
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-price {
    font-size: 16px;
    font-weight: 500;
    color: #1a1a1a;
    text-align: right;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    background: #f5f5f5;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: #e8e8e8;
}

.qty-input {
    width: 50px;
    height: 32px;
    text-align: center;  
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1;
    padding: 0;      
    -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cart-item-total {
    font-size: 18px;
    font-weight: bold;
    color: #1a1a1a;
    text-align: right;
}

.cart-item-remove {
    width: 32px;
    height: 32px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 18px;
    color: #999;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-remove:hover {
    color: #f44336;
}

.cart-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: #f8f9fa;
    border-radius: 10px;
    flex-wrap: wrap;
    gap: 15px;
}

.cart-total {
    font-size: 24px;
    font-weight: bold;
}

.cart-total-price {
    color: #FCA814;
}

.cart-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
}

.btn-checkout {
    background: #FCA814;
    color: #fff;
    border: none;
    padding: 14px 40px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
    text-align: center;
}

.btn-checkout:hover {
    background: #FCA814;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal {
    background: #ffffff;
    border-radius: 12px;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    border-bottom: 1px solid #e8e8e8;
}

.modal-header h3 {
    font-size: 20px;
    margin: 0;
    color: #1a1a1a;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
    padding: 0 4px;
}

.modal-close:hover {
    color: #1a1a1a;
}

.modal-body {
    padding: 24px;
}

.modal-body p {
    font-size: 16px;
    color: #333;
    margin: 0 0 8px 0;
}

.modal-body .modal-warning {
    font-size: 14px;
    color: #f44336;
    margin-top: 4px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 24px;
    border-top: 1px solid #e8e8e8;
}

.modal-btn {
    padding: 10px 28px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.modal-btn-cancel {
    background: #f5f5f5;
    color: #666;
}

.modal-btn-cancel:hover {
    background: #e8e8e8;
}

.modal-btn-confirm {
    background: #f44336;
    color: #ffffff;
}

.modal-btn-confirm:hover {
    background: #d32f2f;
}

.empty-cart {
    text-align: center;
    padding: 60px 20px;
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.empty-cart h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.empty-cart p {
    color: #666;
    margin-bottom: 25px;
}

.btn-primary {
    display: inline-block;
    background: #FCA814;
    color: #ffffff;
    padding: 14px 40px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #FCA814;
}

.checkout-form {
    margin-top: 30px;
    padding: 30px;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    background: #fff;
}

.checkout-form h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #FCA814;
    outline: none;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.btn-submit {
    background: #4caf50;
    color: #fff;
    border: none;
    padding: 12px 35px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #388e3c;
}

.btn-cancel {
    background: #f5f5f5;
    color: #666;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-cancel:hover {
    background: #e8e8e8;
}

.search-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e8e8e8;
}

.search-header h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

.search-query {
    font-size: 16px;
    color: #666;
    margin-bottom: 5px;
}

.search-count {
    font-size: 14px;
    color: #999;
}

.search-empty {
    text-align: center;
    padding: 60px 20px;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 8px;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    animation: slideIn 0.3s ease;
}

.notification-success {
    background: #4caf50;
    color: #fff;
}

.notification-error {
    background: #f44336;
    color: #fff;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.product-main-image {
    width: 100%;
    height: 400px;
    background: #fafafa;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-main-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-thumbnails {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.thumbnail-item {
    width: 70px;
    height: 70px;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumbnail-item:hover {
    border-color: #999;
}

.thumbnail-item.active {
    border-color: #FCA814;
}

.thumbnail-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.product-detail .product-info {
    padding: 0;
}

.product-detail .product-price {
    font-size: 28px;
    margin: 10px 0;
}

.product-detail .product-description {
    margin: 15px 0;
    color: #666;
    line-height: 1.6;
}

.product-detail .product-packaging {
    margin: 10px 0;
    color: #666;
    font-size: 14px;
}

.btn-edit {
    display: inline-block;
    background: #666;
    color: #fff;
    padding: 8px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s;
}

.btn-edit:hover {
    background: #444;
    color: #fff;
}

.hero-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
    padding: 60px 40px;
    border-radius: 12px;
    margin-bottom: 40px;
    text-align: center;
}

.hero-section h1 {
    font-size: 48px;
    color: #FCA814;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 25px;
    opacity: 0.9;
    color: #fff;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.products-section h2 {
    font-size: 28px;
    margin-bottom: 25px;
}

@media (max-width: 1024px) {
    .header-search {
        max-width: 380px;
    }
}

@media (max-width: 992px) {
    .cart-header {
        display: none;
    }

    .cart-item {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        padding: 15px;
    }

    .cart-item-product {
        flex: 1 1 100%;
        min-width: 0;
    }

    .cart-item-price {
        flex: 0 0 auto;
        order: 2;
        text-align: left;
    }

    .cart-item-quantity {
        order: 3;
        flex: 0 0 auto;
    }

    .cart-item-total {
        order: 4;
        flex: 0 0 auto;
        text-align: left;
    }

    .cart-item-remove {
        order: 5;
        margin-left: auto;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
        gap: 10px;
    }

    .logo {
        flex: 0 0 auto;
    }

    .logo a {
        font-size: 22px;
    }

    .header-search {
        order: 3;
        flex: 1 1 100%;
        max-width: 100%;
        margin: 5px 0;
    }

    .header-nav {
        flex: 0 0 auto;
        gap: 15px;
    }

    .nav-link {
        font-size: 13px;
    }

    .dropdown-menu {
        min-width: 180px;
        right: 0;
        left: auto;
    }

    .dropdown-item {
        font-size: 13px;
        padding: 8px 16px;
    }

    .search-input {
        font-size: 14px;
        padding: 8px 14px;
        height: 40px;
    }

    .search-btn {
        padding: 8px 14px;
        font-size: 16px;
        height: 40px;
    }

    .suggestion-item {
        padding: 10px 12px;
        min-height: 56px;
        gap: 10px;
    }

    .suggestion-image,
    .suggestion-image-placeholder {
        width: 42px;
        height: 42px;
    }

    .suggestion-name {
        font-size: 14px;
    }

    .suggestion-price {
        font-size: 14px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 15px;
    }

    .product-card {
        min-height: 320px;
    }

    .product-image {
        height: 140px;
    }

    .product-name-wrapper {
        height: 44px;
    }

    .product-name-scroll h3 {
        font-size: 13px;
    }

    .product-price {
        font-size: 17px;
    }

    .cart-summary {
        flex-direction: column;
        text-align: center;
    }

    .checkout-form {
        padding: 20px;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn-submit,
    .btn-cancel {
        width: 100%;
        text-align: center;
    }

    .cart-item-image {
        width: 60px;
        height: 60px;
    }

    .cart-item-name {
        font-size: 14px;
    }

    .product-detail {
        grid-template-columns: 1fr;
    }

    .product-main-image {
        height: 250px;
    }

    .thumbnail-item {
        width: 50px;
        height: 50px;
    }

    .hero-section {
        padding: 40px 20px;
    }

    .hero-section h1 {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .search-header h1 {
        font-size: 22px;
    }

    .search-query {
        font-size: 14px;
    }

    .empty-icon {
        font-size: 48px;
    }

    .search-empty h2 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .header-nav {
        gap: 10px;
    }

    .nav-link {
        font-size: 12px;
    }

    .cart-icon {
        font-size: 16px;
    }

    .logo a {
        font-size: 18px;
    }

    .search-input {
        font-size: 13px;
        padding: 6px 12px;
        height: 36px;
    }

    .search-btn {
        padding: 6px 12px;
        font-size: 14px;
        height: 36px;
    }

    .suggestion-item {
        padding: 8px 10px;
        min-height: 48px;
        gap: 8px;
    }

    .suggestion-image,
    .suggestion-image-placeholder {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .suggestion-name {
        font-size: 13px;
    }

    .suggestion-price {
        font-size: 13px;
    }

    .suggestion-article {
        font-size: 10px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 12px;
    }

    .product-card {
        min-height: 280px;
    }

    .product-image {
        height: 120px;
    }

    .product-name-wrapper {
        height: 38px;
    }

    .product-name-scroll h3 {
        font-size: 12px;
    }

    .product-price {
        font-size: 15px;
    }

    .btn-add-to-cart {
        font-size: 12px;
        padding: 8px;
    }

    .cart-item {
        padding: 12px;
        gap: 10px;
    }

    .cart-item-image {
        width: 50px;
        height: 50px;
    }

    .cart-item-name {
        font-size: 13px;
    }

    .cart-item-price {
        font-size: 14px;
    }

    .qty-btn {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }

    .qty-input {
        width: 40px;
        height: 28px;
        font-size: 13px;
    }

    .cart-item-total {
        font-size: 16px;
    }

    .hero-section {
        padding: 30px 15px;
    }

    .hero-section h1 {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 14px;
    }
}

.cart-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1px; 
    flex-wrap: wrap;
    gap: 10px;
}

.page-title {
    font-size: 32px;
    margin: 0;
    padding-top: 4px;
}

.btn-clear-cart-header {
    background: transparent;
    color: #999;
    border: 1px solid #d0d0d0;  
    padding: 4px 12px;        
    border-radius: 4px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    align-self: center;
    margin-top: -20px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.catalog-btn-wrapper {
    position: relative;
}

.catalog-btn {
    background: #FCA814;
    color: #ffffff;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 15px;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
    line-height: 1;
}

.catalog-btn:hover {
    background: #FCA814;
}

.burger-icon {
    font-size: 16px;
    line-height: 1;
}

.mega-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.18);
    border: 1px solid #e8e8e8;
    display: none;
    z-index: 2000;
    overflow: hidden;
    transition: width 0.2s ease;
}

.mega-menu.active {
    display: block;
}

.mega-columns {
    display: flex;
    min-height: 400px;
}

.mega-col {
    padding: 12px 0;
    overflow-y: auto;
    max-height: 520px;
    flex-shrink: 0;
}

.mega-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mega-col-categories {
    width: 260px;
    background: #f8f9fa;
    border-right: 1px solid #eeeeee;
}

.mega-col-groups {
    width: 0;
    opacity: 0;
    border-right: 1px solid #eeeeee;
    overflow: hidden;
    transition: width 0.2s ease, opacity 0.15s ease;
    padding: 0;
}

.mega-col-groups.visible {
    width: 320px;
    opacity: 1;
    padding: 12px 0;
}

.mega-col-rubrics {
    width: 0;
    opacity: 0;
    overflow: hidden;
    transition: width 0.2s ease, opacity 0.15s ease;
    padding: 0;
}

.mega-col-rubrics.visible {
    width: 320px;
    opacity: 1;
    padding: 12px 0;
}

.mega-category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 18px;
    cursor: pointer;
    color: #1a1a1a;
    font-size: 14px;
    font-family: inherit;
    font-weight: 500;
    line-height: 1.3;
    transition: background 0.15s, color 0.15s;
    background: transparent;
    border: none;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
}

.mega-category-item:hover,
.mega-category-item.active {
    background: #ffffff;
    color: #FCA814;
}

.mega-category-item .arrow,
.mega-group-item .arrow {
    color: #bbbbbb;
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
    margin-left: 6px;
}

.mega-group-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.15s;
    background: transparent;
    cursor: pointer;
}

.mega-group-item:hover,
.mega-group-item.active {
    background: #f5f5f5;
}

.mega-rubric-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.15s;
}

.mega-rubric-item:hover {
    background: #f5f5f5;
}

.mega-link {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 18px;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 14px;
    font-family: inherit;
    line-height: 1.3;
    transition: color 0.15s;
    box-sizing: border-box;
    min-width: 0;
}

.mega-link:hover {
    color: #FCA814;
}

.mega-link span:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mega-count {
    color: #999999;
    font-size: 12px;
    margin-left: 10px;
    white-space: nowrap;
    flex-shrink: 0;
}

.mega-placeholder {
    padding: 20px;
    color: #aaaaaa;
    font-size: 13px;
    text-align: center;
    list-style: none;
}

/* ===== Скроллбар ===== */
.mega-col::-webkit-scrollbar {
    width: 5px;
}
.mega-col::-webkit-scrollbar-track {
    background: transparent;
}
.mega-col::-webkit-scrollbar-thumb {
    background: #d0d0d0;
    border-radius: 4px;
}

@media (max-width: 900px) {
    .mega-menu {
        min-width: 100%;
        left: 0;
        right: 0;
    }
    .mega-columns {
        flex-direction: column;
        min-height: auto;
    }
    .mega-col {
        max-height: 300px;
        border-right: none;
        border-bottom: 1px solid #eeeeee;
    }
    .mega-col-categories,
    .mega-col-groups.visible,
    .mega-col-rubrics.visible {
        width: 100%;
    }
}

.hero-title-block {
    text-align: center;
    padding: 30px 20px 20px;
    margin-bottom: 10px;
}

.hero-title {
    font-size: 56px;
    font-weight: bold;
    color: #1a1a1a;
    letter-spacing: 4px;
    margin: 0 0 8px 0;
    line-height: 1.1;
}

.hero-subtitle-text {
    font-size: 20px;
    color: #666;
    margin: 0;
    letter-spacing: 1px;
    font-weight: 400;
}

@media (max-width: 768px) {
    .hero-title-block {
        padding: 20px 15px 15px;
    }
    .hero-title {
        font-size: 38px;
        letter-spacing: 3px;
    }
    .hero-subtitle-text {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 30px;
        letter-spacing: 2px;
    }
    .hero-subtitle-text {
        font-size: 14px;
    }
}

.hero-image-block {
    width: 100%;
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    width: 100%;
    height: auto;
    max-width: 1774px;
    display: block;
    object-fit: cover;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .hero-image-block {
        margin-bottom: 25px;
        border-radius: 8px;
    }
    .hero-image {
        border-radius: 8px;
    }
}

.product-card .product-image {
    position: relative;
}

.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: bold;
    color: #fff;
    border-radius: 4px;
    letter-spacing: 0.5px;
    z-index: 2;
    text-transform: uppercase;
}

.badge-hit {
    background: #FCA814;
    box-shadow: 0 2px 6px rgba(252, 168, 20, 0.4);
    top: 10px;
    left: 10px;
}

.badge-discount {
    background: #e53935;
    box-shadow: 0 2px 6px rgba(229, 57, 53, 0.4);
    top: 10px;
    left: auto;
    right: 10px;
}

.product-price-block {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}

.price-old {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
    font-weight: normal;
}

.price-new {
    font-size: 20px;
    font-weight: bold;
    color: #e53935;
}

.product-price {
    font-size: 20px;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.empty-section {
    color: #999;
    font-size: 15px;
    padding: 20px 0;
    grid-column: 1 / -1;
}

.product-detail .product-price-block {
    margin: 10px 0;
}

.product-detail .price-old {
    font-size: 18px;
}

.product-detail .price-new {
    font-size: 30px;
}

footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 40px 0 20px;
    margin-top: 50px;
    flex-shrink: 0;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-columns {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.footer-col {
    text-align: center;
}

.footer-col ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (max-width: 768px) {
    .footer-col ul {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
}

.footer-col h4 {
    color: #FCA814;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col a {
    color: #FCA814;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #ffc14d;
}

.footer-contact {
    margin-bottom: 8px;
    font-size: 14px;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-icon {
    color: #FCA814;
    font-size: 16px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: #FCA814;
}

.footer-col-catalog ul {
    columns: 2;
    column-gap: 20px;
}

@media (max-width: 768px) {
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .footer-col-catalog ul {
        columns: 1;
    }
}

.page-container {
    max-width: 1000px;
}

.breadcrumbs {
    font-size: 13px;
    color: #999;
    margin-bottom: 20px;
}

.breadcrumbs a {
    color: #666;
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: #FCA814;
}

.page-title {
    font-size: 36px;
    margin-bottom: 30px;
    color: #1a1a1a;
}

.info-box {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.info-box h2 {
    font-size: 22px;
    margin-bottom: 20px;
}

.info-row {
    font-size: 16px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-icon {
    color: #FCA814;
    font-size: 18px;
    width: 22px;
    display: inline-block;
}

.info-row a {
    color: #1a1a1a;
    text-decoration: none;
}

.info-row a:hover {
    color: #FCA814;
}

.btn-feedback {
    display: inline-block;
    border: 2px solid #FCA814;
    color: #FCA814;
    background: #fff;
    padding: 14px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
    margin-top: 15px;
    transition: all 0.2s;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

.btn-feedback:hover {
    background: #FCA814;
    color: #fff;
}

.requisites-card {
    display: flex;
    gap: 30px;
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    align-items: flex-start;
}

.requisites-icon {
    font-size: 80px;
    flex-shrink: 0;
    line-height: 1;
}

.requisites-info h2 {
    font-size: 22px;
    margin-bottom: 15px;
}

.requisites-info p {
    font-size: 16px;
    margin-bottom: 8px;
    color: #333;
}

@media (max-width: 600px) {
    .requisites-card {
        flex-direction: column;
    }
    .requisites-icon {
        font-size: 60px;
    }
}

.cards-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.cards-row-4 {
    grid-template-columns: repeat(4, 1fr);
}

.info-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 25px;
    transition: box-shadow 0.2s;
}

.info-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.info-card h2,
.info-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.info-card hr {
    border: none;
    border-top: 1px solid #e8e8e8;
    margin-bottom: 15px;
}

.info-card ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 15px 0;
}

.info-card ul li {
    padding-left: 18px;
    position: relative;
    margin-bottom: 6px;
    font-size: 14px;
    color: #444;
}

.info-card ul li::before {
    content: "▪";
    color: #FCA814;
    position: absolute;
    left: 0;
    font-size: 14px;
}

.info-card .price {
    font-size: 16px;
    margin-bottom: 15px;
    color: #666;
}

.info-card .price strong {
    font-size: 28px;
    color: #1a1a1a;
    margin-left: 8px;
}

.info-card .free {
    color: #FCA814;
    font-weight: bold;
    font-size: 14px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

@media (max-width: 900px) {
    .cards-row-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .cards-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .cards-row-4 {
        grid-template-columns: 1fr;
    }
    .page-title {
        font-size: 26px;
    }
    .info-box,
    .info-card,
    .requisites-card {
        padding: 20px;
    }
}

.tabs-nav {
    display: flex;
    gap: 30px;
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: 25px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 12px 0;
    font-size: 15px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
}

.tab-btn:hover {
    color: #FCA814;
}

.tab-btn.active {
    color: #FCA814;
}

.tab-btn.active::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: #FCA814;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Карточка склада */
.warehouse-card {
    display: flex;
    gap: 25px;
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    align-items: flex-start;
}

.warehouse-icon {
    font-size: 60px;
    flex-shrink: 0;
    line-height: 1;
}

.warehouse-info h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.warehouse-info p {
    font-size: 15px;
    color: #444;
    margin-bottom: 6px;
    line-height: 1.5;
}

.warehouse-note {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed #ccc;
    color: #666 !important;
    font-size: 14px !important;
}

@media (max-width: 600px) {
    .warehouse-card {
        flex-direction: column;
    }
    .tabs-nav {
        gap: 15px;
        overflow-x: auto;
    }
    .tab-btn {
        font-size: 13px;
        white-space: nowrap;
    }
}

.footer-ozon {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #FCA814 !important;
    font-weight: bold;
    transition: color 0.2s, transform 0.2s;
}

.footer-ozon:hover {
    color: #ffc14d !important;
    transform: translateX(2px);
}

.legal-content {
    font-size: 15px;
    line-height: 1.7;
    color: #333;
    max-width: 900px;
}

.legal-content h2 {
    font-size: 18px;
    font-weight: bold;
    color: #1a1a1a;
    margin: 30px 0 12px;
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content p {
    margin-bottom: 12px;
}

.legal-content ul {
    margin: 10px 0 15px 25px;
    padding: 0;
}

.legal-content ul li {
    margin-bottom: 6px;
}

.legal-content a {
    color: #FCA814;
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

.legal-meta {
    font-size: 13px;
    color: #999;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e8e8e8;
}

.min-order-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 14px;
    margin: 10px 0;
    text-align: center;
    width: 100%;
    line-height: 1.5;
}

.min-order-warning strong {
    color: #e53935;
}

.btn-checkout:disabled {
    background: #ccc !important;
    cursor: not-allowed;
    opacity: 0.7;
}

.radio-group {
    display: flex;
    gap: 25px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: normal !important;
    font-size: 15px;
    color: #333;
}

.radio-label input[type="radio"] {
    width: auto;
    margin: 0;
    cursor: pointer;
}

.price-note {
    font-size: 12px;
    color: #999;
    margin: 4px 0 8px;
    line-height: 1.4;
}

.inline-message {
    padding: 12px 18px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 15px;
}

.inline-message-error {
    background: #fee;
    color: #c00;
    border: 1px solid #fcc;
}

.success-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.success-modal-content {
    background: #fff;
    border-radius: 16px;
    padding: 50px 40px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 70px rgba(0,0,0,0.3);
    animation: slideUp 0.35s ease;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #4caf50;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    margin: 0 auto 25px;
    font-weight: bold;
}

.success-modal-content h2 {
    font-size: 24px;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.success-modal-content p {
    color: #666;
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.5;
}

.success-btn {
    display: inline-block;
    background: #FCA814;
    color: #fff;
    padding: 14px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: background 0.3s;
}

.success-btn:hover {
    background: #e08c00;
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    user-select: none;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
    z-index: 2;
}

.lightbox-close:hover { color: #FCA814; }

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    font-size: 46px;
    cursor: pointer;
    padding: 10px 22px;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
    line-height: 1;
    z-index: 2;
}

.lightbox-prev { left: 25px; }
.lightbox-next { right: 25px; }

.lightbox-prev:hover,
.lightbox-next:hover {
    background: #FCA814;
    color: #1a1a1a;
}

@media (max-width: 600px) {
    .lightbox-prev, .lightbox-next { font-size: 32px; padding: 8px 16px; }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
    .lightbox-close { font-size: 28px; top: 15px; right: 15px; }
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a1a1a;
    color: #e0e0e0;
    z-index: 9998;
    padding: 20px;
    box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.25);
    animation: cookieSlideUp 0.4s ease;
}

@keyframes cookieSlideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.cookie-banner-content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 280px;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-banner-text strong {
    color: #FCA814;
    font-size: 15px;
    display: block;
    margin-bottom: 6px;
}

.cookie-banner-text p {
    margin: 0;
    color: #bbb;
}

.cookie-banner-text a {
    color: #FCA814;
    text-decoration: underline;
}

.cookie-banner-text a:hover {
    color: #ffc14d;
}

.cookie-banner-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 10px 22px;
    border-radius: 6px;
    border: none;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: #FCA814;
    color: #fff;
}

.cookie-btn-accept:hover {
    background: #e08c00;
}

.cookie-btn-settings {
    background: transparent;
    color: #FCA814;
    border: 2px solid #FCA814;
}

.cookie-btn-settings:hover {
    background: #FCA814;
    color: #1a1a1a;
}

.cookie-btn-reject {
    background: transparent;
    color: #bbb;
    border: 2px solid #555;
}

.cookie-btn-reject:hover {
    background: #333;
    color: #fff;
    border-color: #888;
}

@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        gap: 15px;
    }
    .cookie-banner-actions {
        width: 100%;
        justify-content: stretch;
    }
    .cookie-btn {
        flex: 1;
        text-align: center;
    }
}

.cookie-settings-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.cookie-settings-dialog {
    background: #fff;
    border-radius: 12px;
    max-width: 550px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.cookie-settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #e8e8e8;
}

.cookie-settings-header h3 {
    margin: 0;
    font-size: 20px;
}

.cookie-settings-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    line-height: 1;
}

.cookie-settings-close:hover {
    color: #1a1a1a;
}

.cookie-settings-body {
    padding: 20px 25px;
}

.cookie-option {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.cookie-option:last-child {
    border-bottom: none;
}

.cookie-option label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 15px;
}

.cookie-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #FCA814;
}

.cookie-option input[type="checkbox"]:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.cookie-option p {
    margin: 6px 0 0 28px;
    font-size: 13px;
    color: #777;
    line-height: 1.5;
}

.cookie-settings-footer {
    padding: 15px 25px 20px;
    border-top: 1px solid #e8e8e8;
    text-align: right;
}

@media (max-width: 500px) {
    .cookie-settings-header,
    .cookie-settings-body,
    .cookie-settings-footer {
        padding-left: 18px;
        padding-right: 18px;
    }
}