/* ===== Reset & Base ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #faf8f5;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #8B5E3C, #6B4226);
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(139, 94, 60, 0.4);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.btn-small {
  padding: 8px 16px;
  font-size: 14px;
}

/* ===== Announcement Bar ===== */
.announcement-bar {
  background: linear-gradient(135deg, #3E2723, #5D4037);
  color: #fff;
  padding: 10px 0;
  position: relative;
  z-index: 1001;
}

.announcement-bar .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.announcement-bar p {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.announcement-bar p i {
  font-size: 16px;
  color: #C8956E;
}

.announcement-bar strong {
  color: #FFD700;
}

.announcement-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  font-size: 16px;
  padding: 2px 8px;
  transition: 0.3s;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.announcement-close:hover {
  color: #fff;
}

/* ===== Navigation ===== */
.navbar {
  background: #fff;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  padding-bottom: 15px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo i {
  height: 60px;      /* Промени според желаната височина */
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-weight: 500;
  color: #555;
  transition: 0.3s;
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: #6B4226;
  border-bottom-color: #6B4226;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: #333;
  border-radius: 3px;
  transition: 0.3s;
}

/* ===== Hero Section ===== */
.hero {
  background: linear-gradient(135deg, #F5E6D3 0%, #fff 50%, #EDE0D4 100%);
  padding: 80px 0;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
}

.hero-content h1 {
  font-size: 48px;
  line-height: 1.2;
  color: #3E2723;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 18px;
  color: #666;
  margin-bottom: 30px;
  line-height: 1.8;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image i {
  font-size: 200px;
  color: #8B5E3C;
  opacity: 0.7;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* ===== Section Title ===== */
.section-title {
  text-align: center;
  font-size: 36px;
  color: #3E2723;
  margin-bottom: 50px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(135deg, #8B5E3C, #6B4226);
  margin: 15px auto 0;
  border-radius: 2px;
}

/* ===== Categories ===== */
.categories {
  padding: 80px 0;
  background: #fff;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.category-card {
  text-align: center;
  padding: 40px 25px;
  background: #F5E6D3;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.category-card:hover {
  transform: translateY(-5px);
  border-color: #8B5E3C;
  box-shadow: 0 10px 30px rgba(139, 94, 60, 0.15);
}

.category-card i {
  font-size: 48px;
  color: #8B5E3C;
  margin-bottom: 20px;
}

.category-card h3 {
  font-size: 22px;
  color: #3E2723;
  margin-bottom: 10px;
}

.category-card p {
  color: #888;
  font-size: 15px;
}

/* ===== Products Grid ===== */
.featured {
  padding: 80px 0;
  background: #faf8f5;
}

.shop-products {
  padding: 60px 0 80px;
  background: #faf8f5;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(139, 94, 60, 0.15);
}

.product-image {
  height: 280px;
  background: #F5E6D3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-image .placeholder {
  font-size: 80px;
  color: #C8956E;
}

.product-info {
  padding: 20px;
}

.product-info h3 {
  font-size: 18px;
  color: #3E2723;
  margin-bottom: 8px;
}

.product-info .price {
  font-size: 24px;
  font-weight: 700;
  color: #6B4226;
  margin-bottom: 6px;
}

.product-info .category-tag {
  display: inline-block;
  padding: 4px 12px;
  background: #F5E6D3;
  color: #8B5E3C;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

/* ===== Filters ===== */
.filters {
  padding: 30px 0;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  border: 2px solid #D4C4B0;
  border-radius: 25px;
  background: #fff;
  color: #666;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: #8B5E3C;
  color: #fff;
  border-color: #8B5E3C;
}

/* ===== Modal ===== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: #fff;
  border-radius: 20px;
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 40px;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 30px;
  cursor: pointer;
  color: #999;
  transition: 0.3s;
}

.modal-close:hover {
  color: #333;
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.modal-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F5E6D3;
  border-radius: 12px;
  min-height: 300px;
}

.modal-image img {
  max-height: 350px;
  object-fit: contain;
}

/* ===== Product Modal Gallery ===== */
.modal-thumbnails {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 15px;
}

.modal-thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  opacity: 0.75;
}

.modal-thumb:hover {
  opacity: 1;
  transform: scale(1.05);
}

.modal-thumb.active {
  border-color: #8B5E3C;
  opacity: 1;
}

/* ===== Modal Size ===== */
.modal-size {
  margin-bottom: 20px;
}

.modal-size label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #444;
  margin-bottom: 8px;
}

.modal-size input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #EDE0D4;
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.3s;
}

.modal-size input:focus {
  outline: none;
  border-color: #8B5E3C;
  box-shadow: 0 0 0 3px rgba(139, 94, 60, 0.1);
}

/* ===== Cart Item Size ===== */
.cart-item-size {
  font-size: 13px;
  color: #888;
  margin-bottom: 4px;
}

.modal-info h2 {
  font-size: 28px;
  color: #3E2723;
  margin-bottom: 15px;
}

.modal-price {
  font-size: 32px;
  font-weight: 700;
  color: #6B4226;
  margin-bottom: 15px;
}

.modal-material {
  color: #666;
  margin-bottom: 20px;
  font-size: 16px;
}

.modal-description {
  color: #555;
  line-height: 1.8;
  margin-bottom: 20px;
}

.modal-stock {
  margin-bottom: 25px;
  font-weight: 600;
}

.modal-stock.in-stock {
  color: #27ae60;
}

.modal-stock.out-of-stock {
  color: #e74c3c;
}

/* ===== Page Header ===== */
.page-header {
  background: linear-gradient(135deg, #F5E6D3, #FFF8F0);
  padding: 60px 0;
  text-align: center;
}

.page-header h1 {
  font-size: 42px;
  color: #3E2723;
  margin-bottom: 15px;
}

.page-header p {
  font-size: 18px;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== Contact Page ===== */
.contact-section {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
}

.contact-info h2 {
  font-size: 28px;
  color: #2d1b3d;
  margin-bottom: 30px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.contact-item i {
  font-size: 22px;
  color: #8B5E3C;
  margin-top: 3px;
  width: 40px;
  height: 40px;
  background: #F5E6D3;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

.contact-item h3 {
  font-size: 16px;
  color: #3E2723;
  margin-bottom: 4px;
}

.contact-item p {
  color: #666;
  font-size: 15px;
}

/* ===== Contact Form ===== */
.contact-form-wrapper {
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.06);
}

.contact-form-wrapper h2 {
  font-size: 24px;
  color: #2d1b3d;
  margin-bottom: 25px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #444;
  font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e8e0ee;
  border-radius: 10px;
  font-size: 15px;
  transition: border-color 0.3s;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #8B5E3C;
}

.form-message {
  padding: 15px;
  border-radius: 10px;
  margin-top: 15px;
  font-weight: 500;
}

.form-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* ===== Footer ===== */
.footer {
  background: #2d1b3d;
  color: #fff;
  padding: 60px 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 40px;
}

.footer-section h4 {
  font-size: 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-section p {
  color: #b8a9c9;
  line-height: 1.8;
  margin-bottom: 8px;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #b8a9c9;
  transition: 0.3s;
}

.footer-section ul li a:hover {
  color: #d4b3ff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  color: #b8a9c9;
  font-size: 14px;
}

/* ===== Nav Actions ===== */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ===== Cart Button ===== */
.cart-btn {
  position: relative;
  background: none;
  border: none;
  font-size: 22px;
  color: #6B4226;
  cursor: pointer;
  padding: 8px;
  transition: 0.3s;
  display: flex;
  align-items: center;
}

.cart-btn:hover {
  color: #8B5E3C;
  transform: scale(1.1);
}

.cart-count {
  position: absolute;
  top: -2px;
  right: -4px;
  background: #e74c3c;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(231, 76, 60, 0.4);
}

/* ===== Search Bar ===== */
.search-bar {
  display: flex;
  align-items: center;
  background: #fff;
  border: 2px solid #EDE0D4;
  border-radius: 50px;
  padding: 10px 20px;
  margin-bottom: 20px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  transition: border-color 0.3s;
}

.search-bar:focus-within {
  border-color: #8B5E3C;
  box-shadow: 0 0 0 3px rgba(139, 94, 60, 0.1);
}

.search-bar i {
  color: #C8956E;
  font-size: 18px;
  margin-right: 12px;
}

.search-bar input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  color: #333;
  background: transparent;
  font-family: inherit;
}

.search-bar input::placeholder {
  color: #bbb;
}

/* ===== Cart Drawer ===== */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 3000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cart-overlay.show {
  display: block;
  opacity: 1;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  max-width: 90vw;
  height: 100%;
  background: #fff;
  z-index: 3001;
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
  box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
}

.cart-drawer.open {
  right: 0;
}

.cart-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  border-bottom: 1px solid #EDE0D4;
}

.cart-drawer-header h3 {
  font-size: 20px;
  color: #3E2723;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-drawer-header h3 i {
  color: #8B5E3C;
}

.cart-drawer-close {
  background: none;
  border: none;
  font-size: 28px;
  color: #999;
  cursor: pointer;
  transition: 0.3s;
  line-height: 1;
}

.cart-drawer-close:hover {
  color: #333;
}

.cart-drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 15px 25px;
}

.cart-empty {
  text-align: center;
  padding: 60px 20px;
}

.cart-empty i {
  font-size: 64px;
  color: #EDE0D4;
  margin-bottom: 20px;
}

.cart-empty p {
  font-size: 18px;
  color: #666;
  margin-bottom: 8px;
}

.cart-empty span {
  font-size: 14px;
  color: #999;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #f0f0f0;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-image {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  background: #F5E6D3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cart-item-image i {
  font-size: 28px;
  color: #C8956E;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-info h4 {
  font-size: 15px;
  color: #3E2723;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-price {
  font-weight: 700;
  color: #6B4226;
  font-size: 15px;
  margin-bottom: 8px;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
  color: #555;
}

.qty-btn:hover {
  background: #F5E6D3;
  border-color: #C8956E;
}

.qty-btn:active {
  transform: scale(0.95);
}

.cart-item-qty span {
  font-weight: 600;
  font-size: 14px;
  min-width: 20px;
  text-align: center;
}

.cart-item-remove {
  background: none;
  border: none;
  color: #e74c3c;
  cursor: pointer;
  font-size: 16px;
  padding: 5px;
  transition: 0.2s;
  opacity: 0.5;
}

.cart-item-remove:hover {
  opacity: 1;
  transform: scale(1.1);
}

.cart-drawer-footer {
  padding: 20px 25px;
  border-top: 1px solid #EDE0D4;
  background: #fff;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  font-size: 18px;
}

.cart-total span {
  color: #666;
}

.cart-total strong {
  color: #3E2723;
  font-size: 22px;
}

/* ===== Cart Notification ===== */
.cart-notification {
  position: fixed;
  top: 80px;
  right: 20px;
  background: #27ae60;
  color: #fff;
  padding: 15px 25px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(39, 174, 96, 0.3);
  z-index: 9999;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateX(120%);
  transition: transform 0.3s ease;
  font-size: 14px;
}

.cart-notification.show {
  transform: translateX(0);
}

.cart-notification i {
  font-size: 20px;
}

/* ===== Checkout Page ===== */
.checkout-section {
  padding: 60px 0 80px;
  background: #faf8f5;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: start;
}

.checkout-form-wrapper {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.06);
}

.checkout-form-wrapper h2 {
  font-size: 24px;
  color: #3E2723;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkout-form-wrapper h2 i {
  color: #8B5E3C;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

/* ===== Payment Methods ===== */
.payment-section {
  margin: 30px 0;
  padding-top: 25px;
  border-top: 2px solid #EDE0D4;
}

.payment-section h3 {
  font-size: 18px;
  color: #3E2723;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.payment-section h3 i {
  color: #8B5E3C;
}

.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.payment-method {
  display: block;
  cursor: pointer;
  border: 2px solid #EDE0D4;
  border-radius: 12px;
  padding: 15px 20px;
  transition: all 0.3s ease;
}

.payment-method:hover {
  border-color: #C8956E;
}

.payment-method.active {
  border-color: #8B5E3C;
  background: #FFF8F0;
}

.payment-method input[type="radio"] {
  display: none;
}

.payment-method-content {
  display: flex;
  align-items: center;
  gap: 15px;
}

.payment-method-content i {
  font-size: 28px;
  color: #8B5E3C;
  width: 50px;
  height: 50px;
  background: #F5E6D3;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

.payment-method-content strong {
  display: block;
  color: #3E2723;
  margin-bottom: 3px;
}

.payment-method-content p {
  font-size: 13px;
  color: #888;
}

/* ===== Delivery Methods ===== */
.delivery-section {
  margin: 30px 0;
  padding-top: 25px;
  border-top: 2px solid #EDE0D4;
}

.delivery-section h3 {
  font-size: 18px;
  color: #3E2723;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.delivery-section h3 i {
  color: #8B5E3C;
}

.delivery-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.delivery-method {
  display: block;
  cursor: pointer;
  border: 2px solid #EDE0D4;
  border-radius: 12px;
  padding: 15px 18px;
  transition: all 0.3s ease;
  background: #fff;
}

.delivery-method:hover {
  border-color: #C8956E;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(139, 94, 60, 0.12);
}

.delivery-method.active {
  border-color: #8B5E3C;
  background: #FFF8F0;
  box-shadow: 0 4px 15px rgba(139, 94, 60, 0.15);
}

.delivery-method input[type="radio"] {
  display: none;
}

.delivery-method-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.delivery-method-content i {
  font-size: 24px;
  color: #8B5E3C;
  width: 46px;
  height: 46px;
  background: #F5E6D3;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  flex-shrink: 0;
  transition: 0.3s;
}

.delivery-method.active .delivery-method-content i {
  background: #8B5E3C;
  color: #fff;
}

.delivery-method-content strong {
  display: block;
  color: #3E2723;
  margin-bottom: 3px;
  font-size: 15px;
}

.delivery-method-content p {
  font-size: 12px;
  color: #888;
}

/* Courier office fields */
.courier-fields {
  margin-top: 18px;
  padding: 20px;
  background: #FFF8F0;
  border: 2px solid #E8D5C0;
  border-radius: 12px;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.courier-fields .form-group {
  margin-bottom: 0;
}

.courier-fields .form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e8e0ee;
  border-radius: 10px;
  font-size: 15px;
  transition: border-color 0.3s;
  font-family: inherit;
  background: #fff;
  cursor: pointer;
}

.courier-fields .form-group select:focus {
  outline: none;
  border-color: #8B5E3C;
}

.courier-fields .form-group select:disabled {
  background: #f5f0eb;
  color: #999;
  cursor: not-allowed;
}

.courier-note {
  color: #888;
  font-size: 13px;
  margin-top: 12px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.6;
}

.courier-note i {
  color: #8B5E3C;
  margin-top: 3px;
}

/* ===== Bank Info ===== */
.bank-info {
  background: #FFF8F0;
  border: 2px solid #E8D5C0;
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
}

.bank-info-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.bank-info-header i {
  font-size: 24px;
  color: #8B5E3C;
}

.bank-info-header h4 {
  font-size: 16px;
  color: #3E2723;
}

.bank-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 15px;
}

.bank-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: #fff;
  border-radius: 8px;
}

.bank-detail-row span {
  color: #888;
  font-size: 14px;
}

.bank-detail-row strong {
  color: #3E2723;
  font-size: 14px;
}

.bank-note {
  font-size: 13px;
  color: #888;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.6;
}

.bank-note i {
  color: #f39c12;
  margin-top: 3px;
}

/* ===== Checkout Summary ===== */
.checkout-summary-card {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 100px;
}

.checkout-summary-card h3 {
  font-size: 20px;
  color: #3E2723;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkout-summary-card h3 i {
  color: #8B5E3C;
}

.checkout-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.checkout-item:last-child {
  border-bottom: none;
}

.checkout-item-image {
  width: 45px;
  height: 45px;
  border-radius: 8px;
  background: #F5E6D3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.checkout-item-image i {
  font-size: 20px;
  color: #C8956E;
}

.checkout-item-info {
  flex: 1;
  min-width: 0;
}

.checkout-item-info h4 {
  font-size: 14px;
  color: #3E2723;
  margin-bottom: 2px;
}

.checkout-item-info p {
  font-size: 13px;
  color: #888;
}

.checkout-item-total {
  font-weight: 700;
  color: #6B4226;
  font-size: 15px;
  white-space: nowrap;
}

.checkout-total {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 2px solid #EDE0D4;
}

.checkout-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 15px;
  color: #666;
}

.checkout-total-final {
  border-top: 2px solid #3E2723;
  margin-top: 8px;
  padding-top: 12px;
  font-size: 20px;
  color: #3E2723;
}

/* ===== Modal Actions ===== */
.modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: 2px solid #8B5E3C;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #fff;
  color: #8B5E3C;
}

.btn-secondary:hover {
  background: #8B5E3C;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(139, 94, 60, 0.3);
}

/* ===== Cookie Consent ===== */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  padding: 20px 0;
  display: none;
  animation: slideUp 0.4s ease;
}

.cookie-consent.show {
  display: block;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cookie-text {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
}

.cookie-text i {
  font-size: 32px;
  color: #8B5E3C;
  flex-shrink: 0;
}

.cookie-text p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

.cookie-text a {
  color: #8B5E3C;
  text-decoration: underline;
  font-weight: 600;
}

.cookie-text a:hover {
  color: #6B4226;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 10px 24px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cookie-accept {
  background: linear-gradient(135deg, #8B5E3C, #6B4226);
  color: #fff;
}

.cookie-accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(139, 94, 60, 0.4);
}

.cookie-decline {
  background: #F5E6D3;
  color: #6B4226;
}

.cookie-decline:hover {
  background: #EDE0D4;
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .cookie-text {
    flex-direction: column;
  }

  .cookie-buttons {
    width: 100%;
  }

  .cookie-btn {
    flex: 1;
    text-align: center;
  }
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }

  .modal-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .delivery-methods {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .categories-grid {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 28px;
  }
}

/* =============================================== */
/* ===== AUTH (Login/Register) Styles ============ */
/* =============================================== */

.nav-auth {
  display: flex;
  align-items: center;
  margin-right: 5px;
}

.btn-auth-login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: 2px solid #8B5E3C;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #fff;
  color: #8B5E3C;
  white-space: nowrap;
}

.btn-auth-login:hover {
  background: #8B5E3C;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(139, 94, 60, 0.3);
}

.nav-user {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: #F5E6D3;
  border-radius: 25px;
  cursor: default;
}

.nav-user i {
  color: #8B5E3C;
  font-size: 16px;
}

.nav-user-name {
  font-weight: 600;
  font-size: 14px;
  color: #3E2723;
  max-width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-logout-btn {
  background: none;
  border: none;
  color: #8B5E3C;
  cursor: pointer;
  font-size: 14px;
  padding: 2px 5px;
  transition: 0.3s;
}

.nav-logout-btn:hover {
  color: #e74c3c;
}

/* ===== Auth Section ===== */
.auth-section {
  padding: 60px 0 80px;
  background: linear-gradient(135deg, #F5E6D3 0%, #FFF8F0 100%);
  min-height: 60vh;
}

.auth-card {
  max-width: 480px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(139, 94, 60, 0.15);
}

.auth-header {
  text-align: center;
  margin-bottom: 30px;
}

.auth-header i {
  font-size: 56px;
  color: #8B5E3C;
  margin-bottom: 15px;
}

.auth-header h1 {
  font-size: 28px;
  color: #3E2723;
  margin-bottom: 10px;
}

.auth-header p {
  color: #888;
  font-size: 15px;
}

.auth-form {
  margin-bottom: 20px;
}

.input-with-icon {
  position: relative;
}

.input-with-icon i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #C8956E;
  font-size: 15px;
}

.input-with-icon input {
  width: 100%;
  padding: 12px 16px 12px 44px;
  border: 2px solid #e8e0ee;
  border-radius: 10px;
  font-size: 15px;
  transition: border-color 0.3s;
  font-family: inherit;
}

.input-with-icon input:focus {
  outline: none;
  border-color: #8B5E3C;
  box-shadow: 0 0 0 3px rgba(139, 94, 60, 0.1);
}

input[readonly] {
  background: #f5f0eb;
  color: #666;
  cursor: not-allowed;
}

.auth-footer {
  text-align: center;
  padding-top: 20px;
  border-top: 2px solid #EDE0D4;
}

.auth-footer p {
  color: #666;
  font-size: 15px;
}

.auth-footer a {
  color: #8B5E3C;
  font-weight: 700;
  text-decoration: underline;
  transition: 0.3s;
}

.auth-footer a:hover {
  color: #6B4226;
}

.auth-note {
  margin-top: 10px;
  font-size: 13px !important;
  color: #999 !important;
}

@media (max-width: 768px) {
  .nav-user-name {
    max-width: 80px;
  }

  .btn-auth-login {
    padding: 6px 12px;
    font-size: 13px;
  }

  .auth-card {
    padding: 30px 20px;
  }
}

/* =============================================== */
/* ===== Invoice / Billing Styles ================ */
/* =============================================== */

.invoice-toggle {
  margin: 30px 0 0;
  padding-top: 25px;
  border-top: 2px solid #EDE0D4;
}

.invoice-checkbox {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  border: 2px solid #EDE0D4;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #fff;
}

.invoice-checkbox:hover {
  border-color: #C8956E;
}

.invoice-checkbox input[type="checkbox"] {
  accent-color: #8B5E3C;
  width: 20px;
  height: 20px;
  cursor: pointer;
  flex-shrink: 0;
}

.invoice-checkbox-icon {
  font-size: 24px;
  color: #8B5E3C;
  width: 44px;
  height: 44px;
  background: #F5E6D3;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  flex-shrink: 0;
}

.invoice-checkbox-text {
  display: flex;
  flex-direction: column;
}

.invoice-checkbox-text strong {
  font-size: 16px;
  color: #3E2723;
}

.invoice-checkbox-text small {
  font-size: 13px;
  color: #888;
}

.billing-section {
  margin: 20px 0;
  padding: 20px;
  background: #FFF8F0;
  border: 2px solid #E8D5C0;
  border-radius: 12px;
}

.billing-section h3 {
  font-size: 16px;
  color: #3E2723;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.billing-section h3 i {
  color: #8B5E3C;
}

.billing-address-box {
  background: #fff;
  border: 1px solid #E8D5C0;
  border-radius: 10px;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.billing-address-info {
  font-size: 14px;
  color: #3E2723;
  line-height: 1.7;
  flex: 1;
}

.billing-fields {
  margin-top: 10px;
}

.billing-fields .form-row {
  margin-bottom: 15px;
}

.billing-fields .form-group {
  margin-bottom: 0;
}

/* ===== Nav User Link (Profile) ===== */
.nav-user-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #3E2723;
  cursor: pointer;
  transition: 0.3s;
}

.nav-user-link:hover .nav-user-name {
  color: #8B5E3C;
}

/* =============================================== */
/* ===== Return Policy Banner ==================== */
/* =============================================== */
.return-policy-banner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #FFF8F0;
  border: 2px solid #E8D5C0;
  border-radius: 12px;
  padding: 16px 18px;
}

.return-policy-banner > i {
  font-size: 26px;
  color: #8B5E3C;
  flex-shrink: 0;
  margin-top: 2px;
}

.return-policy-banner strong {
  color: #3E2723;
  display: block;
  margin-bottom: 4px;
}

.return-policy-banner p {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
}

.return-policy-banner a {
  color: #8B5E3C;
  font-weight: 600;
  text-decoration: underline;
}

/* =============================================== */
/* ===== Account / Dashboard Styles ============== */
/* =============================================== */
.account-section {
  padding: 60px 0 80px;
  background: #faf8f5;
}

.account-loading {
  text-align: center;
  padding: 80px 20px;
  color: #8B5E3C;
}

.account-loading i {
  font-size: 48px;
  margin-bottom: 15px;
}

.account-loading p {
  color: #888;
  font-size: 16px;
}

.account-auth-card {
  margin: 40px auto;
}

.account-profile {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 16px;
  padding: 25px 30px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
  margin-bottom: 25px;
}

.account-profile-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8B5E3C, #6B4226);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.account-profile-icon i {
  font-size: 32px;
  color: #fff;
}

.account-profile-info h2 {
  font-size: 24px;
  color: #3E2723;
  margin-bottom: 5px;
}

.account-profile-info p {
  color: #666;
  font-size: 15px;
  margin-bottom: 2px;
}

.account-profile-info p i {
  color: #8B5E3C;
  width: 20px;
}

.account-actions {
  margin-bottom: 25px;
}

.profile-edit-form {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
  margin-bottom: 25px;
}

.profile-edit-form h3 {
  font-size: 20px;
  color: #3E2723;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile-edit-form h3 i {
  color: #8B5E3C;
}

.profile-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.profile-edit-form .form-group {
  margin-bottom: 0;
}

.profile-edit-form .form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e8e0ee;
  border-radius: 10px;
  font-size: 15px;
  transition: border-color 0.3s;
  font-family: inherit;
}

.profile-edit-form .form-group input:focus {
  outline: none;
  border-color: #8B5E3C;
}

.password-section {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 2px solid #EDE0D4;
}

.password-section h4 {
  font-size: 16px;
  color: #3E2723;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.password-section h4 i {
  color: #8B5E3C;
}

#profile-form-msg p {
  margin-top: 15px;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.profile-form-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .profile-form-grid {
    grid-template-columns: 1fr;
  }
}

.account-return-banner {
  margin-bottom: 30px;
}

.account-orders {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
}

.account-orders-title {
  font-size: 22px;
  color: #3E2723;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.account-orders-title i {
  color: #8B5E3C;
}

.account-orders-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.account-order-card {
  border: 2px solid #EDE0D4;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.account-order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #FFF8F0;
  border-bottom: 1px solid #EDE0D4;
  flex-wrap: wrap;
  gap: 10px;
}

.account-order-num {
  display: flex;
  flex-direction: column;
}

.account-order-num strong {
  color: #3E2723;
  font-size: 16px;
}

.account-order-num span {
  color: #888;
  font-size: 13px;
}

.account-order-items {
  padding: 15px 20px;
}

.account-order-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #f5f0eb;
}

.account-order-item:last-child {
  border-bottom: none;
}

.account-order-item-img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #F5E6D3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.account-order-item-img i {
  font-size: 22px;
  color: #C8956E;
}

.account-order-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-order-item-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.account-order-item-info strong {
  color: #3E2723;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.account-order-item-info span {
  color: #888;
  font-size: 13px;
}

.account-order-item-total {
  font-weight: 700;
  color: #6B4226;
  font-size: 15px;
  white-space: nowrap;
}

.account-order-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-top: 1px solid #EDE0D4;
  background: #FFF8F0;
  flex-wrap: wrap;
  gap: 12px;
}

.account-order-total strong {
  color: #6B4226;
  font-size: 18px;
}

.account-order-return {
  display: flex;
  align-items: center;
}

.btn-return {
  background: #fff;
  border: 2px solid #8B5E3C;
  color: #8B5E3C;
  transition: all 0.3s;
}

.btn-return:hover {
  background: #8B5E3C;
  color: #fff;
  transform: translateY(-2px);
}

.account-return-status {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14px;
  color: #8B5E3C;
}

.account-return-status i {
  color: #8B5E3C;
}

.account-return-status span {
  color: #888;
  font-size: 13px;
}

.account-return-expired {
  font-size: 13px;
  color: #999;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ===== Return Modal ===== */
#return-form-modal .modal-content {
  max-width: 480px;
}

@media (max-width: 768px) {
  .account-profile {
    flex-direction: column;
    text-align: center;
  }

  .account-orders {
    padding: 20px;
  }

  .account-order-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

