body { font-family: 'Montserrat', sans-serif; }

/* === GLOBAL ACCENT COLOR === */
:root {
  --brand-color: rgb(118, 172, 175);
  --brand-color-dark: rgb(98, 152, 155);
}

/* ========== STICKY HEADER ========== */
header {
  position: sticky;
  top: 0;
  z-index: 1050;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* ========== TOP HEADER ========== */
/* Top header spacing */
.top-header {
  padding: 6px 0;
  font-size: 14px;
  color: #555;
}


.navbar {
  position: sticky;
  top: 0;
  z-index: 1050;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* ========== CART ICON & BADGE ========== */

.cart-icon {
  position: relative;
  display: inline-block;
}

.cart-icon i {
  font-size: 22px;   /* cart size */
  line-height: 1;    /* remove extra vertical spacing */
  vertical-align: middle;
}

.cart-badge {
  position: absolute;
  top: 2px;    /* closer to top edge */
  right: 2px;  /* closer to right edge */
  transform: none; /* remove extra shift */
  
  background: #d62b2b;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 5px;
  border-radius: 50%;
  line-height: 1;
  min-width: 16px;
  text-align: center;
}


/* Mobile adjustments */
/* Mobile adjustments */
@media (max-width: 767px) {
  .cart-icon {
    position: relative;
    display: inline-block;
  }

  .cart-icon i {
    font-size: 24px;   /* make icon a bit larger for mobile */
    line-height: 1;
    vertical-align: middle;
  }

  .cart-badge {
    position: absolute;
    
    background: #d62b2b;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 50%;
    line-height: 1;
    min-width: 18px;
    height: 18px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* ========== MENU LINKS ========== */
.navbar-nav .nav-link {
  font-weight: 500;
  font-size: 15px;
  padding: 12px 18px;
  color: #444;
  position: relative;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #d62b2b;
}



.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
}

/* ========== DROPDOWN MENU ========== */
.dropdown-menu {
  border-radius: 8px;
  border: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.dropdown-item:hover {
  background-color: #fce8e8;
  color: #d62b2b;
}

.dropdown-toggle::after {
	content: unset;
}
/* ========== HERO SECTION ========== */
.hero-slide {
  height: 70vh;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-overlay {
  position: absolute;
  top:0; left:0; right:0; bottom:0;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}

.hero-overlay h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
}

/* ========== BUTTONS ========== */
.btn-accent {
  background: #d62b2b;
  color: #fff;
  /*border-radius: 25px;*/
  padding: 5px 25px;
}

.btn-accent:hover {
  background: #b82020;
}

/* ========== SECTIONS ========== */
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.product-card {
  border: none;
  transition: transform 0.3s;
}

.product-card:hover {
  transform: scale(1.05);
}

.product-card img {
  width: 100%;
  height: 220px;        /* fixed height */
  object-fit: cover;    /* crop nicely */
  border-radius: 8px;
}


.flash-sale {
  background: #fff3f3;
  padding: 40px;
  text-align: center;
  border-radius: 12px;
}

.workshop {
  background: #f9f9ff;
  padding: 40px;
  border-radius: 12px;
}

.workshop h4 {
  font-family: 'Playfair Display', serif;
}

/* ========== CATEGORY SECTIONS ========== */
.category-card {
  text-align: center;
  display: block;
  text-decoration: none;
  color: #333;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.category-card img {
  width: 100%;
  height: 200px;          /* fixed height */
  object-fit: cover;      /* crop instead of stretching */
  border-radius: 12px;
  margin-bottom: 10px;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}
.category-card h5 {
  font-weight: 600;
  margin-top: 5px;
}

/* ========== WORKSHOP SECTIONS ========== */
.workshop-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}
.workshop-card:hover { transform: translateY(-5px); }
.workshop-card h5 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 10px;
}
.workshop-card p {
  margin: 0 0 5px;
  font-size: 14px;
  color: #555;
}
.workshop-card i { color: #d62b2b; margin-right: 6px; }


/* Shop Page */
.shop-page .product-card img {
  height: 220px;
  object-fit: cover;
}

.shop-page .product-card {
  border: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.shop-page .product-card:hover {
  transform: translateY(-5px);
}

/* Filter Toggle Button (Mobile) */
/* Filter Toggle Button (Mobile) */
.btn-filter-toggle {
  background: rgb(118, 172, 175);
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  padding: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

.btn-filter-toggle:hover {
  background: rgb(98, 152, 155); /* darker shade for hover */
  color: #fff;
}

.btn-filter-toggle:focus {
  box-shadow: 0 0 0 0.25rem rgba(118, 172, 175, 0.3);
}

/* Optional: Make filter button sticky on mobile */
@media (max-width: 767px) {
  .btn-filter-toggle {
    position: sticky;
    top: 65px; /* adjust to your header height */
    z-index: 1040;
  }
}

/* Modernize filter box */
.filter-box {
  background: #f9fdfd;
  border: 1px solid rgba(118,172,175,0.3);
  border-radius: 10px;
}

.filter-box h5 {
  font-size: 1rem;
  font-weight: 600;
  color: rgb(98, 152, 155);
  display: flex;
  align-items: center;
  gap: 6px;
}

.filter-box h5::before {
  content: "•";
  color: rgb(118, 172, 175);
  font-size: 1.2rem;
}



/* === BUTTONS === */
.btn-accent,
.btn-filter-toggle {
  background: var(--brand-color);
  color: #fff;
  font-weight: 600;
  border-radius: 25px;
  padding: 10px 25px;
  transition: all 0.3s ease;
}

.btn-accent:hover,
.btn-filter-toggle:hover {
  background: var(--brand-color-dark);
  color: #fff;
}

.btn-accent:focus,
.btn-filter-toggle:focus {
  box-shadow: 0 0 0 0.25rem rgba(118,172,175,0.3);
}

/* === CART BUTTON STYLE === */
.btn-cart {
  background: var(--brand-color);
  color: #fff;
  font-weight: 600;
  border-radius: 30px;
  padding: 10px 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 3px 6px rgba(118,172,175,0.3);
}

.btn-cart i {
  font-size: 16px;
}

.btn-cart:hover {
  background: var(--brand-color-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(118,172,175,0.4);
  color: #fff;
}

/* === BUY NOW BUTTON STYLE === */
.btn-buy {
  background: #000;
  color: #fff;
  font-weight: 600;
  border-radius: 30px;
  padding: 10px 28px;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  box-shadow: 0 3px 6px rgba(0,0,0,0.25);
}

.btn-buy:hover {
  background: #333;
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0,0,0,0.35);
  color: #fff;
}
