@import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Open+Sans:wght@400;700&display=swap');

/* 1. ԱՎԵԼԱՑՎԱԾ Է BOX-SIZING ԲՈԼՈՐ ԷԼԵՄԵՆՏՆԵՐԻ ՀԱՄԱՐ */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    align-items: center; 
    background-color: #ffffff;
    overflow-x: hidden; 
}

/* ======================================================== */
/* --- ԸՆԴՀԱՆՈՒՐ ՀՂՈՒՄՆԵՐ ԵՎ HOVER ԷՖԵԿՏ --- */
/* ======================================================== */
a {
    color: darkblue;
    text-decoration: none;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

a:hover {
    color: darkred;
    background-color: rgba(139, 0, 0, 0.1);
}

/* ======================================================== */
/* --- ՀԵԴԵՐ ԵՎ ԱՆԻՄԱՑԻԱ --- */
/* ======================================================== */
.logo-link { text-decoration: none; display: inline-block; vertical-align: middle; padding: 0; background: transparent; }
.logo-link:hover { background: transparent; } 
.logo-link:hover .image { transform: scale(1.05); transition: 0.3s; }
.image-container { position: relative; overflow: hidden; }
.image { position: relative; z-index: 1; }
.shine {
    position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; 
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0) 50%); 
    animation: shine 2s infinite; z-index: 2; 
}

@keyframes wave-animation {
    0% { transform: scale(1); color: #4f2c2c; }
    25% { transform: scale(1.1); color: #d2691e; }
    50%, 100% { transform: scale(1); color: #4f2c2c; }
}
@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.letter {
    font-family: 'Lobster', cursive; font-size: 32px; color: #4f2c2c;
    display: inline-block; transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform; margin: 0 2px; 
}
.animating { animation: wave-animation 2s infinite ease-in-out; }

#header {
    position: fixed; top: 0; left: 50%; transform: translateX(-50%);
    height: 138px; width: calc(100% - 10px); background: white; color: #4f2c2c;
    display: flex; align-items: center; justify-content: center; z-index: 3;
    padding: 10px; box-sizing: border-box; 
}
#header img { padding: 5px; }

/* ======================================================== */
/* --- ԳԼԽԱՎՈՐ ՆԱՎԻԳԱՑԻԱ --- */
/* ======================================================== */
#nav {
    position: fixed; 
    top: 138px; 
    left: 0; 
    width: 100%; 
    height: 50px; 
    background-color: #f3f4f6; 
    padding: 0; 
    z-index: 2; 
    font-family: 'Open Sans', 'Inter', sans-serif;
}

#nav ul {
    list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; 
    align-items: center; justify-content: center; height: 100%;
}

#nav li { list-style: none; margin: 0; padding: 0; cursor: default; }
#nav li:hover { background-color: transparent; }

#nav a {
    text-decoration: none; color: #4b5563 !important; font-weight: 500; font-size: 15px;
    padding: 5px 20px; border-radius: 10px; transition: all 0.25s ease;
    display: flex; align-items: center; justify-content: center; height: 30px;
    white-space: nowrap; background: transparent; 
}

#nav a:hover:not(.current) { 
    background-color: #ffffff !important; 
    color: #ea580c !important; 
}

#nav a.current {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%) !important;
    color: #ffffff !important; font-weight: 600; box-shadow: 0 4px 10px rgba(234, 88, 12, 0.25);
}

/* ՄԵՆՅՈՒԻ ԶԱՄԲՅՈՒՂԻ ԱՅՔՈՆԸ ԵՎ ԴԱՍԸ */
.nav-cart-link {
    display: flex;
    align-items: center;
    gap: 6px; 
}

.nav-cart-link::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    background-color: currentColor; 
    -webkit-mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

/* Ընտրված ժամանակ զամբյուղի նշանը դառնում է սպիտակ */
#nav a.nav-cart-link.current::before {
    background-color: #ffffff !important;
}

/* HAMBURGER (3 ԳԾԻԿՆԵՐ) */
#nav a.hamburger-btn {
    padding: 5px 14px;
    flex-direction: column;
    gap: 4px; 
    color: #ea580c !important;
}

#nav a.hamburger-btn .bar {
    width: 20px;
    height: 2.5px;
    background-color: currentColor; 
    transition: all 0.3s ease-in-out;
    border-radius: 2px;
}

#nav a.hamburger-btn.is-active .bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
#nav a.hamburger-btn.is-active .bar:nth-child(2) { opacity: 0; transform: translateX(-20px); }
#nav a.hamburger-btn.is-active .bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }


/* ======================================================== */
/* --- ԿՈՂԱՅԻՆ ՄԵՆՅՈՒ ԵՎ ԾԱՌ (<details>) --- */
/* ======================================================== */
#menu {
    position: fixed; left: -250px; transition: left 0.5s ease; top: 0; width: 250px; height: 100%;
    border: 1px solid #ccc; overflow: auto; background: #ffffff; 
    font-size: 14px; z-index: 1000; padding-top: 40px; box-shadow: 4px 0 15px rgba(0, 0, 0, 0.05);
}
#menu:hover { box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); }

#menu-overlay {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 998; background: rgba(0,0,0,0.3); backdrop-filter: blur(2px);
}
.close-btn {
    display: block; margin-bottom: 10px; cursor: pointer; background: none; border: none;
    color: black; font-size: 24px; position: absolute; top: 10px; right: 10px;
}
#data-list { list-style-type: none; padding: 0 15px; margin-top: 50px;}

.category-group {
    list-style: none; margin-left: 14px; border-left: 2px solid #ffedd5; 
    padding-left: 16px; margin-top: 6px;
}
#data-list > .category-group { border-left: none; margin-left: 0; padding-left: 0; }
#data-list li { margin: 6px 0; color: inherit; }

details > summary, .category-leaf {
    cursor: pointer; padding: 10px 14px; border-radius: 8px; transition: all 0.25s ease;
    user-select: none; display: flex; align-items: center; outline: none;
    list-style: none; color: #4b5563; font-weight: 500; font-size: 15px; position: relative;
}
details > summary::-webkit-details-marker { display: none; }
details > summary:hover, .category-leaf:hover { background-color: #fff7ed; color: #ea580c; }
summary.is-active, .category-leaf.is-active {
    font-weight: 600; background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #ffffff !important; box-shadow: 0 4px 10px rgba(234, 88, 12, 0.25);
}
details > summary::after {
    content: ''; position: absolute; right: 14px; top: 50%; width: 6px; height: 6px;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: translateY(-50%) rotate(-45deg); transition: transform 0.3s ease; opacity: 0.6;
}
details[open] > summary::after { transform: translateY(-50%) rotate(45deg); }
details > summary { padding-right: 32px; }


/* ======================================================== */
/* --- ԳԼԽԱՎՈՐ ԲՈՎԱՆԴԱԿՈՒԹՅՈՒՆ ԵՎ ԱՊՐԱՆՔՆԵՐԻ ՔԱՐՏԵՐ --- */
/* ======================================================== */
#container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: 190px;
    color: #4f2c2c;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
}

#content {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    padding: 10px;
    box-sizing: border-box;
    justify-content: center;
    margin: 0 auto;
}

.product {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #ffffff; 
    border: 1px solid #f0f0f0; 
    border-radius: 12px; 
    padding: 12px; 
    margin: 0;
    text-align: left; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; 
}

.product:hover { 
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.product img { 
    width: 100%; 
    height: auto; /* Հանում ենք կոշտ բարձրությունը */
    aspect-ratio: 4 / 3; /* Ստիպում ենք միշտ լինել ուղղանկյուն (լայնությունը 4 մաս, բարձրությունը՝ 3 մաս) */
    object-fit: cover; 
    border-radius: 8px;
    margin-bottom: 10px; 
}

.product a, .product h3 a, .single-product-page h3, a.item-name {
    color: #1a202c !important; 
    background: transparent;
    font-size: 14px; 
    font-weight: 600;
    margin: 0 0 8px 0;
    display: block;
    text-decoration: none;
    line-height: 1.3;
    overflow-wrap: break-word; 
    word-break: break-word;
    hyphens: auto;
}
.product a:hover { background: transparent; color: #ea580c !important; }

/* ԳԼԽԱՎՈՐ ԷՋԻ ԱՊՐԱՆՔԻ ԳԻՆԸ */
.product .item-price { 
    display: flex;
    justify-content: space-between; 
    align-items: center;
    color: #1f2937;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    width: 100%;
}
.product .item-price::before {
    content: "Стоимость:"; 
    font-size: 13px;
    color: #4b5563; 
    font-weight: 400;
}

.quantity-control { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    background: #f8f9fa; 
    border-radius: 10px;
    padding: 4px;
    margin-bottom: 12px; 
}

.decrease-quantity, .increase-quantity { 
    width: 32px;
    height: 32px;
    background: #ffffff;
    border: none;
    border-radius: 8px; 
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    color: #1a202c;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: background 0.2s;
}
.decrease-quantity:hover, .increase-quantity:hover { background: #f1f5f9; }

.quantity-input { 
    width: 40px; 
    text-align: center; 
    background: transparent;
    border: none;
    font-size: 15px;
    font-weight: 600;
    color: #1a202c;
    outline: none;
}

.cart-info { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    gap: 10px;
    flex-wrap: nowrap; 
}

/* ՔԱՐՏԵՐԻ "В КОРЗИНУ" ԿՈՃԱԿԸ */
.add-to-cart {
    flex: 1; 
    background: #ea580c; 
    color: white; 
    border: none; 
    padding: 12px 10px; 
    cursor: pointer; 
    border-radius: 10px; 
    font-size: 14px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px; 
    transition: all 0.2s ease;
    min-width: 0; 
}

.add-to-cart::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.add-to-cart:hover { 
    background: #c2410c;
    transform: translateY(-2px); 
}
.add-to-cart:active { transform: translateY(1px); }

.cart-count {
    width: 42px; 
    height: 42px; 
    border-radius: 10px; 
    background: #fffbeb; 
    border: 1px solid #fcd34d;
    color: #d97706; 
    display: flex;
    align-items: center; 
    justify-content: center; 
    font-size: 15px;
    font-weight: 700;
    flex-shrink: 0; 
}

#checkout-button, #submit-order {
    color: white; border: none; padding: 14px 28px; cursor: pointer; border-radius: 10px; font-size: 14px;
    font-weight: 600; background: #6a5acd; box-shadow: 0 4px 12px rgba(106, 90, 205, 0.3);
    transition: all 0.3s ease; margin-top: 20px;
}
#checkout-button:hover, #submit-order:hover { 
    background: #5a4bba; box-shadow: 0 6px 15px rgba(106, 90, 205, 0.4); transform: translateY(-2px); 
}
#checkout-button:active, #submit-order:active { transform: translateY(2px); }

#load-more-button { 
    display: block; 
    margin: 20px auto; 
    min-width: 250px; 
    width: auto; 
    max-width: 90%; 
    height: auto;
    min-height: 44px; 
    padding: 12px 20px;
    grid-column: 1 / -1; 
    color: white; 
    border: none; 
    cursor: pointer; 
    border-radius: 10px; 
    font-size: 15px;
    font-weight: 600; 
    background: #6a5acd; 
    box-shadow: 0 4px 12px rgba(106, 90, 205, 0.3);
    transition: all 0.3s ease; 
    text-align: center;
    line-height: 1.4; 
    white-space: normal; 
}
#load-more-button:hover { 
    background: #5a4bba; 
    box-shadow: 0 6px 15px rgba(106, 90, 205, 0.4); 
    transform: translateY(-2px); 
}
#load-more-button:active { transform: translateY(2px); }


/* ======================================================== */
/* --- ԶԱՄԲՅՈՒՂԻ ԷՋ ԵՎ ՏԵՔՍՏԵՐ (ԺԱՄԱՆԱԿԱԿԻՑ ՈՃ) --- */
/* ======================================================== */
#containerCart {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 180px;
    color: #4f2c2c;
    max-width: 500px; 
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

#cart-items {
    list-style-type: none;
    padding: 0;
    margin: 20px 0;
    width: 100%;
}

.item-container {
    display: flex;
    align-items: center; 
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 16px; 
    padding: 15px 20px;
    margin-bottom: 15px; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03); 
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}

.item-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.item-photo {
    width: 90px; 
    height: 70px; 
    object-fit: cover; 
    border-radius: 12px;
    margin-right: 20px; 
    flex-shrink: 0; 
}

.item-details {
    display: flex;
    flex-direction: column; 
    gap: 8px;
    flex: 1; 
    font-family: 'Open Sans', sans-serif;
    min-width: 0; 
}

/* Ապրանքի գլխավոր անվանումը */
.item-name {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b; 
    line-height: 1.4;
    margin-bottom: 4px;
    display: block;
    overflow-wrap: break-word;
}

/* Ապրանքի ID համարը նորմալ և կոկիկ տեսքով */
.item-id-badge {
    font-size: 13px;
    color: #94a3b8;
    font-weight: 500;
    margin-right: 6px;
}

.item-partofthedetails {
    display: flex;
    flex-direction: row; 
    align-items: center;
    flex-wrap: nowrap; /* Արգելում ենք նոր տող իջնելը */
    gap: 12px;
    font-size: 14px;
    white-space: nowrap; /* Տեքստը չի կիսվում */
}

/* Քանակի վանդակի և "шт." տեքստի հարմարեցում */
.quantity-wrapper {
    display: flex;
    align-items: center;
    gap: 4px;
}

.quantity-label {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

/* Զամբյուղի մեջի գինը */
.item-container .item-price {
    display: inline-block; 
    font-weight: 800;
    color: #1f2937;
    font-size: 16px;
    margin-bottom: 0;
    width: auto;
}
.item-container .item-price::before {
    content: none; 
}

.item-price {
    font-weight: 700;
    color: #1f2937; 
    font-size: 15px;
}

/* Քանակ գրելու դաշտի (input) գեղեցկացում */
.item-quantity {
    width: 45px; 
    height: 32px; 
    border-radius: 8px; 
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
    text-align: center; 
    font-size: 14px; 
    font-weight: 600; 
    color: #334155;
    outline: none;
    transition: all 0.2s ease;
}
.item-quantity:focus { 
    border-color: #8a2be2; 
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(138, 43, 226, 0.1);
}

/* Удалить կոճակի ժամանակակից կարմրավուն տեսքը */
.remove-item {
    background-color: #fff1f2; 
    color: #e11d48; 
    border: none; 
    border-radius: 8px; 
    padding: 6px 12px; 
    font-size: 13px; 
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
}
.remove-item:hover { 
    background-color: #ffe4e6; 
    color: #be123c;
}

#summary { margin-top: 30px; text-align: center; font-size: 22px; font-weight: 700; color: #4f2c2c; }
#total { margin-top: 20px; }


/* ======================================================== */
/* --- ԺԱՄԱՆԱԿԱԿԻՑ ОФОРМЛЕНИЕ ԷՋԻ ՈՃԵՐԸ (CHECKOUT) --- */
/* ======================================================== */
.modern-checkout {
    max-width: 500px;
    width: 100%;
    margin: 160px auto 40px auto;
    background: #ffffff;
    padding: 30px 20px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); 
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
}

.modern-checkout h2 {
    text-align: center;
    color: #1e293b;
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 22px;
    font-weight: 700;
}

.form-group {
    margin-bottom: 16px;
    width: 100%;
}

.modern-checkout input, 
.modern-checkout textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 15px;
    color: #334155;
    background: #f8fafc;
    transition: all 0.3s ease;
    box-sizing: border-box;
    outline: none;
}

.modern-checkout input:focus, 
.modern-checkout textarea:focus {
    border-color: #ea580c; 
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.1); 
}

.modern-checkout textarea {
    min-height: 100px;
    resize: vertical;
}

.info-alert {
    display: flex;
    gap: 12px;
    background: #fff7ed; 
    border: 1px solid #fed7aa;
    padding: 14px;
    border-radius: 10px;
    margin-bottom: 16px;
    align-items: flex-start;
    text-align: left;
}

.info-alert .icon {
    font-size: 20px;
    line-height: 1;
}

.info-alert p {
    margin: 0;
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
}

.info-alert p strong {
    color: #ea580c;
}

.info-alert .small-text {
    display: block;
    margin-top: 6px;
    font-size: 11.5px;
    color: #64748b;
    font-style: italic;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(234, 88, 12, 0.3);
}

.btn-submit:hover {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.4);
}

.btn-submit:active {
    transform: translateY(1px);
}


/* ======================================================== */
/* --- ԲԵՌՆՄԱՆ ՍՊԻՆԵՐ ԵՎ ՀԱՂՈՐԴԱԳՐՈՒԹՅՈՒՆՆԵՐ --- */
/* ======================================================== */
#loading-status-area { grid-column: 1 / -1; text-align: center; padding: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100px; }
.loading-spinner {
    border: 4px solid rgba(0, 0, 0, 0.1); border-left-color: #ff8c00; border-radius: 50%;
    width: 30px; height: 30px; animation: spin 1s linear infinite; margin: 20px auto;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
#loading-text { text-align: center; color: #a0aec0; width: 100%; padding: 10px 0; box-sizing: border-box;}
.error-message { background-color: #fee2e2; color: #dc2626; border: 1px solid #ef4444; padding: 12px; border-radius: 8px; margin-bottom: 20px; font-weight: 600; width: 100%; word-break: break-word; }
.hidden { display: none !important; }

/* ======================================================== */
/* --- ՖՈՒՏԵՐ --- */
/* ======================================================== */
#footer {
    margin-top: 20px; background: linear-gradient(145deg, #ff8c00, #8b0000); width: calc(100% - 5px);
    position: relative; left: 50%; transform: translateX(-50%); color: white;
    text-align: center; padding: 20px; font-size: 12px; box-sizing: border-box;
}
#footer-main { margin-bottom: 40px; }
#footer p { margin: 5px 0; }

#footer a[href^="tel:"] {
    color: #6a5acd !important; 
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

#footer a[href^="tel:"]:hover { color: #4b3f9b !important; }

#footer-content { position: absolute; bottom: 20px; right: 35px; display: flex; align-items: center; }
#telegram-icon { width: 35px; height: 35px; background-color: white; border-radius: 50%; padding: 3px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); margin-left: 10px; }
#telegram-icon img { width: 100%; height: auto; }

/* ======================================================== */
/* --- ԷՋԻ ՑԱՆՑԻ ԵՎ ՄՈԲԱՅԼ ՄԵՆՅՈՒԻ ՀԱՐՄԱՐՎՈՂԱԿԱՆՈՒԹՅՈՒՆ --- */
/* ======================================================== */
.single-product-page { max-width: 450px; width: 100%; margin: 200px auto 0 auto; padding: 20px; box-sizing: border-box; overflow-x: hidden; }
.single-product-page img { max-width: 100%; height: auto; border-radius: 8px; display: block; margin: 0 auto 20px auto; }
.single-product-page h3 { text-align: center; margin-top: 10px; margin-bottom: 20px; word-wrap: break-word; }
.product-description-block { display: flex; align-items: flex-start; gap: 15px; margin-top: 15px; margin-bottom: 20px; }
.desc-label { font-weight: bold; color: #333333; min-width: 90px; }
.desc-text { color: #555555; line-height: 1.5; flex: 1; text-align: justify; word-break: break-word; }

/* RESPONSIVE DESIGN */
@media (max-width: 1500px) { #content { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 1200px) { #content { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 850px) { 
    #content { grid-template-columns: repeat(2, 1fr); gap: 15px; } 
    #nav ul { gap: 6px; }
    #nav a { font-size: 14px; padding: 5px 12px; }
}

@media (max-width: 600px) {
    #content { grid-template-columns: 1fr; } 
    #nav ul { gap: 4px; }
    #nav a { font-size: 13px; padding: 5px 8px; }
    
    .item-container { padding: 12px 10px; flex-wrap: wrap; } 
    .item-photo { width: 70px; height: 60px; margin-right: 12px; }
    
    /* Զամբյուղի էլեմենտները հեռախոսների վրա */
    .item-name { font-size: 15px; }
    .item-container .item-price { font-size: 15px; }
    .item-partofthedetails { gap: 8px; font-size: 13px; }
    .item-quantity { width: 45px; height: 30px; }
    .remove-item { padding: 5px 10px; font-size: 12px; }
}

@media (max-width: 550px) { #content { grid-template-columns: 1fr; gap: 10px; } }
@media (max-width: 430px) {
    #nav ul { gap: 3px; }
    #nav a { font-size: 11.5px; padding: 5px 6px; }
    .add-to-cart { font-size: 13px; padding: 10px 8px; }
    .cart-count { width: 38px; height: 38px; font-size: 14px; }
}
@media (max-width: 375px) {
    #nav ul { gap: 2px; }
    #nav a { font-size: 10.5px; padding: 5px 4px; }
}
@media (max-width: 340px) {
    #nav ul { gap: 1px; }
    #nav a { font-size: 9.5px; padding: 5px 2px; }
}