* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #fdf7f2;
    font-family: 'Lora', Georgia, serif;
    color: #2d2015;
    padding-bottom: 20px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes modalPop {
    from {
        opacity: 0;
        transform: translate(-50%, -48%) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.product-card,
.order-card {
    animation: fadeIn 0.3s ease;
}

.header {
    background: white;
    padding: 16px 5%;
    border-bottom: 3px solid #7a5c44;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    object-fit: cover;
}

.logo h1 {
    font-size: 2rem;
    color: #7a5c44;
    font-weight: 700;
    font-style: italic;
}

.user-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.cart-icon {
    background: #7a5c44;
    color: white;
    padding: 8px 20px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
    user-select: none;
}

.cart-icon:hover {
    background: #5c4230;
    transform: scale(1.02);
}

.logout-btn {
    background: #f5ede6;
    color: #7a5c44;
    border: 1px solid #7a5c44;
    padding: 6px 18px;
    border-radius: 40px;
    cursor: pointer;
    font-size: 0.9rem;
    font-family: inherit;
    transition: 0.2s;
}

.logout-btn:hover {
    background: #7a5c44;
    color: white;
}

.login-header-btn {
    background: #7a5c44;
    color: white;
    border: none;
    padding: 6px 18px;
    border-radius: 40px;
    cursor: pointer;
    font-size: 0.9rem;
    font-family: inherit;
    transition: 0.2s;
}

.login-header-btn:hover {
    background: #5c4230;
}

.categories-nav-wrapper {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(4px);
    border-bottom: 1px solid #e8d5c4;
    display: flex;
    align-items: center;
}

.categories-nav-arrow {
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 0 10px;
    color: #7a5c44;
    height: 100%;
    display: flex;
    align-items: center;
    opacity: 0.6;
    transition: opacity 0.2s;
    user-select: none;
}

.categories-nav-arrow:hover { opacity: 1; }
.categories-nav-arrow.hidden { visibility: hidden; }

.categories-nav {
    padding: 12px 0;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    flex: 1;
    overflow-x: auto;
    scrollbar-width: none;
    cursor: grab;
}

.categories-nav.dragging { cursor: grabbing; }

.categories-nav::-webkit-scrollbar {
    display: none;
}

.cat-btn {
    background: none;
    border: none;
    font-size: 0.9rem;
    padding: 8px 20px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 500;
    color: #5a4a3e;
    font-family: inherit;
    transition: 0.2s;
    white-space: nowrap;
}

.cat-btn.active {
    background: #7a5c44;
    color: white;
}

.cat-btn:hover:not(.active) {
    background: #f0e0d0;
    color: #7a5c44;
}

.subcategories-nav {
    padding: 8px 5%;
    gap: 8px;
    flex-wrap: wrap;
    background: #fffaf7;
    border-bottom: 1px solid #e8d5c4;
    display: flex;
}

.subcat-btn {
    background: none;
    border: 1px solid #c9a882;
    font-size: 0.85rem;
    padding: 6px 16px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 500;
    color: #5a4a3e;
    font-family: inherit;
    transition: 0.2s;
}

.subcat-btn.active {
    background: #7a5c44;
    color: white;
    border-color: #7a5c44;
}

.subcat-btn:hover:not(.active) {
    background: #f0e0d0;
    color: #7a5c44;
}

.products-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 40px 5%;
    justify-content: center;
    min-height: 400px;
}

.product-card {
    background: white;
    width: 280px;
    border-radius: 24px;
    padding: 20px;
    text-align: center;
    border: 1px solid #ead9c8;
    transition: 0.25s;
    position: relative;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px rgba(122, 92, 68, 0.12);
    border-color: #7a5c44;
}

.product-card img {
    width: 100%;
    border-radius: 16px;
    margin-bottom: 12px;
    aspect-ratio: 1/1;
    object-fit: cover;
    background: #f9f0eb;
}

.product-card h3 {
    font-size: 1.05rem;
    margin: 12px 0 6px;
    font-weight: 600;
}

.price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #7a5c44;
    margin: 12px 0;
}

.add-to-cart {
    background: #7a5c44;
    color: white;
    border: none;
    padding: 10px 0;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: 0.2s;
    font-family: inherit;
}

.add-to-cart:hover {
    background: #5c4230;
}

.delete-product {
    background: #faf0ed;
    color: #7a5c44;
    border: 1px solid #c9a882;
    margin-top: 10px;
    padding: 6px;
    border-radius: 40px;
    width: 100%;
    cursor: pointer;
    transition: 0.2s;
    font-family: inherit;
}

.delete-product:hover {
    background: #f0e0d0;
}

.card-likes {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ead9c8;
    border-radius: 20px;
    padding: 3px 10px;
    font-size: 0.8rem;
    color: #7a5c44;
    display: flex;
    align-items: center;
    gap: 4px;
}

.cart-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.cart-content {
    background: white;
    width: 90%;
    max-width: 550px;
    border-radius: 32px;
    padding: 28px;
    border-top: 6px solid #7a5c44;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.close-cart {
    position: absolute;
    right: 20px;
    top: 15px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    line-height: 1;
}

.close-cart:hover {
    color: #7a5c44;
}

.cart-items {
    max-height: 300px;
    overflow-y: auto;
    margin: 20px 0;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #ead9c8;
    padding: 12px 0;
    align-items: center;
}

.cart-item button {
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    margin-left: 8px;
}

.cart-item-variant {
    font-size: 0.75rem;
    color: #8b6b5c;
    display: block;
    margin-top: 2px;
}

.total {
    font-size: 1.3rem;
    font-weight: 700;
    text-align: right;
    color: #7a5c44;
    margin-bottom: 16px;
}

.order-btn {
    background: #7a5c44;
    color: white;
    border: none;
    padding: 14px;
    width: 100%;
    border-radius: 40px;
    font-weight: 600;
    margin-top: 12px;
    cursor: pointer;
    transition: 0.2s;
    font-size: 1rem;
    font-family: inherit;
}

.order-btn:hover {
    background: #5c4230;
}

#guestFields input {
    width: 100%;
    margin: 6px 0;
    padding: 10px 16px;
    border-radius: 40px;
    border: 1px solid #e8d5c4;
    font-size: 0.95rem;
    outline: none;
    font-family: inherit;
}

#guestFields input:focus {
    border-color: #7a5c44;
}

.auth-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.auth-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001;
    width: 90%;
    max-width: 400px;
}

.auth-box {
    background: white;
    padding: 36px 32px 28px;
    border-radius: 32px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18);
    border-top: 6px solid #7a5c44;
    animation: modalPop 0.25s ease;
    position: relative;
}

.close-auth-btn {
    position: absolute;
    right: 18px;
    top: 14px;
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
    color: #bbb;
    line-height: 1;
}

.close-auth-btn:hover {
    color: #7a5c44;
}

.auth-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.auth-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
}

.auth-logo h2 {
    font-size: 1.6rem;
    color: #7a5c44;
    font-weight: 700;
    font-style: italic;
}

.auth-subtitle {
    font-size: 0.9rem;
    color: #8b6b5c;
    margin-bottom: 20px;
}

.auth-box input {
    width: 100%;
    padding: 11px 16px;
    margin: 6px 0;
    border-radius: 40px;
    border: 1px solid #d9c4b0;
    font-size: 0.95rem;
    outline: none;
    font-family: inherit;
}

.auth-box input:focus {
    border-color: #7a5c44;
}

.auth-primary-btn {
    width: 100%;
    padding: 12px;
    margin: 10px 0 6px;
    border-radius: 40px;
    background: #7a5c44;
    color: white;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
    font-family: inherit;
}

.auth-primary-btn:hover {
    background: #5c4230;
}

.auth-switch {
    text-align: center;
    font-size: 0.85rem;
    color: #8b6b5c;
    margin-top: 8px;
}

.auth-switch a {
    color: #7a5c44;
    text-decoration: none;
    font-weight: 600;
}

.auth-switch a:hover {
    text-decoration: underline;
}

.captcha-svg {
    cursor: pointer;
    margin: 8px 0 4px;
    text-align: center;
}

.captcha-svg svg {
    width: 100%;
    max-width: 180px;
    background: #f5f5f5;
    border-radius: 10px;
}

.admin-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid #e8d5c4;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tab-btn {
    background: none;
    border: none;
    padding: 10px 22px;
    cursor: pointer;
    font-weight: 500;
    color: #6b5a4e;
    font-family: inherit;
    transition: 0.2s;
}

.tab-btn.active {
    color: #7a5c44;
    border-bottom: 2px solid #7a5c44;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.order-card {
    background: #fefaf7;
    margin-bottom: 16px;
    padding: 16px;
    border-radius: 20px;
    border: 1px solid #e8d5c4;
}

.order-status-select {
    border-radius: 20px;
    padding: 5px 10px;
    border: 1px solid #e8d5c4;
    font-family: inherit;
    background: white;
}

.delete-order-btn {
    background: #faf0ed;
    border: 1px solid #c9a882;
    border-radius: 20px;
    padding: 5px 14px;
    cursor: pointer;
    color: #7a5c44;
    font-family: inherit;
}

.delete-order-btn:hover {
    background: #f0e0d0;
}

.variants-toggle-row {
    margin: 16px 0 8px;
}

.variants-toggle-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    color: #5a4a3e;
    font-family: inherit;
}

.variants-toggle-label input[type="checkbox"] {
    accent-color: #7a5c44;
    width: 16px;
    height: 16px;
}

#variantsSection {
    margin-top: 16px;
    padding: 16px;
    background: #fefaf7;
    border-radius: 20px;
    border: 1px solid #ead9c8;
}

#variantsList {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.variant-group {
    background: white;
    border: 1px solid #e8d5c4;
    border-radius: 16px;
    padding: 14px;
}

.variant-group-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.variant-group-header input {
    flex: 1;
    padding: 8px 14px;
    border-radius: 30px;
    border: 1px solid #d9c4b0;
    font-size: 0.9rem;
    font-family: inherit;
    background: white;
}

.variant-group-header input:focus {
    outline: none;
    border-color: #7a5c44;
}

.remove-variant-group-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #c9a882;
    padding: 4px 8px;
    transition: 0.2s;
}

.remove-variant-group-btn:hover {
    color: #7a5c44;
    transform: scale(1.1);
}

.variant-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.variant-option-chip {
    background: #fdf7f2;
    border: 1px solid #c9a882;
    border-radius: 20px;
    padding: 4px 10px 4px 14px;
    font-size: 0.85rem;
    color: #5a4a3e;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.remove-option-btn {
    background: none;
    border: none;
    color: #c9a882;
    font-size: 14px;
    cursor: pointer;
    padding: 0 4px;
    transition: 0.2s;
}

.remove-option-btn:hover {
    color: #7a5c44;
}

.variant-add-row {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.variant-add-row input {
    flex: 1;
    padding: 7px 12px;
    border-radius: 30px;
    border: 1px solid #d9c4b0;
    font-size: 0.85rem;
    font-family: inherit;
}

.variant-add-row input:focus {
    outline: none;
    border-color: #7a5c44;
}

.variant-add-row button {
    background: #7a5c44;
    color: white;
    border: none;
    padding: 7px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: 0.2s;
}

.variant-add-row button:hover {
    background: #5c4230;
}

.add-variant-btn {
    background: none;
    border: 1px dashed #c9a882;
    color: #7a5c44;
    padding: 10px 16px;
    border-radius: 30px;
    font-size: 0.88rem;
    cursor: pointer;
    width: 100%;
    margin-top: 12px;
    transition: 0.2s;
    font-family: inherit;
}

.add-variant-btn:hover {
    background: #f0e0d0;
    border-color: #7a5c44;
}

.product-modal-content {
    max-width: 700px;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-modal-top {
    display: flex;
    gap: 0;
}

.product-modal-img {
    width: 300px;
    min-height: 300px;
    object-fit: cover;
    flex-shrink: 0;
    background: #f9f0eb;
}

.product-modal-info {
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-modal-info h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2d2015;
    margin-bottom: 8px;
}

.product-modal-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: #7a5c44;
    margin-bottom: 14px;
}

.product-modal-desc {
    font-size: 0.95rem;
    color: #5a4a3e;
    line-height: 1.6;
    margin-bottom: 16px;
}

.product-modal-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: auto;
}

.product-modal-actions .add-to-cart {
    flex: 1;
}

.like-btn {
    background: white;
    border: 1px solid #c9a882;
    color: #7a5c44;
    padding: 10px 16px;
    border-radius: 40px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

.like-btn.liked {
    background: #7a5c44;
    color: white;
    border-color: #7a5c44;
}

.product-variants-area {
    margin: 12px 0;
}

.variant-selector {
    margin-bottom: 14px;
}

.variant-selector label {
    display: block;
    font-size: 0.85rem;
    color: #8b6b5c;
    margin-bottom: 6px;
    font-weight: 600;
}

.variant-options-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.variant-opt-btn {
    background: white;
    border: 1px solid #c9a882;
    border-radius: 20px;
    padding: 5px 16px;
    font-size: 0.85rem;
    color: #5a4a3e;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}

.variant-opt-btn:hover {
    background: #f0e0d0;
}

.variant-opt-btn.selected {
    background: #7a5c44;
    color: white;
    border-color: #7a5c44;
}

.reviews-section {
    border-top: 1px solid #e8d5c4;
    padding: 20px 28px 24px;
}

.reviews-section h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #2d2015;
    margin-bottom: 14px;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 220px;
    overflow-y: auto;
    margin-bottom: 16px;
}

.review-card {
    background: #fefaf7;
    border: 1px solid #e8d5c4;
    border-radius: 16px;
    padding: 12px 14px;
    position: relative;
}

.review-card .review-author {
    font-weight: 700;
    font-size: 0.9rem;
    color: #7a5c44;
    margin-bottom: 4px;
}

.review-card .review-date {
    font-size: 0.75rem;
    color: #b09080;
    margin-bottom: 6px;
}

.review-card .review-text {
    font-size: 0.9rem;
    color: #3d3530;
    line-height: 1.5;
}

.review-delete-btn {
    position: absolute;
    top: 10px;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.8rem;
    color: #7a5c44;
    opacity: 0.6;
}

.review-delete-btn:hover {
    opacity: 1;
}

.review-form textarea {
    width: 100%;
    margin: 5px 0;
    padding: 10px 14px;
    border-radius: 16px;
    border: 1px solid #e8d5c4;
    font-size: 0.93rem;
    font-family: inherit;
    resize: vertical;
}

.review-login-hint {
    background: #fefaf7;
    border: 1px dashed #e8d5c4;
    border-radius: 16px;
    padding: 16px;
    text-align: center;
    color: #8b6b5c;
    font-size: 0.9rem;
}

.blocking-section {
    margin-bottom: 24px;
}

.blocking-section h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #2d2015;
    margin-bottom: 10px;
}

.block-input-row {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.block-input-row input,
.block-input-row select {
    flex: 1;
    padding: 9px 14px;
    border-radius: 40px;
    border: 1px solid #e8d5c4;
    font-size: 0.9rem;
    outline: none;
    font-family: inherit;
}

.block-input-row input:focus,
.block-input-row select:focus {
    border-color: #7a5c44;
}

.block-btn {
    background: #7a5c44;
    color: white;
    border: none;
    padding: 9px 18px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.block-btn:hover {
    background: #5c4230;
}

.blocked-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 180px;
    overflow-y: auto;
}

.blocked-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fefaf7;
    border: 1px solid #e8d5c4;
    border-radius: 12px;
    padding: 8px 12px;
    font-size: 0.88rem;
}

.unblock-btn,
.block-user-quick-btn,
.block-active-ip-btn,
.delete-category-btn {
    background: none;
    border: 1px solid #7a5c44;
    color: #7a5c44;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.78rem;
    cursor: pointer;
    margin-left: 8px;
}

.unblock-btn:hover,
.block-user-quick-btn:hover,
.block-active-ip-btn:hover,
.delete-category-btn:hover {
    background: #7a5c44;
    color: white;
}

.about-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(3px);
}

.about-modal {
    position: relative;
    width: 96%;
    height: 92vh;
    max-width: 1100px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    background: url('info.jpg') center center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: modalPop 0.3s ease;
}

.about-modal::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.about-close-btn {
    position: absolute;
    top: 18px;
    right: 20px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.15);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
}

.about-close-btn:hover {
    background: #7a5c44;
    border-color: #7a5c44;
    transform: scale(1.1);
}

.about-text {
    position: relative;
    z-index: 2;
    color: white;
    font-size: 1.3rem;
    font-weight: 500;
    text-align: center;
    padding: 50px 60px;
    line-height: 1.7;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
    max-width: 850px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 32px;
    backdrop-filter: blur(2px);
}

.about-text p {
    margin-bottom: 18px;
}

.info-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
}

.info-modal {
    background: white;
    width: 90%;
    max-width: 560px;
    border-radius: 28px;
    padding: 32px 34px;
    border-top: 5px solid #7a5c44;
    position: relative;
    animation: modalPop 0.25s ease;
    max-height: 85vh;
    overflow-y: auto;
}

.info-modal h2 {
    font-size: 1.5rem;
    color: #2d2015;
    margin-bottom: 20px;
}

.info-modal-body {
    font-size: 0.96rem;
    color: #3d3530;
    line-height: 1.7;
}

.info-modal-body p,
.info-modal-body li {
    margin-bottom: 12px;
}

.info-modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #bbb;
}

.info-modal-close:hover {
    color: #7a5c44;
}

.footer {
    text-align: center;
    padding: 30px 5% 20px;
    border-top: 1px solid #e8d5c4;
    color: #6b5a4e;
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-link-btn {
    background: #f5ede6;
    color: #7a5c44;
    border: 1px solid #c9a882;
    padding: 8px 22px;
    border-radius: 40px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
}

.footer-link-btn:hover {
    background: #7a5c44;
    color: white;
}

.contacts-mini {
    background: #fef3ef;
    padding: 8px 16px;
    border-radius: 40px;
    display: flex;
    gap: 12px;
    font-size: 0.8rem;
    color: #5a4a3e;
    flex-wrap: wrap;
}

.error-msg {
    color: #7a5c44;
    font-size: 0.8rem;
    text-align: center;
    min-height: 18px;
    margin: 4px 0;
}

.empty-products {
    text-align: center;
    padding: 60px;
    color: #8b6b5c;
    font-size: 1.2rem;
}

.category-description {
    max-width: 1200px;
    margin: 0 auto 30px auto;
    padding: 20px 30px;
    background: #fffaf5;
    border-radius: 24px;
    border-left: 6px solid #7a5c44;
    font-size: 1rem;
    line-height: 1.6;
    color: #3d2a1e;
    box-shadow: 0 2px 8px rgba(122, 92, 68, 0.08);
}

.category-description-inner {
    white-space: pre-wrap;
}

#addProductTab input,
#addProductTab select,
#addProductTab textarea {
    width: 100%;
    margin: 8px 0;
    padding: 10px 16px;
    border-radius: 40px;
    border: 1px solid #e8d5c4;
    font-size: 0.95rem;
    font-family: inherit;
    box-sizing: border-box;
}

#addProductTab textarea {
    border-radius: 20px;
    resize: vertical;
    min-height: 80px;
}

@media (max-width: 640px) {
    .product-card {
        width: calc(50% - 20px);
    }
    .user-bar {
        width: 100%;
        justify-content: space-between;
    }
    .contacts-mini {
        display: none;
    }
    .logo h1 {
        font-size: 1.5rem;
    }
    .logo-img {
        width: 60px;
        height: 60px;
    }
    .product-modal-top {
        flex-direction: column;
    }
    .product-modal-img {
        width: 100%;
        min-height: 220px;
    }
    .about-text {
        font-size: 1rem;
        padding: 30px 20px;
    }
    .category-description {
        padding: 16px 20px;
        margin-bottom: 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 400px) {
    .product-card {
        width: 100%;
    }
}
#categoryDescriptionDisplay {
    max-width: 1200px;
    margin: 20px auto 0 auto;
    padding: 20px 30px;
    background: #fffaf5;
    border-radius: 24px;
    border-left: 6px solid #7a5c44;
    font-size: 1rem;
    line-height: 1.6;
    color: #3d2a1e;
    box-shadow: 0 2px 8px rgba(122,92,68,0.08);
}

.category-description-inner {
    white-space: pre-wrap;
}

@media (max-width: 640px) {
    #categoryDescriptionDisplay {
        padding: 16px 20px;
        margin: 16px 16px 0 16px;
        font-size: 0.9rem;
    }
}
#categoryDescriptionDisplay {
    max-width: 1200px;
    margin: 20px auto 0 auto;
    padding: 20px 30px;
    background: #fffaf5;
    border-radius: 24px;
    border-left: 6px solid #7a5c44;
    font-size: 1rem;
    line-height: 1.6;
    color: #3d2a1e;
    box-shadow: 0 2px 8px rgba(122,92,68,0.08);
}

@media (max-width: 640px) {
    #categoryDescriptionDisplay {
        padding: 16px 20px;
        margin: 16px 16px 0 16px;
        font-size: 0.9rem;
    }
}
