/* -----------------------------------------------------------
   Gift by Jimit - Premium Sweets & Gift Shop
   Styling Sheet
----------------------------------------------------------- */

:root {
  --primary-color: #d81159;
  --primary-hover: #b00c46;
  --secondary-color: #f7a072;
  --accent-gold: #c68b59;
  --bg-creamy: #fdfaf6;
  --bg-card: #ffffff;
  --text-dark: #231b1b;
  --text-muted: #6b6363;
  --border-light: #eeddd8;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', sans-serif;
  --shadow-sm: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 25px rgba(216, 17, 89, 0.12);
  --shadow-lg: 0 15px 35px rgba(0,0,0,0.12);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --radius: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-creamy);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Section Title */
.section-title {
  text-align: center;
  margin-bottom: 45px;
}
.section-title span.sub {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: inline-block;
  margin-bottom: 8px;
}
.section-title h2 {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.section-title p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 15px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-align: center;
}
.btn-primary {
  background-color: var(--primary-color);
  color: #fff;
  box-shadow: 0 4px 15px rgba(216, 17, 89, 0.35);
}
.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(216, 17, 89, 0.45);
}
.btn-secondary {
  background-color: transparent;
  border-color: var(--primary-color);
  color: var(--primary-color);
}
.btn-secondary:hover {
  background-color: var(--primary-color);
  color: #fff;
  transform: translateY(-2px);
}
.btn-light {
  background-color: #fff;
  color: var(--text-dark);
}
.btn-light:hover {
  background-color: #f7f7f7;
  color: var(--primary-color);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  border: 2px solid #ddd;
  color: var(--text-dark);
}
.btn-outline:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* ---------------- Top Announcement Bar ---------------- */
.top-bar {
  background-color: #231b1b;
  color: #eeddd8;
  font-size: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar-left span {
  margin-right: 15px;
}
.top-bar-left i {
  color: var(--secondary-color);
  margin-right: 5px;
}
.divider {
  color: #555;
  margin: 0 10px;
}
.top-bar-right {
  display: flex;
  align-items: center;
}
.top-link {
  margin-left: 12px;
  color: #eeddd8;
}
.top-link:hover {
  color: var(--secondary-color);
}

/* ---------------- Header ---------------- */
.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo a {
  display: flex;
  flex-direction: column;
}
.logo-sub {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary-color);
  font-weight: 600;
}
.logo-main {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.1;
}

.header-search {
  flex: 0 1 420px;
}
.header-search form {
  position: relative;
  display: flex;
}
.header-search input {
  width: 100%;
  padding: 10px 48px 10px 20px;
  border-radius: 50px;
  border: 1px solid var(--border-light);
  background: var(--bg-creamy);
  font-family: var(--font-body);
  font-size: 13px;
  outline: none;
  transition: var(--transition);
}
.header-search input:focus {
  border-color: var(--primary-color);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(216, 17, 89, 0.1);
}
.header-search button {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.header-search button:hover {
  background-color: var(--primary-hover);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.action-btn {
  background: var(--bg-creamy);
  border: 1px solid var(--border-light);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text-dark);
  position: relative;
  cursor: pointer;
  transition: var(--transition);
}
.action-btn:hover {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}
.action-btn .badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--primary-color);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--text-dark);
  cursor: pointer;
}

/* Navigation */
.main-navigation {
  background-color: #fff;
  border-top: 1px solid #f3ece8;
  border-bottom: 1px solid #f3ece8;
}
.nav-list {
  display: flex;
  justify-content: center;
  gap: 32px;
}
.nav-list li a {
  display: block;
  padding: 14px 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
}
.nav-list li a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--primary-color);
  transition: var(--transition);
}
.nav-list li a:hover,
.nav-list li a.active {
  color: var(--primary-color);
}
.nav-list li a:hover:after,
.nav-list li a.active:after {
  width: 100%;
}

/* ---------------- Hero Section ---------------- */
.hero-section {
  background: linear-gradient(135deg, rgba(253, 246, 240, 0.92) 0%, rgba(255, 237, 235, 0.95) 100%),
              url('https://images.unsplash.com/photo-1549465220-1a8b9238cd48?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  padding: 110px 0;
  position: relative;
}
.hero-content {
  max-width: 650px;
}
.hero-tag {
  display: inline-block;
  background: #ffe3e8;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 18px;
}
.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 18px;
}
.hero-content p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 520px;
}
.hero-buttons {
  display: flex;
  gap: 16px;
}

/* ---------------- Features Bar ---------------- */
.features-bar {
  background: #fff;
  padding: 30px 0;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid #f0e6e2;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
}
.feature-icon {
  width: 50px;
  height: 50px;
  background: #fff0f3;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 22px;
  flex-shrink: 0;
}
.feature-text h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 2px;
}
.feature-text p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.3;
}

/* ---------------- Categories Section ---------------- */
.categories-section {
  padding: 80px 0;
}
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.category-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid var(--border-light);
}
.category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}
.cat-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}
.category-card:hover .cat-img {
  transform: scale(1.05);
}
.cat-content {
  padding: 18px;
  text-align: center;
  background: #fff;
  position: relative;
  z-index: 2;
}
.cat-content h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  margin-bottom: 4px;
  color: var(--text-dark);
}
.cat-content p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.cat-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-color);
}
.cat-link i {
  transition: var(--transition);
}
.category-card:hover .cat-link i {
  transform: translateX(4px);
}

/* ---------------- Products Section ---------------- */
.products-section {
  padding: 70px 0 90px;
  background: #faf4ef;
}
.product-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 10px 22px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition);
}
.tab-btn:hover,
.tab-btn.active {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}
.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid #f0e2dc;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 4px;
  z-index: 2;
  color: #fff;
}
.badge-sale { background: #e74c3c; }
.badge-hot { background: #e67e22; }
.badge-new { background: #27ae60; }

.product-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #f7f7f7;
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.product-card:hover .product-img-wrap img {
  transform: scale(1.08);
}
.product-actions-hover {
  position: absolute;
  bottom: -45px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding-bottom: 12px;
  transition: var(--transition);
  opacity: 0;
}
.product-card:hover .product-actions-hover {
  bottom: 0;
  opacity: 1;
}
.btn-action-round {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  color: var(--text-dark);
  transition: var(--transition);
}
.btn-action-round:hover {
  background: var(--primary-color);
  color: #fff;
}

.product-info {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.product-category {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 4px;
}
.product-name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}
.product-rating {
  font-size: 12px;
  color: #f1c40f;
  margin-bottom: 10px;
}
.rating-count {
  color: var(--text-muted);
  margin-left: 4px;
}
.product-price-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px dashed var(--border-light);
}
.price-box {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.current-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
}
.old-price {
  font-size: 13px;
  color: #999;
  text-decoration: line-through;
}
.btn-add-cart {
  background: var(--primary-color);
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.btn-add-cart:hover {
  background: var(--primary-hover);
  transform: rotate(90deg);
}

/* ---------------- Promo Banners ---------------- */
.promo-banner-section {
  padding: 60px 0;
}
.promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.promo-card {
  border-radius: var(--radius);
  overflow: hidden;
  padding: 50px 40px;
  position: relative;
  background-size: cover;
  background-position: center;
  color: #fff;
}
.promo-1 {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)),
              url('https://images.unsplash.com/photo-1513519245088-0e12902e5a38?auto=format&fit=crop&w=800&q=80') center/cover;
}
.promo-2 {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)),
              url('https://images.unsplash.com/photo-1549465220-1a8b9238cd48?auto=format&fit=crop&w=800&q=80') center/cover;
}
.promo-inner {
  max-width: 440px;
}
.badge-tag {
  background: var(--secondary-color);
  color: #231b1b;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 12px;
}
.promo-inner h3 {
  font-family: var(--font-heading);
  font-size: 28px;
  margin-bottom: 10px;
  line-height: 1.25;
}
.promo-inner p {
  font-size: 14px;
  margin-bottom: 22px;
  opacity: 0.9;
}

/* ---------------- Deal of the Day ---------------- */
.deal-section {
  padding: 70px 0;
  background: #fff;
}
.deal-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  background: #fff9f6;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 50px;
}
.deal-tag {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: inline-block;
  margin-bottom: 8px;
}
.deal-content h2 {
  font-family: var(--font-heading);
  font-size: 36px;
  margin-bottom: 15px;
}
.deal-content p {
  color: var(--text-muted);
  margin-bottom: 25px;
  font-size: 15px;
}
.deal-timer {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}
.time-box {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 10px 18px;
  text-align: center;
  min-width: 70px;
  box-shadow: var(--shadow-sm);
}
.time-box span {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
}
.time-box label {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.deal-price {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
}
.deal-price .price-old {
  font-size: 18px;
  color: #999;
  text-decoration: line-through;
}
.deal-price .price-current {
  font-size: 30px;
  font-weight: 700;
  color: var(--primary-color);
}
.price-discount {
  background: #27ae60;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
}
.deal-img img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  width: 100%;
}

/* ---------------- About Section ---------------- */
.about-section {
  padding: 90px 0;
  background: #faf4ef;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: center;
}
.about-image {
  position: relative;
}
.about-image img {
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}
.experience-badge {
  position: absolute;
  bottom: -20px;
  right: 20px;
  background: var(--primary-color);
  color: #fff;
  padding: 20px 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.experience-badge span {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
}
.experience-badge strong {
  font-family: var(--font-heading);
  font-size: 22px;
}
.about-text h2 {
  font-family: var(--font-heading);
  font-size: 34px;
  margin-bottom: 18px;
}
.about-text p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 16px;
}
.about-points {
  margin: 20px 0 30px;
}
.about-points li {
  font-size: 14px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}
.about-points li i {
  color: #27ae60;
  font-size: 16px;
}

/* ---------------- Testimonials ---------------- */
.testimonials-section {
  padding: 80px 0;
  background: #fff;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.testi-card {
  background: var(--bg-creamy);
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}
.testi-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.testi-card .stars {
  color: #f39c12;
  font-size: 18px;
  margin-bottom: 12px;
}
.testi-card p {
  font-style: italic;
  font-size: 14px;
  color: #4a4444;
  margin-bottom: 18px;
  line-height: 1.6;
}
.testi-card .author h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
}
.testi-card .author span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ---------------- Contact Section ---------------- */
.contact-section {
  padding: 80px 0;
  background: #fdfaf6;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
}
.contact-box {
  display: flex;
  gap: 18px;
  margin-bottom: 25px;
  background: #fff;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
}
.contact-box i {
  font-size: 24px;
  color: var(--primary-color);
  margin-top: 4px;
}
.contact-box h4 {
  font-size: 16px;
  margin-bottom: 4px;
}
.contact-box p {
  font-size: 13px;
  color: var(--text-muted);
}
.contact-form-wrapper {
  background: #fff;
  padding: 35px;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(216, 17, 89, 0.1);
}

/* ---------------- Newsletter ---------------- */
.newsletter-section {
  background: #231b1b;
  color: #fff;
  padding: 50px 0;
}
.newsletter-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.news-text h3 {
  font-family: var(--font-heading);
  font-size: 26px;
  margin-bottom: 6px;
}
.news-text p {
  font-size: 14px;
  color: #bbb;
}
.newsletter-form {
  display: flex;
  gap: 10px;
  flex: 0 1 500px;
}
.newsletter-form input {
  flex: 1;
  padding: 12px 20px;
  border-radius: 50px;
  border: none;
  font-size: 14px;
  outline: none;
}

/* ---------------- Footer ---------------- */
.site-footer {
  background: #1a1414;
  color: #ccc;
  padding-top: 70px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-logo {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  display: inline-block;
  margin-bottom: 15px;
}
.footer-col p {
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.social-icons {
  display: flex;
  gap: 12px;
}
.social-icons a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
}
.social-icons a:hover {
  background: var(--primary-color);
}
.footer-col h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}
.footer-col h4:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary-color);
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  font-size: 13px;
  color: #bbb;
}
.footer-col ul li a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}
.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pay-badge {
  background: rgba(255,255,255,0.08);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  color: #eee;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  font-size: 12px;
}
.bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.legal-links a {
  margin-left: 15px;
  color: #999;
}
.legal-links a:hover {
  color: #fff;
}

/* ---------------- Shopping Cart Drawer ---------------- */
.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.cart-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  max-width: 90%;
  height: 100%;
  background: #fff;
  z-index: 2001;
  box-shadow: -5px 0 25px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.cart-drawer.active {
  right: 0;
}
.cart-header {
  padding: 20px;
  border-bottom: 1px solid #f0e6e2;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-header h3 {
  font-family: var(--font-heading);
  font-size: 20px;
}
.close-cart {
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: #777;
}
.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}
.empty-cart-msg {
  text-align: center;
  padding: 50px 20px;
  color: #888;
}
.empty-cart-msg i {
  font-size: 50px;
  margin-bottom: 15px;
  color: #ddd;
}
.empty-cart-msg p {
  margin-bottom: 20px;
  font-size: 15px;
}
.cart-item {
  display: flex;
  gap: 15px;
  margin-bottom: 18px;
  padding-bottom: 15px;
  border-bottom: 1px solid #f5ede9;
  align-items: center;
}
.cart-item img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
}
.cart-item-info {
  flex: 1;
}
.cart-item-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}
.cart-item-price {
  font-size: 13px;
  color: var(--primary-color);
  font-weight: 700;
}
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}
.qty-btn {
  background: #f0f0f0;
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
}
.qty-val {
  font-size: 13px;
  font-weight: 600;
  min-width: 20px;
  text-align: center;
}
.cart-item-remove {
  background: none;
  border: none;
  color: #aaa;
  cursor: pointer;
  font-size: 16px;
}
.cart-item-remove:hover {
  color: #e74c3c;
}
.cart-footer {
  padding: 20px;
  border-top: 1px solid #f0e6e2;
  background: #faf7f5;
}
.cart-subtotal {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}
.subtotal-amount {
  color: var(--primary-color);
}
.shipping-note {
  font-size: 11px;
  color: #888;
  margin-bottom: 15px;
}
.checkout-btn {
  width: 100%;
  margin-bottom: 8px;
}

/* ---------------- Modal (Quick View) ---------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.65);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 20px;
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.modal-content {
  background: #fff;
  border-radius: 16px;
  max-width: 750px;
  width: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: modalScale 0.3s ease;
}
@keyframes modalScale {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #f0f0f0;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}
.close-modal:hover {
  background: var(--primary-color);
  color: #fff;
}
.quick-view-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.quick-view-img img {
  width: 100%;
  height: 100%;
  min-height: 350px;
  object-fit: cover;
}
.quick-view-details {
  padding: 35px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.quick-view-category {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 5px;
}
.quick-view-title {
  font-family: var(--font-heading);
  font-size: 24px;
  margin-bottom: 10px;
}
.quick-view-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 15px;
}
.quick-view-desc {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* ---------------- Toast Notification ---------------- */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #231b1b;
  color: #fff;
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 3000;
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ---------------- Responsive Design ---------------- */
@media (max-width: 992px) {
  .features-grid,
  .categories-grid,
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .promo-grid,
  .deal-wrapper,
  .about-grid,
  .contact-grid,
  .quick-view-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .newsletter-content {
    flex-direction: column;
    text-align: center;
  }
  .newsletter-form {
    width: 100%;
  }
  .mobile-toggle {
    display: block;
  }
  .main-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: var(--shadow-md);
  }
  .main-navigation.mobile-active {
    display: block;
  }
  .nav-list {
    flex-direction: column;
    padding: 15px 20px;
    gap: 0;
  }
  .nav-list li a {
    padding: 10px 0;
    border-bottom: 1px solid #f4ede8;
  }
}

@media (max-width: 600px) {
  .top-bar {
    display: none;
  }
  .header-search {
    display: none;
  }
  .hero-content h1 {
    font-size: 32px;
  }
  .features-grid,
  .categories-grid,
  .products-grid,
  .testimonials-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .deal-wrapper {
    padding: 25px;
  }
  .deal-content h2 {
    font-size: 26px;
  }
  .bottom-flex {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}
