* { margin: 0; padding: 0; box-sizing: border-box; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; -webkit-tap-highlight-color: transparent; }
body { background-color: #f8f9fa; color: #333; line-height: 1.6; padding-bottom: 60px; min-height: 100vh; display: flex; flex-direction: column; }
a { text-decoration: none; color: inherit; transition: all 0.2s; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; transition: all 0.2s; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; flex: 1; } .fas, .fa-solid { font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; }
.fab, .fa-brands { font-family: "Font Awesome 6 Brands" !important; font-weight: 400 !important; }
.fa, .fas, .fab { display: inline-block; font-style: normal; } .top-bar { background-color: #222; padding: 10px 0; position: sticky; top: 0; z-index: 9999; box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.header-content { display: flex; justify-content: space-between; align-items: center; height: 60px; }
.main-logo { height: 45px !important; width: auto !important; object-fit: contain; }
.social-icon, .basket-icon { color: white !important; font-size: 1.4rem; padding: 10px; display: flex; align-items: center; border-radius: 50%; }
.social-icon:hover, .basket-icon:hover { background: rgba(255,255,255,0.1); }
.basket-icon-wrapper { position: relative; display: flex; align-items: center; }
.cart-count { position: absolute; top: -2px; right: -2px; background-color: #e74c3c; color: white; font-size: 11px; font-weight: bold; min-width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px solid #222; }
.cart-count.active { display: flex; } .welcome-screen { display: flex; align-items: center; justify-content: center; text-align: center; padding: 60px 20px; min-height: 60vh; background: white; border-radius: 20px; margin-top: 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.welcome-content h1 { font-size: 2.5rem; margin-bottom: 20px; color: #222; line-height: 1.2; font-weight: 800; }
.big-start-btn { display: inline-flex; align-items: center; gap: 10px; background: #e67e22; color: white; font-size: 1.2rem; font-weight: bold; padding: 15px 40px; border-radius: 50px; box-shadow: 0 4px 15px rgba(230, 126, 34, 0.4); }
.big-start-btn:hover { background: #d35400; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(230, 126, 34, 0.5); }
.features-icon-row { margin-top: 40px; display: flex; justify-content: center; gap: 20px; color: #888; font-size: 0.9rem; } .shop-header-row { display: flex; justify-content: space-between; align-items: center; margin: 30px 0; background: white; padding: 20px; border-radius: 15px; border: 1px solid #eee; flex-wrap: wrap; gap: 15px; box-shadow: 0 4px 10px rgba(0,0,0,0.02); }
.hero-small h2 { font-size: 1.8rem; margin-bottom: 5px; font-weight: 700; }
.sort-select { padding: 10px 15px; border-radius: 8px; border: 1px solid #ddd; background: #f9f9f9; font-size: 0.95rem; color: #333; outline: none; cursor: pointer; min-width: 150px; }
.sort-select:hover { border-color: #bbb; }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; padding-bottom: 40px; }
@media (min-width: 768px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 992px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }
.product-card { background: white; border-radius: 16px; padding: 15px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); display: flex; flex-direction: column; height: 100%; transition: transform 0.2s, box-shadow 0.2s; border: 1px solid transparent; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.08); border-color: #eee; }
.product-image { width: 100%; aspect-ratio: 1/1; overflow: hidden; border-radius: 12px; margin-bottom: 15px; background: #f4f4f4; position: relative; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.product-card:hover .product-image img { transform: scale(1.05); }
.product-info h3 { font-size: 1rem; margin-bottom: 5px; color: #222; line-height: 1.4; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; height: 2.8em; }
.price { font-weight: 800; color: #e67e22; font-size: 1.1rem; margin-bottom: 15px; }
.add-to-basket-btn { margin-top: auto; width: 100%; background-color: #2c3e50; color: white; border: none; padding: 12px; border-radius: 10px; font-weight: 600; font-size: 0.95rem; }
.add-to-basket-btn:hover { background-color: #1a252f; } .pagination-wrapper { margin-top: 40px; margin-bottom: 40px; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.pagination-wrapper a, .pagination-wrapper span { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; background: white; border: 1px solid #e0e0e0; border-radius: 12px; color: #333; font-weight: 700; font-size: 1.1rem; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.pagination-wrapper a:hover { background: #f1f1f1; border-color: #d0d0d0; transform: translateY(-2px); }
.pagination-wrapper .current { background: #e67e22; color: white; border-color: #e67e22; box-shadow: 0 4px 10px rgba(230, 126, 34, 0.3); } .basket-page { padding-top: 30px; }
.basket-layout { display: flex; flex-direction: column; gap: 30px; }
@media (min-width: 992px) { .basket-layout { display: grid; grid-template-columns: 2fr 1fr; align-items: start; } .summary-card { margin-top: 0; position: sticky; top: 90px; } }
.basket-items { display: flex; flex-direction: column; gap: 15px; }
.cart-item { display: flex; justify-content: space-between; align-items: center; background: white; padding: 20px; border-radius: 16px; border: 1px solid #eee; box-shadow: 0 2px 8px rgba(0,0,0,0.02); }
.item-main { display: flex; align-items: center; gap: 20px; }
.item-main img { width: 70px; height: 70px; border-radius: 10px; object-fit: cover; border: 1px solid #eee; }
.item-details h3 { font-size: 1rem; font-weight: 700; color: #222; margin-bottom: 5px; }
.item-quantity-control { display: flex; align-items: center; gap: 15px; }
.qty-input { width: 50px; height: 40px; text-align: center; border: 1px solid #ddd; border-radius: 8px; background: #f9f9f9; font-weight: bold; }
.remove-btn { width: 40px; height: 40px; border: none; background: #fff0f0; color: #e74c3c; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.remove-btn:hover { background: #ffdbdb; }
.update-cart-btn { width: 100%; padding: 15px; background: transparent; border: 2px solid #ddd; border-radius: 12px; margin-top: 20px; color: #666; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.update-cart-btn:hover { border-color: #333; color: #333; background: #fff; }
.summary-card { background: #2c3e50; color: white; padding: 30px; border-radius: 20px; box-shadow: 0 10px 30px rgba(44, 62, 80, 0.2); }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 1rem; color: #bdc3c7; }
.summary-card hr { border: 0; border-top: 1px solid #34495e; margin: 20px 0; }
.total-row { font-size: 1.4rem; font-weight: 800; color: white; margin-top: 10px; display: flex; justify-content: space-between; }
.final-price { color: #f1c40f; } .coupon-wrapper { display: flex; gap: 10px; margin-bottom: 25px; }
.coupon-input { flex: 1; padding: 12px; border-radius: 10px; border: none; outline: none; background: #34495e; color: white; font-size: 0.9rem; }
.coupon-input::placeholder { color: #7f8c8d; }
.coupon-btn { background: #e67e22; color: white; border: none; padding: 0 20px; border-radius: 10px; font-weight: bold; }
.coupon-btn:hover { background: #d35400; }
.discount-row span:last-child { color: #2ecc71; font-weight: 700; }
.active-coupons { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.coupon-tag { background: #2ecc71; color: #fff; padding: 6px 12px; border-radius: 20px; font-size: 0.85rem; font-weight: 600; display: flex; align-items: center; gap: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.remove-coupon-x { background: rgba(0,0,0,0.1); color: white; border: none; width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 14px; line-height: 1; }
.remove-coupon-x:hover { background: rgba(0,0,0,0.3); } .msg-success, .msg-error, .msg-warning, .msg-info { padding: 15px; border-radius: 10px; margin-bottom: 20px; font-weight: bold; text-align: center; }
.msg-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.msg-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.msg-warning { background: #fff3cd; color: #856404; border: 1px solid #ffeeba; }
.msg-info { background: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb; }
.messenger-btn { display: flex; align-items: center; justify-content: center; gap: 10px; background: #0084ff; color: white; text-decoration: none; padding: 18px; border-radius: 12px; font-weight: 700; width: 100%; border: none; font-size: 1.1rem; margin-top: 25px; transition: background 0.2s; box-shadow: 0 4px 15px rgba(0, 132, 255, 0.3); }
.messenger-btn:hover { background: #0073e6; transform: translateY(-2px); }
.clear-cart-link { display: block; text-align: center; margin-top: 20px; color: #95a5a6; font-size: 0.85rem; text-decoration: underline; opacity: 0.7; }
.clear-cart-link:hover { opacity: 1; color: white; } .single-product-wrapper { display: flex; flex-direction: column; gap: 25px; }
.product-gallery { position: relative; background: white; border-radius: 15px; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.slider-container { display: flex; transition: transform 0.3s ease-out; width: 100%; }
.slider-container img { width: 100%; flex-shrink: 0; object-fit: contain; }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, 0.9); width: 35px; height: 35px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: none; cursor: pointer; z-index: 10; color: #333; box-shadow: 0 2px 5px rgba(0,0,0,0.2); }
.prev-btn { left: 10px; } .next-btn { right: 10px; }
.product-details-card { background: white; padding: 25px; border-radius: 15px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.single-price { font-size: 1.8rem; color: #e67e22; font-weight: 800; margin: 15px 0; }
.single-description { margin: 25px 0; color: #555; font-size: 1rem; line-height: 1.7; }
@media (min-width: 768px) { .single-product-wrapper { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; } .product-details-card { position: sticky; top: 90px; } .slider-container img { max-height: 500px; background-color: #fff; } }