/
hellok1tta
/
html-css
Обзор
Документация
Войти
/
hellok1tta
/
html-css
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
frontend/assets/css/main.css
5 569 строк
97 KB
hellok1tta
upload files
20 дек 2025, 12:41
20 дек 2025, 12:41
b528fd7
Код
Авторство
О чём код?
* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: "Unbounded", sans-serif; font-optical-sizing: auto; font-weight: 900; font-style: normal; padding-top: 90px; line-height: 1.6; overflow-x: hidden; } @media (max-width: 767px) { body { padding-top: 80px; font-size: 15px; } } @media (max-width: 479px) { body { padding-top: 50px; font-size: 14px; } } img { max-width: 100%; height: auto; } .container { display: flex; justify-content: flex-start; align-items: flex-start; max-width: 1200px; margin: 0 auto; padding: 30px; gap: 30px; } @media (max-width: 767px) { .container { flex-direction: column; padding: 20px; gap: 20px; } } @media (max-width: 479px) { .container { padding: 15px; gap: 15px; } } header { background-color: #ffffff; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); position: fixed; width: 100%; top: 0; z-index: 1000; transition: all 0.3s ease; } @media (max-width: 479px) { header { padding: 8px 0; } } nav { display: flex; justify-content: space-between; align-items: center; padding: 15px 32px; margin: 0 auto; max-width: 1200px; } @media (max-width: 767px) { nav { padding: 12px 20px; flex-wrap: wrap; gap: 15px; } } @media (max-width: 479px) { nav { padding: 10px 15px; gap: 10px; } } .logo img { height: 50px; } @media (max-width: 767px) { .logo img { height: 35px; } } @media (max-width: 479px) { .logo img { height: 30px; } } @media (max-width: 479px) { .logo { margin-right: auto; } } .menu { display: flex !important; align-items: center; gap: 30px; font-size: 14px; } @media (max-width: 767px) { .menu { gap: 5px; } } @media (max-width: 479px) { .menu { width: 100%; justify-content: space-around; margin-top: 10px; order: 2; gap: 5px; } } .menu-btn { color: #000000; text-decoration: none; margin-right: 0; transition: all 0.3s ease; font-size: 14px; } @media (max-width: 767px) { .menu-btn { font-size: 14px; } } @media (max-width: 479px) { .menu-btn { font-size: 12px; margin-right: 0; padding: 8px 12px; } } .menu-btn:hover { color: #333333; } .a-btn { text-decoration: none; padding: 15px 32px; border-radius: 130px; transition: all 0.3s ease; border: none; font-family: "Unbounded", sans-serif; cursor: pointer; display: inline-block; color: #ffffff; background-color: #000000; } @media (max-width: 767px) { .a-btn { padding: 12px 24px; } } @media (max-width: 479px) { .a-btn { padding: 10px 20px; min-height: 44px; min-width: 44px; } } .a-btn:hover { background-color: #ffffff; color: #000000; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); } @media (max-width: 767px) { .a-btn { padding: 12px 20px; font-size: 14px; } } @media (max-width: 479px) { .a-btn { padding: 10px 15px; font-size: 12px; } } .coffee-btn { text-decoration: none; padding: 15px 32px; border-radius: 130px; transition: all 0.3s ease; border: none; cursor: pointer; display: inline-block; color: #000000; background-color: #ffffff; font-size: 32px; font-weight: 400; text-align: center; } @media (max-width: 767px) { .coffee-btn { padding: 12px 24px; } } @media (max-width: 479px) { .coffee-btn { padding: 10px 20px; min-height: 44px; min-width: 44px; } } .coffee-btn:hover { background-color: #000000; color: #ffffff; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); } .coffee-btn:hover { box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3); } @media (max-width: 767px) { .coffee-btn { font-size: 24px; padding: 12px 24px; } } @media (max-width: 479px) { .coffee-btn { font-size: 18px; padding: 10px 20px; } } .map-btn { text-decoration: none; padding: 15px 32px; border-radius: 130px; transition: all 0.3s ease; border: none; cursor: pointer; display: inline-block; background: #000000; color: #ffffff; padding: 10px 20px; font-size: 14px; } @media (max-width: 767px) { .map-btn { padding: 12px 24px; } } @media (max-width: 479px) { .map-btn { padding: 10px 20px; min-height: 44px; min-width: 44px; } } @media (max-width: 479px) { .map-btn { padding: 8px 16px; font-size: 12px; flex: 1; min-width: 140px; } } .map-btn:hover { background: black; } .popup-btn { text-decoration: none; padding: 15px 32px; border-radius: 130px; transition: all 0.3s ease; border: none; cursor: pointer; display: inline-block; background: #5c0a0a; color: white; padding: 8px 16px; font-size: 12px; margin-top: 10px; } @media (max-width: 767px) { .popup-btn { padding: 12px 24px; } } @media (max-width: 479px) { .popup-btn { padding: 10px 20px; min-height: 44px; min-width: 44px; } } .popup-btn:hover { background: #2e0505; } .auth-btn { text-decoration: none; padding: 15px 32px; border-radius: 130px; transition: all 0.3s ease; border: none; cursor: pointer; display: inline-block; color: #ffffff; background-color: #000000; width: 100%; font-size: 16px; padding: 15px; font-family: "Unbounded", sans-serif; } @media (max-width: 767px) { .auth-btn { padding: 12px 24px; } } @media (max-width: 479px) { .auth-btn { padding: 10px 20px; min-height: 44px; min-width: 44px; } } .auth-btn:hover { background-color: #ffffff; color: #000000; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); } @media (max-width: 767px) { .auth-btn { padding: 12px; font-size: 15px; } } @media (max-width: 479px) { .auth-btn { padding: 10px; font-size: 14px; } } .logout-btn { text-decoration: none; padding: 15px 32px; border-radius: 130px; transition: all 0.3s ease; border: none; cursor: pointer; display: inline-block; color: #ffffff; background-color: #5c0a0a; padding: 10px 20px; font-size: 14px; font-family: "Unbounded", sans-serif; } @media (max-width: 767px) { .logout-btn { padding: 12px 24px; } } @media (max-width: 479px) { .logout-btn { padding: 10px 20px; min-height: 44px; min-width: 44px; } } .logout-btn:hover { background-color: #ffffff; color: #5c0a0a; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); } @media (max-width: 479px) { .logout-btn { padding: 8px 16px; font-size: 12px; align-self: flex-start; } } .cards { display: flex; justify-content: space-between; gap: 70px; width: 100%; } @media (max-width: 1024px) { .cards { flex-direction: column; align-items: center; gap: 40px; } } @media (max-width: 479px) { .cards { gap: 30px; } } .card { background: #ffffff; border-radius: 12px; transition: transform 0.3s ease, box-shadow 0.3s ease; overflow: hidden; flex: 1; min-width: 300px; max-width: 400px; } .card:hover { transform: translateY(-5px); } @media (max-width: px) { .card:hover { transform: translateY(-3px); } } @media (max-width: 1024px) { .card { width: 100%; max-width: 600px; flex: none; } } @media (max-width: 479px) { .card { max-width: 100%; min-width: auto; } } .card img { width: 100%; height: auto; display: block; } .card-title { font-weight: 500; margin: 15px 0; font-size: 18px; } @media (max-width: 479px) { .card-title { font-size: 16px; margin: 12px 0; } } .card-text { font-size: 14px; font-weight: 300; line-height: 1.5; } @media (max-width: 479px) { .card-text { font-size: 13px; } } .favorites-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 25px; margin-top: 20px; } @media (max-width: 479px) { .favorites-grid { grid-template-columns: 1fr; gap: 15px; } } .favorite-item { background: #ffffff; border-radius: 12px; transition: transform 0.3s ease, box-shadow 0.3s ease; overflow: hidden; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); padding: 0; overflow: hidden; transition: all 0.3s ease; cursor: pointer; } .favorite-item:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12); } @media (max-width: 767px) { .favorite-item:hover { transform: translateY(-3px); } } .favorite-item .item-image { width: 100%; height: 300px; object-fit: cover; } @media (max-width: 479px) { .favorite-item .item-image { height: 200px; } } .favorite-item .item-content { padding: 20px; } @media (max-width: 479px) { .favorite-item .item-content { padding: 15px; } } .favorite-item .item-title { font-size: 18px; font-weight: 600; margin-bottom: 10px; color: #000000; } @media (max-width: 479px) { .favorite-item .item-title { font-size: 16px; } } .favorite-item .item-price { font-size: 20px; font-weight: 700; color: #5c0a0a; margin-bottom: 10px; } @media (max-width: 479px) { .favorite-item .item-price { font-size: 18px; } } .favorite-item .item-description { color: #5f5f5f; font-size: 14px; line-height: 1.5; font-weight: 300; margin-bottom: 15px; display: -webkit-box; overflow: hidden; } @media (max-width: 479px) { .favorite-item .item-description { font-size: 13px; } } .favorite-actions { display: flex; gap: 10px; justify-content: space-between; } @media (max-width: 479px) { .favorite-actions { flex-direction: column; gap: 8px; } } .favorite-actions button { padding: 8px 16px; border: none; border-radius: 6px; cursor: pointer; font-size: 12px; font-weight: 400; transition: all 0.3s ease; flex: 1; } @media (max-width: 479px) { .favorite-actions button { width: 100%; padding: 10px; font-size: 14px; } } .favorite-actions button:hover { transform: translateY(-2px); } .favorite-actions .view-btn { background: #000000; color: white; font-family: "Unbounded", sans-serif; } .favorite-actions .view-btn:hover { background: black; } .favorite-actions .remove-btn { background: #f8f9fa; border: 1px solid #5c0a0a; color: #5c0a0a; font-family: "Unbounded", sans-serif; } .favorite-actions .remove-btn:hover { background: #5c0a0a; color: white; } .no-favorites { text-align: center; padding: 60px 20px; color: #5f5f5f; } @media (max-width: 479px) { .no-favorites { padding: 40px 15px; } } .no-favorites p { font-size: 18px; margin-bottom: 20px; } @media (max-width: 479px) { .no-favorites p { font-size: 16px; } } .no-favorites .a-btn { margin-top: 10px; } .hero { margin-left: 100px; } @media (max-width: 767px) { .hero { margin-left: 50px; } } @media (max-width: 479px) { .hero { margin-left: 0; padding: 0 15px; margin-top: 20px; } } .hero-content { display: flex; justify-content: flex-start; align-items: flex-start; } @media (max-width: 767px) { .hero-content { flex-direction: column; text-align: center; align-items: center; gap: 30px; } } @media (max-width: 479px) { .hero-content { gap: 20px; } } .hero-text { margin-top: 70px; flex: 1; min-width: 300px; } @media (max-width: 767px) { .hero-text { margin-top: 50px; min-width: auto; } } @media (max-width: 479px) { .hero-text { margin-top: 30px; } } .hero_img { flex: 1; display: flex; justify-content: center; align-items: flex-start; } @media (max-width: 767px) { .hero_img { margin-top: 0; width: 100%; order: -1; } } .hero_img img { max-width: 100%; height: auto; transition: max-width 0.3s ease; } @media (max-width: 767px) { .hero_img img { max-width: 70%; } } @media (max-width: 479px) { .hero_img img { max-width: 85%; } } .title { font-size: 40px; margin-bottom: 30px; } @media (max-width: 767px) { .title { font-size: 32px; margin-bottom: 20px; } } @media (max-width: 479px) { .title { font-size: 24px; margin-bottom: 15px; line-height: 1.3; } } .subtitle { font-size: 24px; font-weight: 300; margin-bottom: 50px; line-height: 1.4; } @media (max-width: 767px) { .subtitle { font-size: 20px; margin-bottom: 30px; } } @media (max-width: 479px) { .subtitle { font-size: 16px; margin-bottom: 20px; } } .why { margin: 100px; } @media (max-width: 767px) { .why { margin: 60px 40px; } } @media (max-width: 479px) { .why { margin: 40px 20px; } } @media (max-width: 767px) { .text { width: 100%; } } .coffee { background-color: #000000; color: #ffffff; padding: 60px 40px; margin: 50px auto; height: 500px; position: relative; overflow: visible; } @media (max-width: 767px) { .coffee { height: auto; padding: 40px 30px; text-align: center; } } @media (max-width: 479px) { .coffee { padding: 30px 20px; margin: 30px auto; } } .coffee-info { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 2; margin-left: 100px; } @media (max-width: 767px) { .coffee-info { margin-left: 0; flex-direction: column; gap: 30px; text-align: center; } } @media (max-width: 479px) { .coffee-info { gap: 20px; } } .coffee-info h1 { font-size: 64px; margin-bottom: 50px; line-height: 1.1; } @media (max-width: 767px) { .coffee-info h1 { font-size: 48px; margin-bottom: 30px; } } @media (max-width: 479px) { .coffee-info h1 { font-size: 32px; margin-bottom: 20px; } } .coffee-pic { position: absolute; right: -40px; transform: translateY(-50%); width: 50%; } @media (max-width: 767px) { .coffee-pic { position: relative; right: auto; top: auto; transform: none; width: 80%; margin-top: 20px; } } @media (max-width: 479px) { .coffee-pic { width: 100%; margin-top: 15px; } } .coffee-pic img { width: 100%; height: auto; } .contacts h1 { font-size: 96px; margin-bottom: 30px; } @media (max-width: 1024px) { .contacts h1 { font-size: 64px; } } @media (max-width: 479px) { .contacts h1 { font-size: 48px; margin-bottom: 20px; line-height: 1.1; } } @media (max-width: 320px) { .contacts h1 { font-size: 36px; } } .info { display: flex; justify-content: space-between; margin: 30px 70px; } @media (max-width: 950px) { .info { flex-direction: column; margin: 30px 40px; gap: 40px; } } @media (max-width: 479px) { .info { margin: 70px 20px; gap: 30px; } } .ul { margin-bottom: 30px; } .ul li { font-weight: 400; line-height: 1.5; } @media (max-width: 479px) { .ul li { font-size: 14px; } } .ul h3 { font-size: 36px; margin-bottom: 15px; } @media (max-width: 1024px) { .ul h3 { font-size: 24px; } } @media (max-width: 479px) { .ul h3 { font-size: 24px; margin-bottom: 8px; } } .question h3 { margin-bottom: 30px; } @media (max-width: 479px) { .question h3 { margin-bottom: 20px; font-size: 20px; } } .feedback { margin: 50px; font-weight: 300; } @media (max-width: 767px) { .feedback { margin: 10px; } } footer { background-color: #000000; color: #f8f5f2; padding: 40px 0; text-align: center; margin-top: 60px; } @media (max-width: 1024px) { footer { padding: 30px 0; margin-top: 40px; } } @media (max-width: 479px) { footer { padding: 25px 0; margin-top: 30px; } } .form { margin-top: 70px; } .form h3 { margin-bottom: 20px; } @media (max-width: 479px) { .form h3 { font-size: 18px; } } .form input, .form textarea { width: 100%; height: 58px; font-size: 24px; margin-bottom: 35px; padding: 12px 15px; } @media (max-width: 767px) { .form input, .form textarea { width: 100%; max-width: 395px; } } @media (max-width: 479px) { .form input, .form textarea { font-size: 16px; height: 50px; margin-bottom: 20px; } } .form textarea { height: 120px; resize: vertical; } @media (max-width: 479px) { .form textarea { height: 100px; } } .auth-form .form-group { margin-bottom: 20px; } @media (max-width: 479px) { .auth-form .form-group { margin-bottom: 15px; } } .auth-form input { width: 100%; padding: 15px 20px; border: 2px solid #a7a7a7; border-radius: 10px; font-size: 16px; transition: all 0.3s ease; } @media (max-width: 767px) { .auth-form input { padding: 12px 15px; font-size: 15px; } } @media (max-width: 479px) { .auth-form input { padding: 10px 12px; font-size: 14px; border-radius: 8px; } } .auth-form input:focus { border-color: #000000; outline: none; box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1); } .auth-switch { margin-top: 20px; color: #5f5f5f; font-size: 14px; font-weight: 400; } @media (max-width: 479px) { .auth-switch { font-size: 12px; margin-top: 15px; } } .auth-switch a { color: #5c0a0a; text-decoration: none; font-weight: 700; } .auth-switch a:hover { text-decoration: underline; } .map-section { margin: 60px 0; } @media (max-width: 479px) { .map-section { margin: 30px 0; } } .map-section h2 { text-align: center; margin-bottom: 30px; color: #000000; } @media (max-width: 479px) { .map-section h2 { margin-bottom: 20px; font-size: 24px; } } .map-controls { display: flex; gap: 15px; justify-content: center; margin-bottom: 20px; flex-wrap: wrap; } @media (max-width: 479px) { .map-controls { gap: 10px; margin-bottom: 15px; } } .video-section { margin: 60px 0; } @media (max-width: 479px) { .video-section { margin: 30px 0; } } .video-wrapper { margin: 0 auto; padding: 0 20px; } @media (max-width: 479px) { .video-wrapper { padding: 0 15px; } } .category-section { background: #ffffff; border-radius: 10px; padding: 30px; margin-bottom: 30px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); display: block; scroll-margin-top: 110px; } @media (max-width: 767px) { .category-section { padding: 20px; margin-bottom: 20px; } } @media (max-width: 479px) { .category-section { padding: 15px; margin-bottom: 15px; border-radius: 8px; } } .category-section.active-section { border: 2px solid #a7a7a7; animation: pulse 0.5s ease; } .category-title { font-size: 32px; margin-bottom: 30px; color: #333333; text-align: center; } @media (max-width: 767px) { .category-title { font-size: 28px; margin-bottom: 20px; } } @media (max-width: 479px) { .category-title { font-size: 24px; margin-bottom: 15px; } } .shop-popup h3 { color: #000000; margin-bottom: 10px; font-size: 16px; } .shop-popup p { margin: 5px 0; color: #333333; font-size: 14px; } .menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; } @media (max-width: 767px) { .menu-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } } @media (max-width: 479px) { .menu-grid { grid-template-columns: 1fr; gap: 15px; } } @media (max-width: 1023px) { .menu-grid { gap: 20px; } } .menu-item { background: #ffffff; border-radius: 12px; transition: transform 0.3s ease, box-shadow 0.3s ease; overflow: hidden; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); padding: 0; } .menu-item:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12); } @media (max-width: 767px) { .menu-item:hover { transform: translateY(-3px); } } .menu-item .menu-image { width: 100%; height: 200px; object-fit: cover; } @media (max-width: 767px) { .menu-item .menu-image { height: 180px; } } @media (max-width: 479px) { .menu-item .menu-image { height: 150px; } } .menu-item .item-content { padding: 20px; } @media (max-width: 479px) { .menu-item .item-content { padding: 15px; } } .menu-item .item-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; } @media (max-width: 479px) { .menu-item .item-header { flex-direction: column; gap: 5px; align-items: flex-start; } } .menu-item .item-title { font-size: 19px; font-weight: 600; color: #000000; line-height: 1.2; } @media (max-width: 767px) { .menu-item .item-title { font-size: 17px; } } @media (max-width: 479px) { .menu-item .item-title { font-size: 16px; } } .menu-item .item-price { font-size: 19px; font-weight: 700; color: #5c0a0a; white-space: nowrap; } @media (max-width: 767px) { .menu-item .item-price { font-size: 17px; } } @media (max-width: 479px) { .menu-item .item-price { font-size: 16px; } } .menu-item .item-description { color: #5f5f5f; font-size: 14px; line-height: 1.5; margin-bottom: 10px; } @media (max-width: 479px) { .menu-item .item-description { font-size: 13px; line-height: 1.4; } } .menu-item .item-badge { display: inline-block; background: rgba(99, 0, 0, 0.2549019608); color: #5c0a0a; padding: 4px 12px; border-radius: 20px; font-size: 13px; font-weight: 500; } @media (max-width: 479px) { .menu-item .item-badge { font-size: 11px; padding: 3px 8px; } } .sidebar { width: 250px; background: #ffffff; border-radius: 10px; padding: 20px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); height: fit-content; position: sticky; top: calc(110px + 20px); flex-shrink: 0; } @media (max-width: 767px) { .sidebar { position: static; width: 100%; margin-bottom: 20px; top: auto; } } @media (max-width: 479px) { .sidebar { padding: 15px; border-radius: 8px; } } .sidebar h2 { font-size: 24px; margin-bottom: 20px; color: #333333; text-align: center; padding-bottom: 10px; border-bottom: 2px solid #a7a7a7; } @media (max-width: 767px) { .sidebar h2 { font-size: 22px; } } @media (max-width: 479px) { .sidebar h2 { font-size: 20px; margin-bottom: 15px; padding-bottom: 8px; } } .category-list { list-style: none; } .category-item { margin-bottom: 10px; } @media (max-width: 479px) { .category-item { margin-bottom: 8px; } } .category-link { display: block; text-align: left; background: none; border: none; padding: 12px 15px; font-size: 16px; border-radius: 5px; transition: all 0.3s ease; color: #333333; text-decoration: none; cursor: pointer; width: 100%; } @media (max-width: 479px) { .category-link { padding: 10px 12px; font-size: 14px; } } .category-link:hover, .category-link:focus { background-color: #5c0a0a1a; color: #5c0a0a; font-weight: 600; } .category-link:active { transform: scale(0.98); } .menu-content { flex: 1; min-width: 0; } @media (max-width: 767px) { .menu-content { width: 100%; } } .menu-container { display: flex; justify-content: flex-start; align-items: flex-start; max-width: 1200px; margin: 0 auto; padding: 30px; gap: 30px; } @media (max-width: 1024px) { .menu-container { flex-direction: column; padding: 20px; gap: 20px; } } @media (max-width: 479px) { .menu-container { padding: 15px; gap: 15px; } } .mobile-categories-toggle { display: none; margin-bottom: 20px; width: 100%; position: sticky; top: 80px; z-index: 900; background: white; padding: 15px 0; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); border-bottom: 1px solid #f0f0f0; border-radius: 8px; } @media (max-width: 1024px) { .mobile-categories-toggle { display: block; } .desktop-sidebar { display: none; } .menu-wrapper { flex-direction: column; gap: 0; } } @media (max-width: 768px) { .mobile-categories-toggle { top: 80px; padding: 10px 0; } } @media (max-width: 480px) { .mobile-categories-toggle { top: 70px; padding: 8px 0; } } @media (min-width: 1025px) { .mobile-categories-toggle { display: none; } .desktop-sidebar { display: block; } .menu-wrapper { flex-direction: row; } .category-section { scroll-margin-top: 20px; } } .categories-toggle-btn { width: calc(100% - 40px); margin: 0 auto; padding: 16px 20px; background: #ffffff; color: #333; border: none; border-radius: 12px; font-family: "Unbounded", sans-serif; font-size: 18px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: all 0.3s ease; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); max-width: 800px; } .categories-toggle-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.351); } .categories-toggle-btn.active { border-radius: 12px 12px 0 0; } @media (min-width: 769px) and (max-width: 1024px) { .categories-toggle-btn { font-size: 18px; padding: 18px 25px; max-width: 800px; } } @media (max-width: 768px) { .categories-toggle-btn { width: calc(100% - 30px); padding: 14px 18px; font-size: 16px; } } @media (max-width: 480px) { .categories-toggle-btn { width: calc(100% - 20px); padding: 12px 16px; font-size: 15px; } } .toggle-icon { transition: transform 0.3s ease; width: 16px; height: 16px; } .categories-toggle-btn.active .toggle-icon { transform: rotate(180deg); } .mobile-categories-dropdown { display: none; background: white; border-radius: 0 0 12px 12px; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); max-height: 0; overflow: hidden; transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1); margin: 0 auto; width: calc(100% - 40px); position: relative; z-index: 901; max-width: 800px; } .mobile-categories-dropdown.show { display: block; max-height: 500px; } @media (min-width: 769px) and (max-width: 1024px) { .mobile-categories-dropdown { max-width: 800px; } } @media (max-width: 768px) { .mobile-categories-dropdown { width: calc(100% - 30px); } } @media (max-width: 480px) { .mobile-categories-dropdown { width: calc(100% - 20px); } } .mobile-category-list { list-style: none; padding: 0; margin: 0; } .mobile-category-item { border-bottom: 1px solid #f0f0f0; } .mobile-category-item:last-child { border-bottom: none; } .mobile-category-link { display: block; padding: 16px 20px; color: #333; text-decoration: none; font-size: 16px; font-weight: 500; transition: all 0.3s ease; position: relative; } .mobile-category-link:hover { background: #f8f9fa; color: #5c0a0a; padding-left: 30px; } .mobile-category-link.active { background: #fff5f5; color: #5c0a0a; font-weight: 600; } .mobile-category-link.active::before { content: ''; position: absolute; left: 0; top: 0; height: 100%; width: 4px; background: #5c0a0a; } @media (min-width: 769px) and (max-width: 1024px) { .mobile-category-link { font-size: 16px; padding: 18px 25px; } } @media (max-width: 768px) { .mobile-category-link { padding: 14px 18px; font-size: 15px; } } @media (max-width: 480px) { .mobile-category-link { padding: 12px 16px; font-size: 14px; } } .menu-wrapper { display: flex; gap: 30px; width: 100%; } @media (max-width: 1024px) { .menu-wrapper { flex-direction: column; gap: 0; } } .account-main { min-height: 800px; padding: 40px 20px; } @media (max-width: 767px) { .account-main { padding: 30px 15px; min-height: 700px; } } @media (max-width: 479px) { .account-main { padding: 20px 10px; min-height: 600px; } } .auth-section { display: none; max-width: 400px; margin: 0 auto; padding: 40px 0; } @media (max-width: 767px) { .auth-section { padding: 30px 0; } } @media (max-width: 479px) { .auth-section { padding: 20px 0; } } .auth-section.active { display: block; animation: fadeIn 0.5s ease; } .auth-container { background: #ffffff; padding: 40px; border-radius: 20px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); text-align: center; } @media (max-width: 767px) { .auth-container { padding: 30px 25px; border-radius: 15px; } } @media (max-width: 479px) { .auth-container { padding: 25px 20px; border-radius: 12px; } } .message { margin-top: 15px; padding: 10px; border-radius: 5px; font-size: 14px; } .message.success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; } .message.error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; } .dashboard-section { display: none; max-width: 1200px; margin: 0 auto; } .dashboard-section.active { display: block; animation: fadeIn 0.5s ease; } .dashboard-container { padding: 0 20px; } @media (max-width: 479px) { .dashboard-container { padding: 0 10px; } } .dashboard-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; } @media (max-width: 767px) { .dashboard-header { flex-direction: column; gap: 20px; align-items: flex-start; margin-bottom: 25px; } } @media (max-width: 479px) { .dashboard-header { gap: 15px; margin-bottom: 20px; } } .dashboard-header h1 { font-size: 32px; color: #000000; } @media (max-width: 767px) { .dashboard-header h1 { font-size: 28px; } } @media (max-width: 479px) { .dashboard-header h1 { font-size: 24px; } } .user-info-card { display: flex; justify-content: flex-start; align-items: center; background: #ffffff; padding: 30px; border-radius: 15px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); margin-bottom: 30px; gap: 20px; } @media (max-width: 767px) { .user-info-card { padding: 25px; margin-bottom: 25px; } } @media (max-width: 479px) { .user-info-card { flex-direction: column; text-align: center; padding: 20px; gap: 15px; margin-bottom: 20px; } } .avatar-placeholder { width: 80px; height: 80px; background: #000000; border-radius: 50%; display: flex; justify-content: center; align-items: center; color: #ffffff; font-size: 24px; font-weight: bold; flex-shrink: 0; } @media (max-width: 479px) { .avatar-placeholder { width: 60px; height: 60px; font-size: 20px; } } .user-details { flex: 1; } .user-details h2 { font-size: 24px; margin-bottom: 5px; } @media (max-width: 479px) { .user-details h2 { font-size: 20px; } } .user-details p { color: #5f5f5f; margin-bottom: 5px; font-weight: 300; } @media (max-width: 479px) { .user-details p { font-size: 14px; } } .member-since { font-size: 14px; color: #5f5f5f; font-weight: 300; } .dashboard-nav { display: flex; gap: 10px; margin-bottom: 30px; flex-wrap: wrap; } @media (max-width: 767px) { .dashboard-nav { justify-content: center; margin-bottom: 25px; } } @media (max-width: 479px) { .dashboard-nav { gap: 8px; margin-bottom: 20px; } } .nav-btn { padding: 12px 24px; background: #ffffff; border: 2px solid #a7a7a7; border-radius: 25px; cursor: pointer; transition: all 0.3s ease; font-family: "Unbounded", sans-serif; font-size: 14px; font-weight: 500; } @media (max-width: 767px) { .nav-btn { padding: 10px 20px; font-size: 13px; } } @media (max-width: 479px) { .nav-btn { padding: 8px 16px; font-size: 12px; flex: 1; min-width: 120px; text-align: center; } } @media (max-width: 360px) { .nav-btn { min-width: 100px; font-size: 11px; padding: 6px 12px; } } .nav-btn:hover { border-color: #000000; transform: translateY(-2px); } .nav-btn.active { background: #000000; color: #ffffff; border-color: #000000; } .dashboard-content { background: #ffffff; border-radius: 15px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); overflow: hidden; } @media (max-width: 479px) { .dashboard-content { border-radius: 12px; } } .content-section { display: none; padding: 30px; } @media (max-width: 767px) { .content-section { padding: 25px; } } @media (max-width: 479px) { .content-section { padding: 20px 15px; } } .content-section.active { display: block; animation: fadeIn 0.3s ease; } .stats-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-bottom: 40px; } @media (max-width: 767px) { .stats-cards { grid-template-columns: repeat(2, 1fr); margin-bottom: 30px; gap: 15px; } } @media (max-width: 479px) { .stats-cards { grid-template-columns: 1fr; gap: 15px; margin-bottom: 25px; } } @media (max-width: 360px) { .stats-cards { gap: 10px; } } .stat-card { display: flex; justify-content: flex-start; align-items: center; background: rgb(244.8, 244.8, 244.8); padding: 25px; border-radius: 12px; gap: 15px; transition: all 0.3s ease; } @media (max-width: 479px) { .stat-card { padding: 20px; gap: 12px; } } @media (max-width: 360px) { .stat-card { padding: 15px; } } .stat-card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); } .stat-icon { font-size: 32px; width: 60px; height: 60px; display: flex; justify-content: center; align-items: center; background: #000000; color: #ffffff; border-radius: 12px; flex-shrink: 0; } @media (max-width: 479px) { .stat-icon { width: 50px; height: 50px; font-size: 24px; border-radius: 10px; } } .stat-info { flex: 1; } .stat-info h3 { font-size: 14px; color: #5f5f5f; margin-bottom: 5px; font-weight: 400; } @media (max-width: 479px) { .stat-info h3 { font-size: 12px; } } .stat-number { font-size: 24px; font-weight: 900; color: #000000; } @media (max-width: 479px) { .stat-number { font-size: 20px; } } .charts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 30px; } @media (max-width: 767px) { .charts-grid { grid-template-columns: 1fr; gap: 25px; } } @media (max-width: 479px) { .charts-grid { gap: 20px; } } .chart-container { background: #ffffff; padding: 25px; border-radius: 12px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); } @media (max-width: 479px) { .chart-container { padding: 20px 15px; } } .chart-container h3 { margin-bottom: 20px; font-size: 18px; text-align: center; color: #333333; } @media (max-width: 479px) { .chart-container h3 { font-size: 16px; margin-bottom: 15px; } } .chart-container canvas { max-height: 300px; width: 100% !important; } @media (max-width: 479px) { .chart-container canvas { max-height: 250px; } } .section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; flex-wrap: wrap; gap: 15px; } @media (max-width: 767px) { .section-header { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 20px; } } @media (max-width: 479px) { .section-header { gap: 10px; margin-bottom: 15px; } } .section-header h2 { font-size: 24px; color: #000000; } @media (max-width: 479px) { .section-header h2 { font-size: 20px; } } .reviews-filter, .orders-filter { display: flex; gap: 10px; align-items: center; } @media (max-width: 479px) { .reviews-filter, .orders-filter { width: 100%; justify-content: flex-start; flex-wrap: wrap; gap: 8px; } } .reviews-filter select, .reviews-filter input, .orders-filter select, .orders-filter input { padding: 8px 12px; border: 2px solid #a7a7a7; border-radius: 8px; font-family: "Unbounded", sans-serif; background: #ffffff; font-size: 14px; } @media (max-width: 479px) { .reviews-filter select, .reviews-filter input, .orders-filter select, .orders-filter input { padding: 6px 10px; font-size: 13px; flex: 1; min-width: 120px; } } .reviews-filter select:focus, .reviews-filter input:focus, .orders-filter select:focus, .orders-filter input:focus { border-color: #000000; outline: none; } .reviews-list { display: flex; flex-direction: column; gap: 20px; } @media (max-width: 479px) { .reviews-list { gap: 15px; } } .review-item { background: rgb(244.8, 244.8, 244.8); padding: 20px; border-radius: 12px; border-left: 4px solid #5c0a0a; } @media (max-width: 479px) { .review-item { padding: 15px; border-radius: 10px; } } .review-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; flex-wrap: wrap; gap: 10px; } @media (max-width: 479px) { .review-header { flex-direction: column; gap: 8px; } } .review-header h4 { font-size: 18px; color: #000000; } @media (max-width: 479px) { .review-header h4 { font-size: 16px; } } .review-stars { color: #5c0a0a; font-size: 16px; } .review-text { color: #333333; line-height: 1.5; margin-bottom: 10px; font-weight: 300; } @media (max-width: 479px) { .review-text { font-size: 14px; line-height: 1.4; } } .review-date { font-size: 12px; color: #5f5f5f; font-weight: 300; } .review-actions { margin-top: 10px; } @media (max-width: 479px) { .review-actions { display: flex; gap: 10px; flex-wrap: wrap; } } .review-actions button { text-decoration: none; padding: 15px 32px; border-radius: 130px; transition: all 0.3s ease; border: none; cursor: pointer; display: inline-block; background: #5c0a0a; color: #ffffff; padding: 5px 12px; font-size: 12px; margin-right: 10px; } @media (max-width: 767px) { .review-actions button { padding: 12px 24px; } } @media (max-width: 479px) { .review-actions button { padding: 10px 20px; min-height: 44px; min-width: 44px; } } @media (max-width: 479px) { .review-actions button { flex: 1; margin-right: 0; min-width: 100px; padding: 8px; font-size: 11px; } } .review-actions button:hover { background: #2e0505; } .orders-table-container { overflow-x: auto; border-radius: 8px; } @media (max-width: 479px) { .orders-table-container { border: 1px solid #a7a7a7; border-radius: 8px; } } .orders-table { width: 100%; border-collapse: collapse; background: #ffffff; min-width: 600px; } @media (max-width: 479px) { .orders-table { font-size: 14px; min-width: 700px; } } .orders-table th { background: rgb(218, 218, 218); padding: 15px 12px; text-align: left; font-weight: 500; color: #333333; cursor: pointer; user-select: none; white-space: nowrap; } @media (max-width: 479px) { .orders-table th { padding: 12px 8px; font-size: 12px; } } .orders-table th:hover { background: rgb(209, 209, 209); } .orders-table td { padding: 12px; border-bottom: 1px solid #f3f3f3; vertical-align: top; } @media (max-width: 479px) { .orders-table td { padding: 10px 8px; font-size: 13px; } } .orders-table tr:hover { background: rgb(248, 248, 248); } .product-main { padding: 40px 20px; min-height: calc(100vh - 200px); } @media (max-width: 767px) { .product-main { padding: 30px 15px; min-height: calc(100vh - 180px); } } @media (max-width: 479px) { .product-main { padding: 20px 10px; min-height: calc(100vh - 150px); } } .product-container { max-width: 1200px; margin: 0 auto; } .breadcrumbs { margin-bottom: 30px; font-size: 14px; padding: 0 20px; max-width: 400px; font-weight: 300; } @media (max-width: 767px) { .breadcrumbs { padding: 0 15px; margin-bottom: 25px; } } @media (max-width: 479px) { .breadcrumbs { padding: 0 10px; margin-bottom: 20px; font-size: 12px; } } .breadcrumbs a { color: #5f5f5f; text-decoration: none; } .breadcrumbs a:hover { color: #000000; text-decoration: underline; } .breadcrumbs span { color: #000000; font-weight: 600; } .product-info { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 60px; } @media (max-width: 767px) { .product-info { grid-template-columns: 1fr; gap: 30px; margin-bottom: 40px; } } @media (max-width: 479px) { .product-info { gap: 25px; margin-bottom: 30px; } } .product-gallery .main-image { width: 80%; height: 500px; object-fit: cover; border-radius: 15px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); } @media (max-width: 767px) { .product-gallery .main-image { height: 350px; width: 100%; } } @media (max-width: 479px) { .product-gallery .main-image { height: 300px; border-radius: 10px; } } @media (max-width: 360px) { .product-gallery .main-image { height: 200px; } } .product-details h1 { font-size: 64px; margin-bottom: 15px; color: #000000; line-height: 1.2; } @media (max-width: 767px) { .product-details h1 { font-size: 28px; } } @media (max-width: 479px) { .product-details h1 { font-size: 24px; margin-bottom: 12px; } } .product-price { font-size: 28px; font-weight: bold; color: #5c0a0a; margin-bottom: 15px; } @media (max-width: 479px) { .product-price { font-size: 24px; margin-bottom: 12px; } } .product-rating { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; } @media (max-width: 479px) { .product-rating { margin-bottom: 15px; gap: 8px; } } .product-rating .stars { color: #5c0a0a; font-size: 18px; } @media (max-width: 479px) { .product-rating .stars { font-size: 16px; } } .product-rating .rating-text { color: #5f5f5f; font-size: 14px; font-weight: 300; } @media (max-width: 479px) { .product-rating .rating-text { font-size: 12px; } } .product-description { font-size: 16px; line-height: 1.6; margin-bottom: 25px; color: #333333; font-weight: 400; } @media (max-width: 479px) { .product-description { font-size: 14px; margin-bottom: 20px; line-height: 1.5; } } .product-actions { display: flex; gap: 15px; margin-bottom: 25px; flex-wrap: wrap; } @media (max-width: 479px) { .product-actions { gap: 10px; margin-bottom: 20px; flex-direction: column; } } @media (max-width: 360px) { .product-actions { flex-direction: column; } .product-actions button { width: 100%; } } .product-actions button { padding: 12px 24px; border: none; border-radius: 8px; cursor: pointer; font-family: "Unbounded", sans-serif; font-weight: 500; transition: all 0.3s ease; font-size: 16px; } @media (max-width: 767px) { .product-actions button { padding: 10px 20px; font-size: 15px; } } @media (max-width: 479px) { .product-actions button { padding: 12px 16px; font-size: 14px; width: 100%; } } .product-actions button:hover { transform: translateY(-2px); } .product-actions .add-to-cart-btn { background: #5c0a0a; color: white; } .product-actions .add-to-cart-btn:hover { background: #2e0505; box-shadow: 0 4px 12px rgba(92, 10, 10, 0.3); } .product-actions .favorite-btn { background: #f8f9fa; border: 2px solid #a7a7a7; color: #333333; } .product-actions .favorite-btn:hover { background: #e9ecef; border-color: #5c0a0a; color: #5c0a0a; } .product-meta .meta-item { margin-bottom: 8px; font-size: 14px; } @media (max-width: 479px) { .product-meta .meta-item { font-size: 13px; margin-bottom: 6px; } } .product-meta .meta-item strong { color: #000000; } .product-meta .meta-item .in-stock { color: #28a745; font-weight: 500; } .reviews-section { border-top: 2px solid #a7a7a7; padding-top: 40px; } @media (max-width: 767px) { .reviews-section { padding-top: 30px; } } @media (max-width: 479px) { .reviews-section { padding-top: 25px; } } .reviews-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; flex-wrap: wrap; gap: 20px; } @media (max-width: 767px) { .reviews-header { margin-bottom: 25px; gap: 15px; } } @media (max-width: 479px) { .reviews-header { flex-direction: column; align-items: flex-start; margin-bottom: 20px; gap: 10px; } } .reviews-header h2 { font-size: 24px; color: #000000; } @media (max-width: 767px) { .reviews-header h2 { font-size: 22px; } } @media (max-width: 479px) { .reviews-header h2 { font-size: 20px; } } .reviews-header .reviews-stats { text-align: right; } @media (max-width: 479px) { .reviews-header .reviews-stats { text-align: left; width: 100%; } } .reviews-header .reviews-stats .average-rating { font-size: 24px; font-weight: bold; color: #000000; } @media (max-width: 479px) { .reviews-header .reviews-stats .average-rating { font-size: 20px; } } .reviews-header .reviews-stats .reviews-count { color: #5f5f5f; font-size: 14px; } @media (max-width: 479px) { .reviews-header .reviews-stats .reviews-count { font-size: 12px; } } .add-review-form { background: rgb(242.25, 242.25, 242.25); padding: 25px; border-radius: 12px; margin-bottom: 30px; } @media (max-width: 767px) { .add-review-form { padding: 20px; margin-bottom: 25px; } } @media (max-width: 479px) { .add-review-form { padding: 15px; margin-bottom: 20px; border-radius: 10px; } } @media (max-width: 360px) { .add-review-form { padding: 12px; } } .add-review-form h3 { margin-bottom: 20px; color: #000000; } @media (max-width: 479px) { .add-review-form h3 { font-size: 18px; margin-bottom: 15px; } } .add-review-form .form-group { margin-bottom: 20px; } @media (max-width: 479px) { .add-review-form .form-group { margin-bottom: 15px; } } .add-review-form .form-group label { display: block; margin-bottom: 8px; font-weight: 500; color: #333333; } @media (max-width: 479px) { .add-review-form .form-group label { font-size: 14px; margin-bottom: 6px; } } .star-rating { display: flex; flex-direction: row-reverse; justify-content: flex-end; } .star-rating input { display: none; } .star-rating label { cursor: pointer; font-size: 24px; color: #ddd; transition: color 0.2s; margin-right: 5px; } @media (max-width: 479px) { .star-rating label { font-size: 20px; margin-right: 3px; } } .star-rating label:hover, .star-rating label:hover ~ label { color: #5c0a0a; } .star-rating input:checked ~ label { color: #5c0a0a; } #reviewForm textarea { width: 100%; padding: 12px; border: 2px solid #a7a7a7; border-radius: 8px; font-family: "Unbounded", sans-serif; font-size: 14px; resize: vertical; min-height: 100px; } @media (max-width: 479px) { #reviewForm textarea { padding: 10px; font-size: 13px; min-height: 80px; } } #reviewForm textarea:focus { border-color: #000000; outline: none; box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1); } #reviewForm button[type=submit] { text-decoration: none; padding: 15px 32px; border-radius: 130px; transition: all 0.3s ease; border: none; cursor: pointer; display: inline-block; color: #ffffff; background-color: #000000; } @media (max-width: 767px) { #reviewForm button[type=submit] { padding: 12px 24px; } } @media (max-width: 479px) { #reviewForm button[type=submit] { padding: 10px 20px; min-height: 44px; min-width: 44px; } } #reviewForm button[type=submit]:hover { background-color: #ffffff; color: #000000; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); } @media (max-width: 479px) { #reviewForm button[type=submit] { padding: 10px 20px; font-size: 14px; width: 100%; } } #reviewForm button[type=submit]:hover { background: black; } .no-reviews { text-align: center; padding: 40px; color: #5f5f5f; font-style: italic; } @media (max-width: 479px) { .no-reviews { padding: 30px 20px; font-size: 14px; } } .error-page { text-align: center; padding: 60px 20px; } @media (max-width: 479px) { .error-page { padding: 40px 15px; } } .error-page h2 { margin-bottom: 20px; color: #5c0a0a; } @media (max-width: 479px) { .error-page h2 { font-size: 20px; margin-bottom: 15px; } } .cart-main { padding: 40px 20px; max-width: 1400px; margin: 0 auto; } .cart-container { background: white; border-radius: 15px; padding: 30px; box-shadow: 0 5px 20px rgba(0,0,0,0.1); } .cart-wrapper { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; margin-top: 30px; } @media (max-width: 1024px) { .cart-wrapper { grid-template-columns: 1fr; } } .cart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 2px solid #f0f0f0; } .clear-cart-btn { background: #5c0a0a; color: white; border: none; padding: 8px 16px; border-radius: 6px; cursor: pointer; font-size: 14px; transition: background 0.3s; font-family: "Unbounded", sans-serif; } .clear-cart-btn:hover { background: #740d0d; } .empty-cart { display: none; flex-direction: column; align-items: center; justify-content: center; padding: 60px 20px; text-align: center; border: 2px dashed #ddd; border-radius: 10px; margin: 20px 0; } .empty-cart-icon { font-size: 64px; margin-bottom: 20px; color: #ccc; } .empty-cart h3 { margin-bottom: 10px; color: #333; } .empty-cart p { color: #666; margin-bottom: 20px; font-weight: 400; } @media (max-width: 576px) { .empty-cart { padding: 40px 15px; } .empty-cart-icon { font-size: 48px; } .empty-cart h3 { font-size: 18px; } } .cart-item { display: grid; grid-template-columns: 100px 1fr auto; gap: 20px; padding: 20px; border-bottom: 1px solid #f0f0f0; align-items: center; transition: background 0.3s; } @media (max-width: 1024px) { .cart-item { grid-template-columns: 80px 1fr; gap: 15px; padding: 15px; } } @media (max-width: 768px) { .cart-item { grid-template-columns: 70px 1fr; gap: 12px; padding: 12px; } } @media (max-width: 576px) { .cart-item { grid-template-columns: 60px 1fr; gap: 10px; padding: 10px; } } @media (max-width: 360px) { .cart-item { grid-template-columns: 50px 1fr; } } .cart-item:hover { background: #f9f9f9; } .cart-image img { width: 100px; height: 100px; object-fit: cover; border-radius: 8px; } @media (max-width: 1024px) { .cart-image img { width: 80px; height: 80px; } } @media (max-width: 768px) { .cart-image img { width: 70px; height: 70px; } } @media (max-width: 576px) { .cart-image img { width: 60px; height: 60px; } } @media (max-width: 360px) { .cart-image img { width: 50px; height: 50px; } } .cart-item-info { flex: 1; } .cart-item-title { margin: 0 0 5px 0; font-size: 18px; color: #333; } @media (max-width: 768px) { .cart-item-title { font-size: 16px; } } @media (max-width: 576px) { .cart-item-title { font-size: 15px; } } .cart-item-description { color: #666; font-size: 14px; margin: 0 0 10px 0; line-height: 1.4; font-weight: 400; } @media (max-width: 768px) { .cart-item-description { font-size: 13px; } } @media (max-width: 576px) { .cart-item-description { font-size: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } } .cart-item-meta { font-size: 12px; color: #5c0a0a; font-weight: 600; } .item-category { background: #f0f0f0; padding: 3px 8px; border-radius: 4px; } .cart-item-controls { display: flex; align-items: center; gap: 20px; } @media (max-width: 1024px) { .cart-item-controls { grid-column: 1 / -1; justify-content: space-between; margin-top: 10px; padding-top: 15px; border-top: 1px solid #f0f0f0; } } @media (max-width: 768px) { .cart-item-controls { align-items: stretch; gap: 15px; } } .quantity-controls { display: flex; align-items: center; gap: 10px; background: #f5f5f5; border-radius: 6px; padding: 5px; } @media (max-width: 768px) { .quantity-controls { justify-content: center; } } @media (max-width: 576px) { .quantity-controls { padding: 3px; } } .quantity-btn { background: white; border: 1px solid #ddd; width: 30px; height: 30px; border-radius: 4px; font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s; } .quantity-btn:hover { background: #5c0a0a; color: white; border-color: #5c0a0a; } @media (max-width: 576px) { .quantity-btn { width: 25px; height: 25px; font-size: 16px; } } .quantity { min-width: 30px; text-align: center; font-weight: bold; } @media (max-width: 576px) { .quantity { min-width: 25px; } } .cart-item-price { font-size: 18px; font-weight: bold; color: #5c0a0a; text-align: right; min-width: 100px; } @media (max-width: 768px) { .cart-item-price { text-align: center; min-width: auto; } } @media (max-width: 576px) { .cart-item-price { font-size: 16px; } } .item-unit-price { font-size: 12px; color: #888; font-weight: normal; } .remove-item-btn { background: none; border: none; font-size: 20px; cursor: pointer; color: #999; padding: 5px; transition: color 0.3s; } .order-summary { background: #f9f9f9; padding: 25px; border-radius: 10px; margin-bottom: 20px; } @media (max-width: 1024px) { .order-summary { padding: 20px; } } @media (max-width: 576px) { .order-summary { padding: 15px; margin-bottom: 15px; } } .order-summary h2 { margin-top: 0; margin-bottom: 20px; color: #000000; } @media (max-width: 360px) { .order-summary h2 { font-size: 18px; } } .summary-row { display: flex; justify-content: space-between; margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px solid #eee; } @media (max-width: 360px) { .summary-row { font-size: 14px; } } .summary-row.delivery-row { flex-direction: column; align-items: stretch; } .delivery-options { margin-top: 10px; } .delivery-options label { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; cursor: pointer; font-weight: 500; } @media (max-width: 768px) { .delivery-options label { align-items: flex-start; gap: 5px; } } .delivery-price { font-weight: bold; color: #5c0a0a; } @media (max-width: 768px) { .delivery-price { align-self: flex-end; } } .summary-total { display: flex; justify-content: space-between; margin: 20px 0; padding-top: 20px; border-top: 2px solid #ddd; font-size: 24px; font-weight: bold; color: #333; } @media (max-width: 1024px) { .summary-total { font-size: 22px; } } @media (max-width: 576px) { .summary-total { font-size: 20px; margin: 15px 0; padding-top: 15px; } } .checkout-btn { width: 100%; padding: 16px; background: #5c0a0a; color: white; border: none; border-radius: 8px; font-size: 18px; font-weight: bold; cursor: pointer; transition: background 0.3s; margin-bottom: 20px; font-family: "Unbounded", sans-serif; } .checkout-btn:hover:not(:disabled) { background: #7a0d0d; } .checkout-btn:disabled { background: #ccc; cursor: not-allowed; } @media (max-width: 576px) { .checkout-btn { padding: 14px; font-size: 16px; } } @media (max-width: 360px) { .checkout-btn { font-size: 15px; padding: 12px; } } .promo-code { margin-top: 20px; padding-top: 20px; border-top: 1px solid #eee; } .promo-code h3 { margin-bottom: 10px; } .promo-input-group { display: flex; gap: 10px; margin-bottom: 10px; } @media (max-width: 768px) { .promo-input-group { flex-direction: column; } } .promo-input-group input { flex: 1; padding: 10px; border: 1px solid #ddd; border-radius: 6px; font-size: 14px; } @media (max-width: 768px) { .promo-input-group input { width: 100%; } } @media (max-width: 360px) { .promo-input-group input { padding: 8px; font-size: 13px; } } .apply-promo-btn { background: #333; color: white; border: none; padding: 10px 20px; border-radius: 6px; cursor: pointer; transition: background 0.3s; font-family: "Unbounded", sans-serif; } .apply-promo-btn:hover { background: #555; } @media (max-width: 768px) { .apply-promo-btn { width: 100%; } } @media (max-width: 360px) { .apply-promo-btn { padding: 8px 15px; font-size: 13px; } } .promo-message { font-size: 14px; padding: 5px; border-radius: 4px; } .promo-message.success { background: #d4edda; color: #155724; } .promo-message.error { background: #f8d7da; color: #721c24; } .promo-list{ display: grid; justify-content: center; } .delivery-info { background: white; border: 2px solid #5c0a0a; padding: 20px; border-radius: 10px; } @media (max-width: 576px) { .delivery-info { padding: 15px; } } .delivery-info h3 { margin-top: 0; color: #5c0a0a; } .info-card { background: #f9f9f9; padding: 15px; border-radius: 8px; margin-top: 10px; } .info-card p { margin: 8px 0; font-size: 14px; line-height: 1.5; font-weight: 400; } .recommendations-section { padding: 40px 20px; background: #f9f9f9; margin-top: 40px; } @media (max-width: 768px) { .recommendations-section { padding: 30px 15px; } } .recommendations-section h2 { text-align: center; margin-bottom: 30px; color: #333; } .recommendations-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; max-width: 1200px; margin: 0 auto; } @media (max-width: 1024px) { .recommendations-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 15px; } } @media (max-width: 768px) { .recommendations-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; } } @media (max-width: 576px) { .recommendations-grid { grid-template-columns: 1fr; max-width: 300px; } } .recommendation-item { background: white; border-radius: 10px; overflow: hidden; box-shadow: 0 3px 10px rgba(0,0,0,0.1); transition: transform 0.3s; } .recommendation-item:hover { transform: translateY(-5px); } .recommendation-item img { width: 100%; height: 200px; object-fit: cover; } @media (max-width: 768px) { .recommendation-item img { height: 150px; } } .recommendation-content { padding: 15px; } .recommendation-content h4 { margin: 0 0 10px 0; font-size: 16px; color: #333; } .recommendation-price { font-weight: bold; color: #5c0a0a; margin-bottom: 10px; } .add-recommendation-btn { width: 100%; padding: 10px; background: #5c0a0a; color: white; border: none; border-radius: 6px; cursor: pointer; transition: background 0.3s; font-family: "Unbounded", sans-serif; } .add-recommendation-btn:hover { background: #7a0d0d; } .cart-btn { position: relative; display: flex; align-items: center; gap: 8px; text-decoration: none; } .cart-count { position: absolute; top: -8px; right: -8px; background: #5c0a0a; color: white; border-radius: 50%; width: 25px; height: 25px; display: flex !important; align-items: center; justify-content: center; font-size: 12px; font-weight: 400; border: 2px solid white; box-sizing: border-box; z-index: 1001; opacity: 1 !important; visibility: visible !important; transition: none !important; } #mobileCartCount { position: absolute; top: -8px; right: 20px; background: #5c0a0a; color: white; font-size: 12px; min-width: 25px; height: 25px; border-radius: 50%; display: flex !important; align-items: center; justify-content: center; font-weight: 400; border: 2px solid white; z-index: 1001; } .order-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; z-index: 10000; } .modal-content { background: white; border-radius: 10px; max-width: 600px; width: 90%; padding: 10px; max-height: 80vh; overflow-y: auto; padding: 30px; } .modal-header { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid #eee; } .modal-header h3 { margin: 0; } .close-modal { background: none; border: none; font-size: 24px; cursor: pointer; color: #666; } .close-modal:hover { color: #5c0a0a; } .modal-body { padding: 20px; } .order-items-table { width: 100%; border-collapse: collapse; } .order-items-table th, .order-items-table td { padding: 10px; text-align: left; border-bottom: 1px solid #eee; } .modal-desk{ font-weight: 400; font-size: 12px; } .order-items-table th { background: #f5f5f5; font-weight: bold; } .order-id { font-weight: 700; font-size: 16px; color: #5c0a0a; } .order-details { font-weight: 400; font-size: 13px; color: #666; line-height: 1; } #ordersTable td button:not(.a-btn) { text-decoration: none; padding: 15px 32px; border-radius: 130px; transition: all 0.3s ease; border: none; cursor: pointer; font-family: "Unbounded", sans-serif; display: inline-block; color: #ffffff; background-color: #000000; } #ordersTable td button:not(.a-btn):hover { background-color: #ffffff; color: #000000; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); } @media (max-width: 768px) { .orders-table th, .orders-table td { padding: 8px 4px; font-size: 14px; } .orders-table td:nth-child(2) { min-width: 150px; } .modal-content { width: 95%; } .order-items-table th, .order-items-table td { padding: 8px; font-size: 14px; } } .quantity-btn:active, .remove-item-btn:active, .clear-cart-btn:active, .checkout-btn:active, .add-recommendation-btn:active { transform: scale(0.95); transition: transform 0.1s; } button:hover:not(:disabled) { opacity: 0.9; cursor: pointer; } .cart-notification { position: fixed; top: 20px; right: 20px; padding: 15px 20px; border-radius: 8px; color: white; z-index: 10000; display: flex; align-items: center; gap: 10px; min-width: 300px; animation: slideInRight 0.3s ease; } @media (max-width: 768px) { .cart-notification { left: 10px; right: 10px; min-width: auto; } } .cart-notification.success { background: #78f295; } .cart-notification.error { background: #5c0a0a; } .cart-notification.info { background: #f0ad4e; } .status-completed { color: #78f295; font-weight: bold; } .status-pending { color: #6b6249; font-weight: bold; } .status-cancelled { color: #dc3545; font-weight: bold; } .promotions-main, .workshops-main { padding: 40px 20px; background: #f9f9f9; min-height: 100vh; } @media (max-width: 480px) { .promotions-main, .workshops-main { padding: 20px 10px; } } .promotions-main .promo-container, .workshops-main .workshops-container { max-width: 1200px; margin: 0 auto; } .promotions-main h1, .workshops-main h1 { text-align: center; color: #5c0a0a; font-size: 2.5rem; margin-bottom: 10px; font-family: 'Unbounded', sans-serif; } @media (max-width: 480px) { .promotions-main h1, .workshops-main h1 { font-size: 1.8rem; } } .promotions-main .subtitle, .workshops-main .subtitle { text-align: center; color: #666; font-size: 1.1rem; margin-bottom: 40px; } .promotions-grid, .workshops-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 30px; margin-bottom: 60px; } @media (max-width: 768px) { .promotions-grid, .workshops-grid { grid-template-columns: 1fr; } } .promotion-card, .workshop-card { background: white; border-radius: 15px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.1); transition: transform 0.3s ease, box-shadow 0.3s ease; position: relative; animation: fadeIn 0.5s ease forwards; } .promotion-card:hover, .workshop-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.15); } .promotion-card.featured, .workshop-card.featured { border: 3px solid #5c0a0a; } .workshop-card.featured { border: 3px solid #D4AF37; } .promotion-badge, .workshop-badge { position: absolute; top: 15px; right: 15px; background: #5c0a0a; color: white; padding: 5px 15px; border-radius: 20px; font-size: 0.8rem; font-weight: bold; z-index: 2; } .workshop-badge { background: #D4AF37; color: #000; } .promotion-image, .workshop-image { height: 300px; overflow: hidden; } .promotion-image img, .workshop-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; } .promotion-card:hover .promotion-image img, .workshop-card:hover .workshop-image img { transform: scale(1.05); } .promotion-content, .workshop-content { padding: 25px; } @media (max-width: 480px) { .promotion-content, .workshop-content { padding: 15px; } } .promotion-content h3, .workshop-content h3 { color: #333; font-size: 1.4rem; margin-bottom: 10px; font-family: 'Unbounded', sans-serif; } .promotion-period { color: #5c0a0a; font-weight: 600; margin-bottom: 15px; font-size: 0.9rem; } .promotion-description, .workshop-description { color: #333; line-height: 1.6; margin-bottom: 20px; font-weight: 400; } .promotion-description ul, .workshop-description ul { margin: 10px 0; padding-left: 20px; font-weight: 500; } .promotion-description li, .workshop-description li { margin-bottom: 5px; } .promotion-price { display: flex; align-items: center; gap: 15px; margin: 15px 0; } .old-price { text-decoration: line-through; color: #999; font-size: 1.2rem; } .new-price { color: #5c0a0a; font-size: 32px; font-weight: bold; } .saving { color: #28a745; font-weight: bold; font-size: 0.9rem; } .delivery-info, .requirements, .seasonal-items, .loyalty-steps, .workshop-details { background: #f8f9fa; padding: 15px; border-radius: 8px; margin: 15px 0; } .delivery-info p, .requirements p, .seasonal-items p { font-size: 15px; } .workshop-details p { margin: 5px 0; color: #555; font-weight: 400; font-size: 14px; } .workshop-details strong { color: #5c0a0a; font-weight: 600; } .loyalty-steps { display: flex; flex-direction: column; gap: 10px; } .step { background: white; padding: 10px; border-radius: 6px; border-left: 4px solid #5c0a0a; font-size: 12px; } .promotion-footer { display: flex; flex-direction: column; align-items: flex-start; padding-top: 20px; border-top: 1px solid #eee; margin-top: 20px; gap: 12px; margin-top: auto; } @media (max-width: 768px) { .promotion-footer { flex-direction: column; gap: 15px; align-items: stretch; } } .promo-code { background: #f8f8f8; padding: 10px 16px; border-radius: 8px; font-family: 'Courier New', monospace; font-weight: 600; color: #5c0a0a; border: 2px dashed #5c0a0a; font-size: 15px; width: 100%; text-align: center; box-sizing: border-box; } .promotion-footer .a-btn { width: 100%; background: #5c0a0a; color: white; padding: 12px 20px; border: none; border-radius: 8px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; text-align: center; font-size: 15px; } .how-to-use, .schedule, .registration-form, .testimonials, .faq { background: white; padding: 40px; border-radius: 15px; margin: 40px 0; box-shadow: 0 5px 15px rgba(0,0,0,0.05); } @media (max-width: 768px) { .how-to-use, .schedule, .registration-form, .testimonials, .faq { padding: 20px; } } .how-to-use h2, .schedule h2, .registration-form h2, .testimonials h2, .faq h2 { color: #5c0a0a; margin-bottom: 30px; font-family: 'Unbounded', sans-serif; text-align: center; } .schedule h2, .upcoming-workshops h2 { color: #5c0a0a; margin-bottom: 30px; font-family: 'Unbounded', sans-serif; text-align: center; } .steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; } @media (max-width: 768px) { .steps { grid-template-columns: 1fr; } } .steps .step { text-align: center; background: none; border: none; padding: 0; } .step-number { width: 50px; height: 50px; background: #5c0a0a; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: bold; margin: 0 auto 20px; } .steps h3 { color: #333; margin-bottom: 10px; font-size: 1.2rem; } .steps p { color: #666; font-size: 0.9rem; font-weight: 400; } .workshop-meta { display: flex; flex-wrap: wrap; gap: 15px; margin-bottom: 15px; color: #333; font-weight: 500; font-size: 12px; } .workshop-meta span { display: flex; align-items: center; gap: 5px; } .calendar { max-width: 800px; margin: 0 auto; } .calendar-header { display: flex; justify-content: center; align-items: center; margin-bottom: 20px; padding: 0 10px; } @media (max-width: 768px) { .calendar-header { flex-direction: column; gap: 10px; text-align: center; } .calendar-header h3 { order: -1; } } .calendar-header h3 { color: #333; margin: 0; font-weight: 500; } .calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; } @media (max-width: 768px) { .calendar-grid { gap: 2px; } } .day-header { text-align: center; font-weight: bold; color: #f0f0f0; padding: 10px; background: #5c0a0a; border-radius: 6px; } .day { background: #f8f9fa; border-radius: 6px; padding: 15px; text-align: center; cursor: pointer; transition: all 0.3s; min-height: 60px; display: flex; flex-direction: column; align-items: center; justify-content: center; } @media (max-width: 768px) { .day { padding: 5px; min-height: 50px; font-size: 0.9rem; } } .day:hover { background: #e9ecef; transform: scale(1.05); } .day.empty { background: #f0f0f0; color: #ccc; cursor: default; } .day.empty:hover { transform: none; background: #f0f0f0; } .day.event { background: #fffcf6; border: 2px solid #5c0a0a; position: relative; animation: pulse 2s infinite; } .event-marker { font-size: 0.7rem; background: #5c0a0a; color: white; padding: 2px 8px; border-radius: 10px; margin-top: 5px; font-weight: 400; } @media (max-width: 768px) { .event-marker { font-size: 0.6rem; padding: 2px 2px; } } .day-number { font-weight: bold; color: #333; } .day.selected { background: #5c0a0a; color: white; } .day.selected .day-number { color: white; } #workshopRegistration { max-width: 600px; margin: 0 auto; } .form-group { margin-bottom: 20px; } .form-group label { display: block; margin-bottom: 8px; color: #333; font-weight: 600; } .form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px; border: 2px solid #ddd; border-radius: 8px; font-size: 1rem; transition: border-color 0.3s; } .form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: #5c0a0a; } .form-group textarea { resize: vertical; min-height: 100px; } .testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; } @media (max-width: 768px) { .testimonials-grid { grid-template-columns: 1fr; } } .testimonial { background: white; padding: 25px; border-radius: 10px; box-shadow: 0 3px 10px rgba(0,0,0,0.08); } .testimonial-content { font-style: italic; color: #555; line-height: 1.6; margin-bottom: 20px; font-weight: 400; position: relative; } .testimonial-content:before { content: '"'; font-size: 3rem; color: #5c0a0a; opacity: 0.5; position: absolute; top: -20px; left: -15px; } .testimonial-author { border-top: 1px solid #eee; padding-top: 15px; } .testimonial-author strong { display: block; color: #333; margin-bottom: 5px; font-weight: 500; } .testimonial-author span { color: #666; font-size: 0.9rem; font-weight: 400; } .faq-list { max-width: 800px; margin: 0 auto; } .faq-item { margin-bottom: 15px; border: 1px solid #eee; border-radius: 8px; overflow: hidden; } .faq-question { padding: 15px 20px; background: #f8f9fa; cursor: pointer; font-weight: 600; color: #333; display: flex; justify-content: space-between; align-items: center; transition: all 0.5s ease; } .faq-question:hover { background: #f0f0f0; } .faq-question::after { content: "▼"; font-size: 0.8rem; color: #5c0a0a; transition: transform 0.5s ease; margin-left: 10px; } .faq-item.active .faq-question { background: #5c0a0a; color: white; } .faq-item.active .faq-question::after { transform: rotate(180deg); color: white; } .faq-answer { padding: 20px; background: #fdfdfd; color: #555; line-height: 1.6; display: none; } .faq-item.active .faq-answer { display: block; animation: fadeIn 0.3s ease; } .category-tag { display: inline-block; background: rgba(92, 10, 10, 0.1); color: #5c0a0a; padding: 5px 15px; border-radius: 20px; margin: 0 5px; font-size: 0.9rem; text-decoration: none; transition: all 0.3s; } .category-tag:hover { background: #5c0a0a; color: white; } .seats-counter { display: inline-flex; align-items: center; background: #f0f0f0; border-radius: 20px; padding: 5px 15px; margin: 10px 0; } .seats-counter .seats-remaining { color: #28a745; font-weight: bold; margin-left: 5px; } .seats-counter .seats-low { color: #dc3545; } .rating-stars { display: inline-flex; gap: 2px; } .star { color: #ddd; font-size: 1.2rem; cursor: pointer; transition: color 0.3s; } .star.filled { color: #D4AF37; } .star:hover { color: #D4AF37; } .progress-container { background: #f0f0f0; border-radius: 10px; height: 10px; margin: 20px 0; overflow: hidden; } .progress-bar { height: 100%; background: linear-gradient(90deg, #5c0a0a, #D4AF37); border-radius: 10px; transition: width 0.5s ease; position: relative; } .progress-bar:after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent); animation: shimmer 2s infinite; } @keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } } .confirmation-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; z-index: 10000; opacity: 0; pointer-events: none; } .confirmation-modal.active { opacity: 1; pointer-events: all; } .confirmation-modal.active .modal-content { transform: translateY(0); } .confirmation-modal .modal-content { background: white; padding: 30px; border-radius: 15px; max-width: 500px; width: 90%; text-align: center; transform: translateY(20px); transition: transform 0.3s; } .countdown-timer { display: flex; gap: 10px; justify-content: center; margin: 20px 0; } .countdown-item { background: #5c0a0a; color: white; padding: 10px; border-radius: 8px; min-width: 60px; text-align: center; } .countdown-number { font-size: 1.5rem; font-weight: bold; } .countdown-label { font-size: 0.8rem; opacity: 0.8; } .status-update-notification { position: fixed; top: 20px; right: 20px; background: #28a745; color: white; padding: 15px 20px; border-radius: 8px; z-index: 10000; animation: slideInRight 0.3s ease; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); display: flex; align-items: center; gap: 10px; max-width: 400px; } .status-update-notification::before { content: "✓"; font-size: 18px; font-weight: bold; } delivery-notification { padding: 10px 15px; margin: 10px 0; border-radius: 10px; font-size: 14px; font-weight: 400; text-align: center; } .delivery-options label { display: flex; justify-content: space-between; align-items: center; padding: 10px 15px; border: 1px solid #ddd; border-radius: 8px; margin-bottom: 10px; cursor: pointer; transition: all 0.3s ease; } .delivery-options label:hover { border-color: #5c0a0a; background-color: #f9f9f9; } .delivery-options input[type="radio"]:checked + label { border-color: #5c0a0a; background-color: #fff5f5; } .delivery-price { font-weight: bold; color: #28a745; } .delivery-price.free { color: #28a745; font-weight: bold; } .modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.5); backdrop-filter: blur(5px); opacity: 0; transition: opacity 0.3s ease; } .modal.show { display: flex; align-items: center; justify-content: center; opacity: 1; } .stars-rating { display: flex; gap: 10px; margin: 10px 0; } .star-btn { background: none; border: none; font-size: 24px; cursor: pointer; color: #ddd; transition: all 0.2s; padding: 0; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; } @media (max-width: 768px) { .star-btn { font-size: 20px; width: 25px; height: 25px; } } .star-btn.hover { color: #ffc107; transform: scale(1.1); } .star-btn.active { color: #ffd700; } .star-btn.active.hover { color: #ffd700; } .error-message { color: #e74c3c; font-size: 14px; margin-top: 5px; display: none; } .success-message { background-color: #e8f5e9; color: #2e7d32; padding: 15px; border-radius: 5px; margin: 20px 0; display: none; text-align: center; border-left: 4px solid #4caf50; } .form-message { margin: 15px 0; padding: 12px 15px; border-radius: 8px; display: none; font-weight: 500; } .form-message.success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; display: block; } .form-message.error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; display: block; } .promo-modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0, 0, 0, 0.7); backdrop-filter: blur(8px); display: none; justify-content: center; align-items: center; z-index: 9999; padding: 15px; animation: promoFadeIn 0.3s ease; } .promo-modal-box { background: white; border-radius: 16px; padding: 25px; max-width: 450px; width: 100%; box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25); animation: promoSlideIn 0.3s ease-out; position: relative; border: 1px solid #eaeaea; } @media (max-width: 768px) { .promo-modal-box { padding: 20px; margin: 10px; } } .promo-modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 2px solid #f0f0f0; } .promo-modal-title { font-size: 22px; font-weight: 700; color: #000000; margin: 0; font-family: 'Unbounded', sans-serif; } @media (max-width: 768px) { .promo-modal-title { font-size: 20px; } } .promo-modal-close { background: none; border: none; font-size: 24px; cursor: pointer; color: #333333; padding: 5px; line-height: 1; transition: color 0.2s; border-radius: 50%; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; } .promo-modal-close:hover { color: #5c0a0a; background-color: #f8f9fa; } .promo-modal-body { margin-bottom: 25px; } .promo-modal-text { font-size: 14px; font-weight: 500; line-height: 1.6; color: #333333; margin: 0 0 15px 0; } .promo-modal-list { margin: 15px 0; padding-left: 20px; } .promo-modal-list li { margin-bottom: 8px; font-weight: 400; line-height: 1.5; } .promo-modal-price { background: rgba(106, 0, 0, 0.114); border-radius: 10px; padding: 20px; margin: 20px 0; text-align: center; } .promo-price-old { font-size: 18px; color: #272727; text-decoration: line-through; margin-right: 10px; } .promo-price-new { font-size: 28px; font-weight: 800; color: #5c0a0a; } .promo-modal-savings { text-align: center; color: #28a745; font-weight: 600; font-size: 16px; margin: 8px; } .promo-modal-footer { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; padding-top: 20px; border-top: 1px solid #f0f0f0; } @media (max-width: 768px) { .promo-modal-footer { flex-direction: column; } } .promo-modal-btn { padding: 12px 24px; border-radius: 8px; border: none; font-weight: 600; cursor: pointer; transition: all 0.2s; font-family: "Unbounded", sans-serif; font-size: 14px; } @media (max-width: 768px) { .promo-modal-btn { width: 100%; text-align: center; } } .promo-modal-btn-primary { background: #000000; color: #f0f0f0; } .promo-modal-btn-primary:hover { background: #f0f0f0; color: #000000; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.471); } .promo-modal-btn-secondary { background: #f4f4f4; color: #333; border: 1px solid #dee2e6; } .promo-modal-btn-secondary:hover { background: #e8e8e8; transform: translateY(-2px); } .promo-success-icon { text-align: center; font-size: 60px; margin: 20px 0; color: #27ae60; animation: promoSuccessPulse 0.6s ease; } .promo-code-display { background: rgba(106, 0, 0, 0.171); border: 2px dashed #5c0a0a; padding: 15px; border-radius: 10px; text-align: center; margin: 20px 0; font-family: 'Courier New', monospace; font-size: 20px; font-weight: bold; color: #000; letter-spacing: 2px; } .burger-menu { display: none !important; flex-direction: column; justify-content: space-between; width: 30px; height: 24px; background: transparent; border: none; cursor: pointer; padding: 0; z-index: 1002; margin: 0; } @media screen and (max-width: 1024px) { .burger-menu { display: flex !important; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); } .menu { display: none !important; } } @media screen and (max-width: 767px) { .burger-menu { right: 15px; width: 28px; height: 22px; } } @media screen and (max-width: 480px) { .burger-menu { right: 12px; width: 26px; height: 20px; } } .burger-menu span { width: 100%; height: 3px; background-color: #000000; border-radius: 2px; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); transform-origin: center; } @media screen and (max-width: 480px) { .burger-menu span { height: 2.5px; } } .burger-menu.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); } .burger-menu.active span:nth-child(2) { opacity: 0; transform: translateX(-10px); } .burger-menu.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); } @media screen and (max-width: 1024px) { .mobile-menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); backdrop-filter: blur(4px); z-index: 998; opacity: 0; visibility: hidden; transition: all 0.3s ease; } .mobile-menu-overlay.active { opacity: 1; visibility: visible; } .mobile-menu { position: fixed; top: 0; right: -100%; width: 320px; height: 100vh; background: white; box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15); z-index: 999; transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1); display: flex; flex-direction: column; overflow: hidden; } .mobile-menu.active { right: 0; } body.mobile-menu-open { overflow: hidden; } } .mobile-menu-header { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid #eee; background: #fafafa; } .mobile-logo img { height: 35px; width: auto; } .close-mobile-menu { background: none; border: none; font-size: 32px; color: #666; cursor: pointer; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: all 0.2s ease; } .close-mobile-menu:hover { background: #f0f0f0; color: #333; } .mobile-menu-content { flex: 1; padding: 30px 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; } @media screen and (max-width: 1024px) { .mobile-menu-link { animation: slideInRight 0.3s ease forwards; opacity: 0; } .mobile-menu-link:nth-child(1) { animation-delay: 0.1s; } .mobile-menu-link:nth-child(2) { animation-delay: 0.15s; } .mobile-menu-link:nth-child(3) { animation-delay: 0.2s; } .mobile-menu-link:nth-child(4) { animation-delay: 0.25s; } .mobile-menu-buttons { animation-delay: 0.3s; } } .mobile-menu-link { display: block; padding: 16px 20px; color: #333; text-decoration: none; font-size: 17px; font-weight: 500; border-radius: 10px; transition: all 0.3s ease; position: relative; } .mobile-menu-link:hover { background: #f8f8f8; color: #5c0a0a; transform: translateX(5px); } .mobile-menu-link:active { transform: translateX(5px) scale(0.98); } .mobile-menu-buttons { margin-top: 30px; display: flex; flex-direction: column; gap: 15px; padding: 0 5px; } .mobile-account-btn, .mobile-cart-btn { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 15px; font-size: 16px; width: 100%; text-align: center; } .mobile-cart-btn { position: relative; } @media screen and (min-width: 1025px) { .burger-menu, .mobile-menu-overlay, .mobile-menu { display: none !important; } .menu { display: flex !important; } } html { scroll-behavior: smooth; } @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } @keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } @keyframes modalAppear { from { opacity: 0; transform: scale(0.9) translateY(-20px); } to { opacity: 1; transform: scale(1) translateY(0); } } @keyframes modalDisappear { from { opacity: 1; transform: scale(1) translateY(0); } to { opacity: 0; transform: scale(0.9) translateY(-20px); } } @keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } } @keyframes shake { 0%, 100% { transform: translateX(0); } 10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); } 20%, 40%, 60%, 80% { transform: translateX(5px); } } @keyframes promoFadeIn { from { opacity: 0; } to { opacity: 1; } } @keyframes promoSlideIn { from { opacity: 0; transform: translateY(-30px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } } @keyframes promoSuccessPulse { 0% { transform: scale(0.8); opacity: 0.5; } 50% { transform: scale(1.1); } 100% { transform: scale(1); opacity: 1; } } @keyframes slideIn { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: translateX(0); } } .fade-in { animation: fadeIn 0.6s ease-out; } .pulse { animation: pulse 2s infinite; } .loading { position: relative; opacity: 0.7; pointer-events: none; } .loading:after { content: ''; position: absolute; top: 50%; left: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border: 2px solid #5c0a0a; border-top-color: transparent; border-radius: 50%; animation: spin 1s linear infinite; } .copy-btn { position: relative; overflow: hidden; } .copy-btn:after { content: '✓ Скопировано!'; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: #28a745; color: white; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s; } .copy-btn.copied:after { opacity: 1; } @media (max-width: 479px) { .map-section { margin: 30px 0; } #map { height: 300px !important; } .map-controls { flex-direction: column; align-items: center; } } @media (max-height: 600px) and (orientation: landscape) { .cart-item { padding: 10px; } .cart-image img { width: 60px; height: 60px; } .order-summary { padding: 15px; } .empty-cart { padding: 30px 15px; } } @media (max-width: 360px) { .auth-container { padding: 20px 15px; } } .a-btn.secondary { background: #f0f0f0; color: #333; } .a-btn.secondary:hover { background: #e0e0e0; } @keyframes flyToCart { 0% { transform: scale(1) rotate(0deg); opacity: 1; } 70% { opacity: 0.8; } 100% { transform: translate(var(--target-x, 0), var(--target-y, 0)) scale(0.1) rotate(360deg); opacity: 0; } } .product-flying-item { position: fixed !important; z-index: 10000 !important; pointer-events: none !important; border-radius: 10px; box-shadow: 0 10px 30px rgba(97, 10, 10, 0.4); animation: flyToCart 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards; transform-origin: center center; } @keyframes cartBounce { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.2); } } .cart-bounce { animation: cartBounce 0.3s ease-in-out; } @keyframes splash { 0% { transform: scale(0); opacity: 1; } 100% { transform: scale(2); opacity: 0; } } .splash-effect { position: fixed; width: 20px; height: 20px; border-radius: 50%; background: radial-gradient(circle, #5c0a0a 0%, transparent 70%); pointer-events: none; z-index: 9999; animation: splash 0.5s ease-out forwards; } @keyframes productPulse { 0% { transform: scale(1); } 50% { transform: scale(0.98); } 100% { transform: scale(1); } } .product-pulse { animation: productPulse 0.3s ease-out; } @keyframes counterBounce { 0% { transform: scale(1); background-color: #5c0a0a; } 50% { transform: scale(1.4); background-color: #6c0606; color: #ffffff; } 100% { transform: scale(1); background-color: #5c0a0a; color: white; } } .counter-bounce { animation: counterBounce 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55); } .cart-count { transition: all 0.2s ease; will-change: transform, background-color, color; } @keyframes cartGlow { 0% { box-shadow: 0 0 5px rgba(242, 120, 153, 0.5); } 50% { box-shadow: 0 0 20px rgba(242, 120, 120, 0.8); transform: scale(1.1); } 100% { box-shadow: 0 0 5px rgba(242, 120, 120, 0.5); transform: scale(1); } } .cart-btn { transition: all 0.3s ease; } .cart-btn.temp-glow { animation: cartGlow 1s ease-in-out; } @keyframes buttonSuccessPulse { 0% { transform: scale(1); background-color: var(--coffee-brown); } 30% { transform: scale(1.05); background-color: #78f295ff; box-shadow: 0 0 20px rgba(120, 242, 149, 0.5); } 100% { transform: scale(1); background-color: #78f295ff; } } .success-pulse { animation: buttonSuccessPulse 1.5s ease-out forwards; } .added-temp { background-color: #78f295ff !important; color: #1a5c2e !important; border-color: #5ccb7f !important; } .add-to-cart-btn.in-cart { background-color: #5c0a0a !important; color: white !important; position: relative; } .add-to-cart-btn.in-cart::after { content: attr(data-count); position: absolute; top: -8px; right: -8px; background: #78f295ff; color: #1a5c2e; font-size: 12px; font-weight: bold; padding: 2px 6px; border-radius: 50%; min-width: 20px; text-align: center; } @keyframes numberPop { 0% { transform: scale(1); } 50% { transform: scale(1.5); background: #ff9800; } 100% { transform: scale(1); } } .number-pop { animation: numberPop 0.3s ease-out; } .add-to-cart-btn .plus-one { display: inline-block; animation: plusOnePop 0.5s ease-out; font-weight: bold; color: #99ffb8; margin-right: 5px; } @keyframes plusOnePop { 0% { transform: scale(0); opacity: 0; } 70% { transform: scale(1.3); opacity: 1; } 100% { transform: scale(1); opacity: 1; } } .add-to-cart-btn .total-count { display: inline-block; animation: countSlide 0.5s ease-out; } @keyframes countSlide { 0% { transform: translateY(-10px); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } } .add-to-cart-btn .item-count { display: inline-block; animation: countBounce 0.3s ease-out; font-weight: bold; } @keyframes countBounce { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.2); color: #78f295; } } @keyframes slideInRight { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } } @keyframes slideOutRight { from { transform: translateX(0); opacity: 1; } to { transform: translateX(100%); opacity: 0; } } @keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } } @keyframes fadeInUp { from { opacity: 0; transform: translateY(50px); } to { opacity: 1; transform: translateY(0); } } @keyframes fadeInLeft { from { opacity: 0; transform: translateX(-50px); } to { opacity: 1; transform: translateX(0); } } @keyframes fadeInRight { from { opacity: 0; transform: translateX(50px); } to { opacity: 1; transform: translateX(0); } } @keyframes scaleIn { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: scale(1); } } @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } } .animate-on-scroll { opacity: 0; transition: opacity 0.8s ease, transform 0.8s ease; } .fade-in-up { transform: translateY(50px); } .fade-in-left { transform: translateX(-50px); } .fade-in-right { transform: translateX(50px); } .scale-in { transform: scale(0.8); } .animated { opacity: 1; transform: translateY(0) translateX(0) scale(1); } .gallery-section { padding: 80px 0; background: linear-gradient(135deg, #f3f3f3 0%, #fffefb 100%); position: relative; overflow: hidden; } .gallery-section::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-repeat: repeat; opacity: 0.05; z-index: 0; } .gallery-container { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 0 20px; } .gallery-title { text-align: center; margin-bottom: 50px; font-size: 2.5rem; color: #333; position: relative; display: inline-block; left: 50%; transform: translateX(-50%); } .gallery-title::after { content: ''; position: absolute; bottom: -10px; left: 25%; width: 50%; height: 3px; background: linear-gradient(90deg, transparent, #292929, transparent); } .swiper { width: 100%; height: 500px; border-radius: 15px; overflow: hidden; box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15); } .swiper-slide { position: relative; overflow: hidden; } .swiper-slide img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; } .swiper-slide:hover img { transform: scale(1.05); } .swiper-slide-content { position: absolute; bottom: 0; left: 0; width: 100%; padding: 30px; background: linear-gradient(transparent, rgba(0, 0, 0, 0.7)); color: white; transform: translateY(20px); opacity: 0; transition: all 0.5s ease; } .swiper-slide:hover .swiper-slide-content { transform: translateY(0); opacity: 1; } .swiper-slide-title { font-size: 1.5rem; margin-bottom: 10px; font-weight: 600; } .swiper-button-next, .swiper-button-prev { color: #333; background: rgba(255, 255, 255, 0.8); width: 50px; height: 50px; border-radius: 50%; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); } .swiper-button-next:after, .swiper-button-prev:after { font-size: 1.2rem; font-weight: bold; } .swiper-pagination-bullet { width: 10px; height: 10px; background: #fffdfd; opacity: 0.5; } .swiper-pagination-bullet-active { opacity: 1; } .hero_img img { animation: float 6s ease-in-out infinite; } .hero-text .title { overflow: hidden; } .hero-text .title span, .title { display: inline-block; transform: translateY(100%); opacity: 0; animation: slideUp 0.8s forwards; } .hero-text .title span:nth-child(1) { animation-delay: 0.1s; } .hero-text .title span:nth-child(2) { animation-delay: 0.2s; } .hero-text .title span:nth-child(3) { animation-delay: 0.3s; } .hero-text .title span:nth-child(4) { animation-delay: 0.4s; } @keyframes slideUp { to { transform: translateY(0); opacity: 1; } } .parallax-section { height: 500px; background-image: url('/assets/img/coffee-bg.jpg'); background-attachment: fixed; background-position: center; background-repeat: no-repeat; background-size: cover; position: relative; display: flex; align-items: center; justify-content: center; margin: 80px 0; overflow: hidden; } .parallax-section::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.4); } .parallax-content { position: relative; z-index: 1; text-align: center; color: white; max-width: 800px; padding: 0 20px; } .parallax-title { font-size: 2.5rem; margin-bottom: 20px; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); } .parallax-text { font-size: 1.2rem; line-height: 1.6; text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); } .video-section { overflow: hidden; } .video-wrapper { transform: scale(0.95); transition: all 0.8s ease; opacity: 0; } .video-wrapper.animated { transform: scale(1); opacity: 1; } .footer-column { transform: translateY(30px); opacity: 0; transition: all 0.8s ease; } .footer-column.animated { transform: translateY(0); opacity: 1; } .footer-column:nth-child(2) { transition-delay: 0.2s; } .footer-column:nth-child(3) { transition-delay: 0.4s; } .footer-content { display: flex; flex-wrap: wrap; justify-content: space-between; width: 100%; } .footer-column { flex: 1; min-width: 250px; margin-bottom: 30px; padding: 0 15px; } .footer-column h3 { font-size: 1.3rem; margin-bottom: 15px; } .footer-column ul { list-style: none; padding: 0; } .footer-column ul li { margin-bottom: 10px; font-size: 0.95rem; line-height: 1.5; display: flex; justify-content: center; font-weight: 400; } .footer-column p{ font-weight: 400; } @media (max-width: 768px) { .swiper { height: 300px; } .gallery-title { font-size: 2rem; } .parallax-section { height: 300px; } .parallax-title { font-size: 1.8rem; } .parallax-text { font-size: 1rem; padding: 0 10px; } .footer-content { flex-direction: column; } .footer-column { min-width: 100%; text-align: center; padding: 0 20px; margin-bottom: 40px; } .footer-column ul li { justify-content: center; max-width: 250px; margin-left: auto; margin-right: auto; } .footer-column ul li i { margin-right: 15px; } .copyright { font-size: 0.9rem; padding: 0 20px; text-align: center; } .hero-text .title { font-size: 2rem; } .hero-text .subtitle { font-size: 1rem; padding: 0 10px; } } @media (max-width: 480px) { .footer-column { padding: 0 10px; } .footer-column h3 { font-size: 1.2rem; } .footer-column ul li { font-size: 0.9rem; } .copyright { font-size: 0.8rem; padding: 0 15px; } } .more{ display: grid; }