/* ===================================================================
   YAPRAK FABRİKAM - Design System
   Premium Turkish Village Products E-Commerce
   =================================================================== */

/* ===== CSS Variables ===== */
:root {
  --primary: #2D5016;
  --primary-light: #4A7C2E;
  --primary-dark: #1A2E0A;
  --primary-gradient: linear-gradient(135deg, #2D5016, #4A7C2E);
  --accent: #D4A017;
  --accent-light: #E8C547;
  --accent-gradient: linear-gradient(135deg, #D4A017, #E8C547);
  --bg: #FDF6E3;
  --bg-alt: #F5EDD6;
  --bg-dark: #1A2E0A;
  --text: #3E2723;
  --text-light: #6D4C41;
  --text-muted: #8D6E63;
  --white: #FFFFFF;
  --card-bg: rgba(255, 255, 255, 0.85);
  --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  --card-shadow-hover: 0 16px 48px rgba(0, 0, 0, 0.15);
  --glass: rgba(255, 255, 255, 0.25);
  --glass-border: rgba(255, 255, 255, 0.35);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
}

/* ===== CSS Reset / Normalize ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg);
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

input, select, textarea, button {
  font-family: inherit;
  font-size: inherit;
}

/* ===== Selection Color ===== */
::selection {
  background-color: var(--accent);
  color: var(--white);
}

::-moz-selection {
  background-color: var(--accent);
  color: var(--white);
}


/* ===== Utilities ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.page-header {
  padding-top: 120px;
  padding-bottom: 2rem;
  text-align: center;
}

.breadcrumb {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

.breadcrumb a:hover {
  color: var(--accent);
}

/* ===================================================================
   HEADER / NAVBAR
   =================================================================== */

/* ===== Header Wrapper ===== */
.header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1001;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

body.scrolled .header-wrapper {
  transform: translateY(-32px); /* Height of the top bar */
}

/* ===== Top Bar New ===== */
.top-bar-new {
  position: relative;
  width: 100%;
  background: #ffffff;
  padding: 8px 0;
  font-family: var(--font-body);
  height: 40px;
}

/* Premium Top Bar Enhancements */
.top-bar-premium {
    position: relative;
    width: 100%;
    background: linear-gradient(135deg, #1e360f 0%, #2D5016 50%, #4a8224 100%);
    background-size: 200% 200%;
    animation: premiumGradient 8s ease infinite;
    height: 32px;
    border-bottom: none;
    overflow: hidden;
}

@keyframes premiumGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.premium-icon-bg {
    position: absolute;
    color: rgba(255, 255, 255, 0.08);
    font-size: 1.5rem;
    animation: floatLeaf 12s linear infinite;
    pointer-events: none;
    z-index: 1;
}

.premium-icon-bg:nth-child(1) { left: 15%; top: 40px; animation-duration: 14s; }
.premium-icon-bg:nth-child(2) { left: 35%; top: 40px; animation-duration: 10s; animation-delay: -3s; font-size: 1.2rem; }
.premium-icon-bg:nth-child(3) { left: 65%; top: 40px; animation-duration: 16s; animation-delay: -7s; font-size: 1.8rem; }
.premium-icon-bg:nth-child(4) { left: 85%; top: 40px; animation-duration: 12s; animation-delay: -2s; font-size: 1.3rem; }

@keyframes floatLeaf {
    0% { transform: translateY(0) rotate(0deg); opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { transform: translateY(-60px) rotate(360deg); opacity: 0; }
}

.premium-text-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: relative;
    z-index: 2;
}

.premium-text {
    color: #ffffff;
    font-weight: 500;
    font-size: 0.78rem;
    letter-spacing: 0.3px;
    font-family: 'Montserrat', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

.premium-text .material-symbols-outlined {
    font-size: 1.1rem;
    color: #fbd341;
    animation: gentlePulse 3s infinite alternate;
}

@keyframes gentlePulse {
    0% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(251,211,65,0.4)); }
    100% { transform: scale(1.15); filter: drop-shadow(0 0 8px rgba(251,211,65,0.8)); }
}

.top-bar-right-new {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.5rem;
}

.btn-franchise {
  background-color: #c4122d;
  color: #fff;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s;
}
.btn-franchise:hover {
  background-color: #a00e24;
}

.lang-switch {
  font-size: 0.85rem;
  color: #666;
}
.lang-switch a {
  text-decoration: none;
  color: #666;
  font-weight: 500;
}
.lang-switch a.lang-active {
  color: #c4122d;
}
.lang-divider {
  margin: 0 4px;
  color: #ccc;
}

/* ===== Header New ===== */
.header-new {
  position: relative;
  width: 100%;
  background: #ffffff;
  transition: padding 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s, background 0.4s, backdrop-filter 0.4s;
  padding: 15px 0;
}

.header-new.scrolled {
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  width: 260px; /* Placeholder width for flexbox */
  height: 60px; /* Match header height */
  margin-left: -60px;
}

.logo img {
  position: absolute;
  height: 220px;
  width: auto;
  object-fit: contain;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  transition: var(--transition);
  z-index: 100;
}

.main-nav-new {
  flex-grow: 1;
  display: flex;
  justify-content: flex-end;
  padding-right: 3rem;
}

.nav-links-new {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
  padding: 0;
  margin: 0;
}

.nav-links-new a {
  color: #444;
  text-decoration: none;
  font-family: 'Roboto Slab', serif;
  font-weight: 300;
  font-size: 1.25rem;
  letter-spacing: 0.5px;
  position: relative;
  transition: color 0.3s;
}

.nav-links-new a:hover {
  color: var(--accent);
}

.header-right-new {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.cart-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.3rem;
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -12px;
  background: #c4122d;
  color: var(--white);
  font-size: 0.7rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  line-height: 1;
}

.cart-badge.hidden {
  display: none;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 5px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(7px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-7px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 46, 10, 0.95);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.mobile-menu-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu-overlay a {
  color: var(--white);
  font-size: 1.25rem;
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 1.2rem 0;
  text-decoration: none;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
}

.mobile-menu-overlay.active a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu-overlay.active a:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu-overlay.active a:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu-overlay.active a:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu-overlay.active a:nth-child(4) { transition-delay: 0.4s; }
.mobile-menu-overlay.active a:nth-child(5) { transition-delay: 0.5s; }

.mobile-menu-overlay a:hover {
  color: var(--accent);
  transform: scale(1.05);
}

/* ===================================================================
   HERO SECTION NEW
   =================================================================== */
.hero-new-style {
  height: 100vh;
  min-height: 700px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 100px; /* offset for fixed header */
}

.hero-bg-text {
  position: absolute;
  font-family: 'Dancing Script', cursive;
  font-size: 35vw;
  color: rgba(0,0,0,0.03);
  white-space: nowrap;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  user-select: none;
  transition: opacity 0.3s ease-in-out;
}

.hero-container-new {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  z-index: 1;
  padding: 0 2rem;
  gap: 4rem;
}

.hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-product-img {
  max-width: 100%;
  max-height: 700px;
  object-fit: contain;
  transform: scale(1.6) translateX(15px);
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.2)) drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
}

.hero-text-wrapper {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-left: 2rem;
}

.hero-arrow {
  position: absolute;
  top: 10px;
  left: -120px;
  width: 120px;
  height: 100px;
  z-index: 2;
  opacity: 0.8;
}

.hero-arrow-long {
  left: -220px;
  width: 250px;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 1.2rem;
  color: #666;
  font-weight: 400;
  margin-bottom: 0.2rem;
}

.hero-title-cursive {
  font-family: 'Dancing Script', cursive;
  font-size: 5.5rem;
  color: #d89f0f;
  margin-bottom: 1.5rem;
  line-height: 1;
}

.hero-description {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 400px;
}

.hero-btn-dark {
  display: inline-block;
  padding: 10px 40px;
  background: #000;
  color: #fff;
  border-radius: 40px;
  text-decoration: none;
  transition: all 0.3s;
}

.hero-btn-dark:hover {
  background: #333;
  transform: translateY(-2px);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s ease-in-out infinite;
  color: var(--white);
  opacity: 0.7;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 2;
  transition: var(--transition);
}

.scroll-indicator:hover {
  opacity: 1;
}

/* ===================================================================
   PRODUCTS SECTION
   =================================================================== */
.products-section {
  padding: 6rem 2rem;
  background: #ffffff;
}

.section-title {
  text-align: center;
  font-family: 'Dancing Script', cursive;
  font-size: 4.5rem;
  color: #111;
  margin-bottom: 3rem;
  font-weight: 400;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 1300px;
  margin: 0 auto;
}

/* ===================================================================
   PRODUCT CARDS
   =================================================================== */
.product-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.product-image-container {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
  background: #fcfcfc;
}

.product-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.product-card:hover .product-image-container img {
  transform: scale(1.08);
}

.product-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  color: #111;
  margin-bottom: 0.5rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0px;
}

.product-description {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}

.product-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  margin-top: auto;
}

.product-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: #d89f0f;
}

.product-unit {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.add-to-cart-btn {
  width: 100%;
  padding: 0.85rem;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 40px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  letter-spacing: 0.3px;
}

.add-to-cart-btn:hover {
  transform: scale(1.02);
  background: #333;
}

.add-to-cart-btn:active {
  transform: scale(0.98);
}

.add-to-cart-btn.added {
  background: #27ae60;
  pointer-events: none;
}

.product-btn-row {
  display: flex;
  gap: 8px;
}

.product-btn-row .add-to-cart-btn {
  flex: 1;
  padding: 0.75rem 0.5rem;
  font-size: 0.85rem;
  border-radius: 6px;
}

.view-detail-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 0.5rem;
  background: transparent;
  color: #333;
  border: 1.5px solid #ddd;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  letter-spacing: 0.3px;
}

.view-detail-btn:hover {
  border-color: #2D5016;
  color: #2D5016;
  background: rgba(45, 80, 22, 0.04);
}

/* ===================================================================
   FEATURES SECTION
   =================================================================== */
.features-section-new {
  width: 100%;
  background: #fdfdfd;
  display: flex;
  flex-direction: column;
}

.features-split-container {
  display: flex;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.features-title-block {
  flex: 0 0 25%;
  background: linear-gradient(135deg, #1A2E0A 0%, #2D5016 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 4rem;
  border-right: none;
}

.features-bg-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.15;
}

.features-title-content {
  position: relative;
  z-index: 2;
  text-align: left;
}

.features-logo-small {
  width: 100%;
  max-width: 180px;
  height: auto;
  margin-bottom: 2rem;
  /* Make the logo pure white to pop against dark green */
  filter: brightness(10) drop-shadow(0 2px 4px rgba(0,0,0,0.2));
  transform-origin: left bottom;
}

.features-subtitle {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: #a8d08d;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 0.5rem;
  display: none; /* User previously requested to remove this text, keeping it hidden just in case */
}

.features-main-title {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: #ffffff;
  line-height: 1.1;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Right Side: Feature Grid */
.features-cards-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fafafa;
  border-left: 1px solid #eaeaea;
  border-bottom: 1px solid #eaeaea;
  border-top: 1px solid #eaeaea;
}

.feature-box {
  padding: 3rem 2rem;
  background: #fdfdfd;
  border-right: 1px solid #eaeaea;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: background 0.3s ease;
}

.feature-box:last-child {
  /* Removed border-right: none so the right border shows up as requested */
}

.feature-box:hover {
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  z-index: 2;
}

.feature-box-icon {
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.feature-box-icon .material-symbols-outlined {
  font-size: 3.5rem;
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 48;
}

.feature-box-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  color: #111;
  margin-bottom: 1rem;
  font-weight: 600;
  letter-spacing: 0px;
}

.feature-box-desc {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
}

/* Responsive adjustments */
/* ===================================================================
   FOOTER NEW
   =================================================================== */
.footer-new {
  background: #f4f4f4;
  color: #333;
  padding: 5rem 2rem 1rem;
  border-top: 1px solid #e0e0e0;
}

.footer-grid-new {
  display: grid;
  grid-template-columns: 1.2fr 1.5fr 1fr 1fr 1.3fr 1.8fr;
  gap: 2rem;
  max-width: 1300px;
  margin: 0 auto;
}

.footer-col-new {
  font-family: var(--font-body);
}

.footer-col-new p {
  line-height: 1.6;
  font-size: 0.9rem;
  color: #444;
  margin-bottom: 0.2rem;
  font-weight: 400;
}

.footer-logo-col {
  text-align: center;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding-right: 1rem;
}

.footer-logo-new {
  width: 100%;
  max-width: 240px;
  height: auto;
  object-fit: contain;
  margin-top: 5px;
  transform: none;
  filter: brightness(0) opacity(0.73);
}

.footer-title-new {
  font-family: var(--font-body);
  font-weight: 600;
  color: #111;
  font-size: 1.15rem;
  margin-bottom: 1.2rem;
}

.footer-links-new {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-new li {
  margin-bottom: 0.6rem;
}

.footer-links-new a {
  color: #444;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  transition: all 0.3s ease;
}

.footer-links-new a:hover {
  color: #d89f0f;
}

.footer-social-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 0.5rem;
}

.social-header {
  position: relative;
  display: flex;
  justify-content: flex-start;
  margin-bottom: 1rem;
}

.social-text {
  font-family: 'Dancing Script', cursive;
  font-size: 2.2rem;
  font-weight: 700;
  color: #222;
  transform: rotate(-4deg);
  display: inline-block;
}

.social-arrow {
  position: absolute;
  top: 5px;
  right: -55px;
  color: #222;
}

.social-circles {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.social-circles a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #222;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-circles a svg {
  width: 16px;
  height: 16px;
}

.social-circles a:hover {
  background: #d89f0f;
  transform: translateY(-3px);
}

.footer-bottom-new {
  text-align: center;
  padding: 1.5rem 0;
  margin-top: 3rem;
  border-top: 1px solid #ddd;
  font-size: 0.9rem;
  color: #666;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
}

/* ===================================================================
   TOAST NOTIFICATIONS
   =================================================================== */
.toast-container {
  position: fixed;
  top: 100px;
  right: 20px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--text);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 280px;
  max-width: 400px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  border-left: 4px solid var(--accent);
}

.toast.toast-exit {
  animation: slideOutRight 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.toast-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.toast-message {
  font-size: 0.95rem;
  font-weight: 500;
}

/* ===================================================================
   CART PAGE
   =================================================================== */
.cart-page {
  padding-top: 100px;
  min-height: 100vh;
}

.cart-title {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 2rem;
  font-weight: 700;
}

.cart-title span {
  color: var(--text-muted);
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 400;
}

.cart-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: start;
}

.cart-items-section {
  min-width: 0;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto auto auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--card-bg);
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.cart-item:hover {
  box-shadow: var(--card-shadow);
}

.cart-item-image {
  width: 80px;
  height: 80px;
  border-radius: 4px;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

.cart-item-details {
  min-width: 0;
}

.cart-item-name {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.cart-item-price {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.quantity-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: var(--bg-alt);
  cursor: pointer;
  font-size: 1.1rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-weight: 600;
}

.quantity-btn:hover {
  background: var(--primary);
  color: var(--white);
}

.quantity-display {
  width: 40px;
  text-align: center;
  font-weight: 600;
  border-left: 1px solid rgba(0, 0, 0, 0.12);
  border-right: 1px solid rgba(0, 0, 0, 0.12);
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  background: var(--white);
}

.cart-item-total {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
  min-width: 80px;
  text-align: right;
}

.remove-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.1rem;
  transition: var(--transition);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.remove-btn:hover {
  background: #e74c3c;
  color: var(--white);
}

/* Order Summary */
.order-summary {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  height: fit-content;
  position: sticky;
  top: 100px;
  backdrop-filter: blur(10px);
}

.order-summary h3 {
  font-family: var(--font-body);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.95rem;
}

.summary-row.total {
  border-bottom: none;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  padding-top: 1rem;
  margin-top: 0.5rem;
  border-top: 2px solid var(--primary);
}

.summary-row .free-shipping {
  color: #27ae60;
  font-weight: 600;
}

.checkout-btn {
  width: 100%;
  padding: 1rem;
  background: #c4122d;
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 1.5rem;
  transition: var(--transition);
  text-decoration: none;
  display: block;
  text-align: center;
  letter-spacing: 0.5px;
}

.checkout-btn:hover {
  background: #a00e24;
  transform: translateY(-2px);
}

.checkout-btn:active {
  transform: scale(0.98);
}

/* Empty Cart State Premium Design */
.empty-cart {
  text-align: center;
  padding: 5rem 3rem;
  grid-column: 1 / -1;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #f0f0f0;
  max-width: 600px;
  margin: 0 auto 4rem auto;
}

.empty-cart-icon {
  font-size: 6rem;
  margin-bottom: 1.5rem;
  line-height: 1;
  display: inline-block;
  animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
  0% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0); }
}

.empty-cart h2 {
  font-family: var(--font-body);
  margin-bottom: 1rem;
  font-size: 2.5rem;
  color: #111;
  font-weight: 700;
}

.empty-cart p {
  color: #555;
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

.continue-shopping-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  background: #c4122d;
  color: #fff;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.continue-shopping-btn:hover {
  background: #a00e24;
  transform: translateY(-4px);
  color: #fff;
}

/* ===================================================================
   CHECKOUT PAGE
   =================================================================== */
.checkout-page {
  padding-top: 100px;
  min-height: 100vh;
}

.checkout-title {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 2rem;
  font-weight: 700;
}

.checkout-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 3rem;
  align-items: start;
}

.checkout-forms {
  min-width: 0;
}

.form-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid #f0f0f0;
  margin-bottom: 2rem;
}

.form-section-title {
  font-family: var(--font-body);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--accent);
  color: var(--text);
  font-weight: 700;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.85rem 1rem;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: var(--font-body);
  transition: var(--transition);
  background: var(--white);
  color: var(--text);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.form-group .error-message {
  color: #e74c3c;
  font-size: 0.8rem;
  margin-top: 0.3rem;
  font-weight: 500;
}

.card-input-wrapper {
  position: relative;
}

.card-input-wrapper input {
  width: 100%;
  padding-right: 3rem;
}

.card-type-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  pointer-events: none;
}

.expiry-group {
  display: flex;
  gap: 0.5rem;
}

.expiry-group select {
  flex: 1;
  padding: 0.85rem 1rem;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: var(--font-body);
  transition: var(--transition);
  background: var(--white);
  color: var(--text);
  cursor: pointer;
}

.expiry-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.1);
}

.submit-btn {
  width: 100%;
  padding: 1.2rem;
  background: #c4122d;
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 1rem;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.submit-btn:hover {
  background: #a00e24;
  transform: translateY(-2px);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.submit-btn .spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.test-card-info {
  background: rgba(45, 80, 22, 0.08);
  padding: 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 1rem;
  border-left: 3px solid var(--primary);
  line-height: 1.6;
}

/* ===================================================================
   SUCCESS MODAL
   =================================================================== */
.success-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.success-modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 3rem;
  text-align: center;
  max-width: 480px;
  width: 90%;
  animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.success-checkmark {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2.5rem;
  color: var(--white);
  animation: checkmark 0.5s 0.3s both;
  box-shadow: 0 8px 25px rgba(39, 174, 96, 0.3);
}

.success-modal h2 {
  font-family: var(--font-display);
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
  color: var(--text);
}

.success-modal p {
  color: var(--text-light);
  margin-bottom: 0.3rem;
  font-size: 1rem;
}

.order-id {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
}

.success-btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.85rem 2rem;
  background: var(--primary-gradient);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(45, 80, 22, 0.2);
}

.success-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(45, 80, 22, 0.3);
}

/* ===================================================================
   KEYFRAME ANIMATIONS
   =================================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(120%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(120%);
    opacity: 0;
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-15px) translateX(-50%);
  }
  60% {
    transform: translateY(-7px) translateX(-50%);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-12px) rotate(5deg);
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
  }
  75% {
    transform: translateY(-8px) rotate(3deg);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

@keyframes pulse-badge {
  0%, 100% {
    box-shadow: 0 3px 10px rgba(225,29,72,0.4);
  }
  50% {
    box-shadow: 0 3px 18px rgba(225,29,72,0.7);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes checkmark {
  0% {
    transform: scale(0) rotate(-45deg);
  }
  50% {
    transform: scale(1.2) rotate(0deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
  }
}

/* ===================================================================
   RESPONSIVE DESIGN
   =================================================================== */

/* Large Desktop */
/* Tablet */
/* Mobile */
/* Small Mobile */
/* ===== Print Styles ===== */
/* ===== Hero Slider ===== */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-slide {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  font-size: 3rem;
  color: #d89f0f;
  cursor: pointer;
  z-index: 10;
  transition: color 0.3s, transform 0.3s;
  padding: 10px;
}
.slider-btn:hover {
  color: #b3820a;
  transform: translateY(-50%) scale(1.1);
}

.prev-btn {
  left: 20px;
}

.next-btn {
  right: 20px;
}

/* ===================================================================
   PRELOADER
   =================================================================== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #f4f4f4;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-logo {
  max-width: 250px;
  width: 80%;
  animation: preloaderPulse 1.5s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes preloaderPulse {
  0% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.1); opacity: 1; filter: drop-shadow(0 0 15px rgba(216,159,15,0.4)); }
  100% { transform: scale(1); opacity: 0.6; }
}


/* ===================================================================
   COMPREHENSIVE RESPONSIVE FIXES
   =================================================================== */

/* ── Mobile Header Fix ── */
/* ── Very Small Mobile ── */
/* ── Tablet (768px - 1024px) ── */

/* ===================================================================
   RESPONSIVE DESIGN - FROM SCRATCH
   Breakpoints: 1200px / 992px / 768px / 576px
   =================================================================== */

/* ─────────────────────────────────────────────────────────
   1200px - Large screens
   ───────────────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .features-split-container {
    flex-direction: column;
  }
  .features-title-block {
    padding: 3rem 2rem;
    border-right: none;
    border-bottom: 1px solid #eee;
    text-align: center;
    align-items: center;
  }
  .features-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-box:nth-child(2) {
    border-right: none;
  }
  .feature-box {
    border-bottom: 1px solid #eaeaea;
  }
}

/* ─────────────────────────────────────────────────────────
   992px - Tablet landscape
   ───────────────────────────────────────────────────────── */
@media (max-width: 992px) {
  /* Grid layouts */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cart-container,
  .checkout-container {
    grid-template-columns: 1fr;
  }
  .order-summary {
    position: static;
  }
  .cart-item {
    grid-template-columns: 80px 1fr auto auto auto;
    gap: 1rem;
    padding: 1rem;
  }
  .cart-item-image {
    width: 65px;
    height: 65px;
  }

  /* Footer - 2 column grid */
  .footer-grid-new {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }
  .footer-logo-col {
    grid-column: 1 / -1;
    justify-content: center;
    align-items: center;
    padding: 2.5rem 2rem 1.5rem;
    padding-right: 0;
    border-bottom: 1px solid #e0e0e0;
  }
  .footer-logo-new {
    transform: none;
    transform-origin: center center;
    max-width: 220px;
  }
  .footer-col-new {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #ebebeb;
  }
  .footer-social-col {
    grid-column: 1 / -1;
    align-items: center;
    padding: 2rem;
    background: #ececec;
    border-bottom: none;
  }
  .social-arrow {
    display: none;
  }
  .social-circles {
    justify-content: center;
  }
  .social-header {
    justify-content: center;
  }
  .footer-bottom-new {
    margin-top: 0;
  }
}

/* ─────────────────────────────────────────────────────────
   768px - Tablet portrait / Mobile
   ───────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  /* ── Header ── */
  .top-bar-new { display: none !important; }
  .top-bar-right-new span:last-child {
    display: none;
  }
  body.scrolled .header-wrapper {
    transform: translateY(-28px);
  }
  .nav-links-new,
  .main-nav-new {
    display: none;
  }
  .hamburger {
    display: flex !important;
  }
  .header-container {
    padding: 0 1rem;
  }
  .header-new {
    padding: 8px 0;
  }
  .logo {
    width: 160px;
    height: 50px;
    margin-left: 20px;
  }
  .logo img {
    height: 160px;
  }

  /* ── Hero ── */
  .hero-new-style {
    min-height: auto;
    height: auto;
    padding-top: 110px;
    padding-bottom: 40px;
  }
  .hero-container-new {
    flex-direction: column;
    text-align: center;
    padding: 0 1.5rem;
    gap: 1.5rem;
  }
  .hero-text-wrapper {
    align-items: center;
    padding-left: 0;
    order: 2;
  }
  .hero-image-wrapper {
    order: 1;
  }
  .hero-product-img {
    transform: scale(1.1);
    max-height: 350px;
  }
  .hero-title-cursive {
    font-size: 3.2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .hero-description {
    font-size: 0.95rem;
    max-width: 100%;
  }
  .hero-arrow,
  .hero-arrow-long {
    display: none !important;
  }
  .hero-bg-text {
    display: block !important;
    font-size: 50vw !important;
    top: 32% !important;
    color: rgba(0,0,0,0.03) !important;
    white-space: nowrap;
  }

  /* ── Products Section (index) ── */
  .section-title {
    font-size: 2.5rem;
  }
  .products-section {
    padding: 3rem 1rem;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .product-info {
    padding: 0.75rem;
  }
  .product-name {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
  }
  .product-description {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    -webkit-line-clamp: 1;
  }
  .product-price {
    font-size: 1.05rem;
  }
  .product-unit {
    font-size: 0.75rem;
  }
  .product-price-row {
    margin-bottom: 0.5rem;
  }
  .product-btn-row {
    flex-direction: column;
    gap: 5px;
  }
  .product-btn-row .add-to-cart-btn,
  .view-detail-btn {
    font-size: 0.78rem;
    padding: 0.55rem 0.5rem;
  }

  /* ── Products Page (urunler.html) ── */
  .products-page-hero {
    padding: 120px 16px 24px !important;
  }
  .products-page-hero h1 {
    font-size: 2.8rem !important;
  }
  .products-page-hero p {
    font-size: 0.95rem;
  }
  .products-filter-bar {
    padding: 0 12px 20px !important;
    gap: 6px !important;
  }
  .filter-btn {
    padding: 6px 14px !important;
    font-size: 0.8rem !important;
  }
  .products-page-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
    padding: 0 12px 60px !important;
  }

  /* ── Features Section ── */
  .features-split-container {
    flex-direction: column;
    padding: 2rem 0;
  }
  .features-title-block {
    padding: 2rem 1.5rem;
    text-align: center;
    align-items: center;
  }
  .features-main-title {
    font-size: 2rem;
  }
  .features-cards-grid {
    grid-template-columns: 1fr 1fr;
    border-left: none;
  }
  .feature-box {
    padding: 1.5rem 1rem;
    border-right: none;
    border-bottom: 1px solid #eaeaea;
  }

  /* ── Footer ── */
  .footer-new {
    padding: 0;
  }
  .footer-grid-new {
    grid-template-columns: 1fr 1fr !important;
    gap: 0 !important;
    text-align: left;
  }
  .footer-logo-col {
    grid-column: 1 / -1 !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 2.5rem 1.5rem 1.5rem !important;
    border-bottom: 1px solid #e0e0e0;
  }
  .footer-logo-new {
    transform: none !important;
    max-width: 180px !important;
    width: 180px !important;
  }
  .footer-col-new {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #ebebeb;
  }
  .footer-title-new {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.8rem;
  }
  .footer-links-new li {
    margin-bottom: 0.45rem;
  }
  .footer-links-new a {
    font-size: 0.85rem;
  }
  .footer-col-new p {
    font-size: 0.82rem;
    line-height: 1.5;
  }
  .footer-col-new p[style*="display:flex"] {
    justify-content: flex-start !important;
  }
  .footer-social-col {
    grid-column: 1 / -1 !important;
    align-items: center !important;
    padding: 2rem 1.5rem !important;
    border-bottom: none !important;
    background: #ececec;
  }
  .social-text {
    font-size: 1.8rem;
  }
  .social-circles a {
    width: 42px;
    height: 42px;
  }
  .footer-bottom-new {
    margin-top: 0 !important;
    padding: 1.2rem 1rem;
    font-size: 0.8rem;
  }
  .footer-bottom-new img {
    max-width: 180px !important;
  }

  /* ── Cart Page ── */
  .cart-page-content {
    padding: 120px 12px 60px !important;
  }
  .cart-container {
    padding: 0 12px 3rem;
  }
  .cart-title {
    font-size: 1.6rem;
  }
  .cart-item {
    grid-template-columns: 70px 1fr;
    gap: 0.75rem;
    padding: 1rem;
    position: relative;
  }
  .cart-item-image {
    width: 70px;
    height: 70px;
  }
  .cart-item-details {
    grid-column: 2;
  }
  .quantity-controls {
    grid-column: 1 / -1;
    justify-self: start;
  }
  .cart-item-total {
    grid-column: 1 / -1;
    text-align: left;
  }
  .remove-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
  }

  /* ── Checkout Page ── */
  .checkout-container {
    padding: 0 12px 3rem;
  }
  .checkout-title {
    font-size: 1.6rem;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-section {
    padding: 1.25rem;
  }

  /* ── Legal Pages ── */
  main[style*="padding: 160px"] {
    padding: 120px 12px 60px !important;
  }
  main[style*="padding: 160px"] > div {
    padding: 20px !important;
    border-radius: 8px !important;
  }

  /* ── Toast ── */
  .toast-container {
    top: 70px;
    right: 10px;
    left: 10px;
  }
  .toast {
    min-width: auto;
    max-width: 100%;
  }

  /* ── Slider buttons ── */
    .slider-btn {
    font-size: 3rem;
    padding: 5px;
    width: auto;
    height: auto;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    top: 50%;
    color: #d89f0f;
  }
  .prev-btn {
    left: 0px;
  }
  .next-btn {
    right: 0px;
  }

  /* ── Top Bar Premium - Mobile ── */
  .top-bar-premium {
    height: 28px;
  }
  .premium-text {
    font-size: 0.68rem;
    gap: 5px;
    letter-spacing: 0.2px;
    text-align: center;
    justify-content: center;
    width: 100%;
  }
  .premium-text .material-symbols-outlined {
    font-size: 0.9rem;
  }
  .premium-icon-bg {
    display: none;
  }
}

/* ─────────────────────────────────────────────────────────
   576px - Small phones
   ───────────────────────────────────────────────────────── */
@media (max-width: 576px) {
  /* Header */
  .logo {
    width: 150px;
    height: 45px;
    margin-left: 10px;
  }
  .logo img {
    height: 130px;
  }

  /* Hero */
  .hero-title-cursive {
    font-size: 2.5rem;
  }
  .hero-product-img {
    transform: scale(1);
    max-height: 280px;
  }
  .hero-description {
    font-size: 0.9rem;
  }

  /* Products */
  .section-title {
    font-size: 2rem;
  }
  .products-page-hero h1 {
    font-size: 2.2rem !important;
  }
  .products-page-grid,
  .products-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  .product-btn-row {
    flex-direction: row;
  }
  .product-btn-row .add-to-cart-btn,
  .view-detail-btn {
    font-size: 0.82rem;
    padding: 0.6rem;
  }
  .product-info {
    padding: 1rem;
  }
  .product-name {
    font-size: 1.1rem;
  }
  .product-description {
    -webkit-line-clamp: 2;
    font-size: 0.85rem;
  }
  .product-price {
    font-size: 1.15rem;
  }

  /* Features */
  .features-cards-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-grid-new {
    grid-template-columns: 1fr !important;
  }
  .footer-col-new {
    text-align: center;
  }
  .footer-col-new p[style*="display:flex"] {
    justify-content: center !important;
  }
  .footer-logo-new {
    max-width: 150px !important;
    width: 150px !important;
  }

  /* Cart */
  .empty-cart {
    padding: 3rem 1.5rem;
  }
  .empty-cart h2 {
    font-size: 1.8rem;
  }
  .empty-cart-icon {
    font-size: 4rem;
  }
  .cart-title {
    font-size: 1.4rem;
  }
  .checkout-title {
    font-size: 1.4rem;
  }
}

/* ─────────────────────────────────────────────────────────
   Print Styles
   ───────────────────────────────────────────────────────── */
@media print {
  .header-wrapper,
  .hamburger,
  .mobile-menu-overlay,
  .toast-container,
  .scroll-indicator {
    display: none !important;
  }
  body {
    background: white;
  }
}

/* --- FORCE MOBILE MENU TO MATCH DESKTOP EXACTLY --- */
.mobile-menu-overlay {
  background: #ffffff !important;
}
.mobile-menu-overlay a {
  color: #444444 !important;
  font-family: 'Roboto Slab', serif !important;
  font-size: 1.25rem !important;
  font-weight: 300 !important;
  letter-spacing: 0.5px !important;
  text-transform: none !important;
  margin: 1rem 0 !important;
}
.mobile-menu-overlay a:hover {
  color: #d89f0f !important;
}

/* --- ACTIVE LINK STYLES --- */
.nav-links-new a.active-link,
.mobile-menu-overlay a.active-link {
  color: #d89f0f !important;
  font-weight: 700 !important;
}

/* Add a little dot or underline for mobile to be extra clear */
.mobile-menu-overlay a.active-link {
  border-bottom: 2px solid #d89f0f;
  display: inline-block;
  margin-bottom: 0 !important;
  padding-bottom: 5px;
}

/* ===================== PROFILE UI ===================== */
.profile-modal-content {
    max-width: 500px !important;
}
.profile-avatar-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
}
.avatar-preview {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #f4f5f7;
    border: 2px solid #2D5016;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 12px;
}
.avatar-preview .material-symbols-outlined {
    font-size: 48px;
    color: #a0a0a0;
}
