/* TEMA: PREMIUM 6 - Sude Premium (Adaçayı Yeşili / Sage Green) */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Quicksand:wght@400;500;600;700&display=swap');

body.theme-premium6 {
  --color-primary: #9CB1A3;
  --color-secondary: #1a1a1a;
  --color-accent: #C3D2C7;
  --color-bg: #F5F7F5;
  --color-surface: #ffffff;
  --color-surface2: #EBF0EC;
  --color-text: #1a1a1a;
  --color-text-muted: #6B7A70;
  --color-border: #E1E7E3;
  --font-display: 'Fredoka', sans-serif;
  --font-sans: 'Quicksand', sans-serif;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --shadow-card: 0 4px 16px rgba(26,26,26,0.04);
  --shadow-hover: 0 12px 32px rgba(26,26,26,0.08);
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: #F5F7F5;
  color: #1a1a1a;
  font-family: 'Quicksand', sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.theme-premium6 * {
  box-sizing: border-box;
}

/* Typography */
body.theme-premium6 h1,
body.theme-premium6 h2,
body.theme-premium6 h3,
body.theme-premium6 h4,
body.theme-premium6 .fun-title {
  font-family: 'Fredoka', sans-serif !important;
  color: #1a1a1a;
  font-weight: 600;
}

body.theme-premium6 a {
  color: #9CB1A3;
  text-decoration: none;
  transition: var(--transition);
}

body.theme-premium6 a:hover {
  color: #1a1a1a;
}

body.theme-premium6 p {
  color: #7E8C83;
  line-height: 1.65;
}

/* Header Override */
body.theme-premium6 .site-header {
  background: rgba(245, 247, 245, 0.95) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #E1E7E3 !important;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

body.theme-premium6 .site-logo {
  font-family: 'Fredoka', sans-serif !important;
  font-size: 1.6rem;
  font-weight: 700;
  color: #9CB1A3 !important;
  letter-spacing: 0.02em;
}

body.theme-premium6 .site-logo-text {
  color: #1a1a1a;
  font-size: 1.3rem;
  font-weight: 700;
  white-space: nowrap;
}

body.theme-premium6 .nav-link {
  color: #7E8C83 !important;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 8px 16px !important;
  border-radius: 20px;
}

body.theme-premium6 .nav-link:hover,
body.theme-premium6 .nav-link.active {
  color: #9CB1A3 !important;
  background: rgba(156,177,163, 0.06);
}

/* Buttons */
body.theme-premium6 .btn-primary,
body.theme-premium6 .p6-btn-primary {
  background: linear-gradient(135deg, #9CB1A3, #1a1a1a) !important;
  color: #fff !important;
  border: none !important;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  padding: 12px 28px;
  border-radius: 22px;
  cursor: pointer;
  transition: var(--transition);
  display: inline-block;
  box-shadow: 0 4px 16px rgba(156,177,163, 0.2);
}

body.theme-premium6 .btn-primary:hover,
body.theme-premium6 .p6-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(156,177,163, 0.3);
}

body.theme-premium6 .icon-btn {
  background: transparent;
  border: none;
  color: #7E8C83;
  padding: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.theme-premium6 .icon-btn:hover {
  color: #9CB1A3;
  background: rgba(156,177,163, 0.08);
  transform: scale(1.1);
}

body.theme-premium6 #cart-count-badge {
  background: #9CB1A3 !important;
  color: #fff !important;
  font-size: 0.6rem;
  font-weight: 700;
  border-radius: 50%;
  min-width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Sections */
body.theme-premium6 .section-title {
  font-family: 'Fredoka', sans-serif !important;
  font-size: 1.8rem;
  font-weight: 600;
  color: #1a1a1a;
  text-align: center;
  position: relative;
  padding-bottom: 16px;
  margin-bottom: 32px;
}

body.theme-premium6 .section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 4px;
  background: linear-gradient(90deg, #9CB1A3, #C3D2C7);
  border-radius: 99px;
}

/* Product Cards */
body.theme-premium6 .product-card {
  background: #fff !important;
  border: 1px solid #E1E7E3 !important;
  border-radius: 24px !important;
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  box-shadow: 0 4px 16px rgba(156,177,163, 0.04) !important;
}

body.theme-premium6 .product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(156,177,163, 0.08) !important;
  border-color: #C3D2C7 !important;
}

body.theme-premium6 .product-name {
  font-family: 'Quicksand', sans-serif !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  color: #1a1a1a !important;
  line-height: 1.4 !important;
}

body.theme-premium6 .product-price {
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  color: #9CB1A3 !important;
}

body.theme-premium6 .product-price .old-price {
  color: #7E8C83 !important;
  text-decoration: line-through;
  font-size: 0.75rem !important;
}

/* Footer Override */
body.theme-premium6 .site-footer {
  background: #EBF0EC !important;
  border-top: 1px solid #E1E7E3 !important;
  color: #7E8C83 !important;
  font-size: 0.85rem;
  padding: 48px 0 24px !important;
}

body.theme-premium6 .site-footer h5,
body.theme-premium6 .site-footer h6 {
  font-family: 'Fredoka', sans-serif !important;
  font-size: 0.95rem;
  color: #9CB1A3;
  margin-bottom: 16px;
}

body.theme-premium6 .site-footer a {
  color: #7E8C83;
  transition: color 0.2s;
}

body.theme-premium6 .site-footer a:hover {
  color: #9CB1A3;
}

/* Inputs and Forms */
body.theme-premium6 input,
body.theme-premium6 select,
body.theme-premium6 textarea {
  background: #fff;
  border: 1px solid #E1E7E3;
  color: #1a1a1a;
  border-radius: 16px;
  padding: 12px 18px;
  font-family: 'Quicksand', sans-serif;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  outline: none;
  width: 100%;
}

body.theme-premium6 input:focus,
body.theme-premium6 select:focus,
body.theme-premium6 textarea:focus {
  border-color: #9CB1A3;
  box-shadow: 0 0 0 3px rgba(156,177,163, 0.1);
}

body.theme-premium6 label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #7E8C83;
  margin-bottom: 6px;
  display: block;
}

/* Product Detail Page Override */
body.theme-premium6 .product-detail-container {
  padding-top: 2rem;
  padding-bottom: 4rem;
}

body.theme-premium6 .product-title {
  font-family: 'Fredoka', sans-serif !important;
  font-size: 1.8rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

body.theme-premium6 .detail-price-box {
  background: #EBF0EC;
  border-radius: 20px;
  padding: 1.5rem;
  border: 1px solid #E1E7E3;
  margin-bottom: 1.5rem;
}

body.theme-premium6 .quantity-selector {
  border: 1px solid #E1E7E3;
  border-radius: 16px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
}

body.theme-premium6 .quantity-btn {
  background: #EBF0EC;
  color: #9CB1A3;
  padding: 10px 16px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

body.theme-premium6 .quantity-btn:hover {
  background: #9CB1A3;
  color: #fff;
}

/* Custom Scrollbar */
body.theme-premium6 ::-webkit-scrollbar {
  width: 6px;
}

body.theme-premium6 ::-webkit-scrollbar-track {
  background: #F5F7F5;
}

body.theme-premium6 ::-webkit-scrollbar-thumb {
  background: #9CB1A3;
  border-radius: 3px;
}

/* Scroll reveal classes */
body.theme-premium6 .scroll-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s ease, transform .5s ease;
}

body.theme-premium6 .scroll-reveal.visible {
  opacity: 1;
  transform: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  body.theme-premium6 .site-logo {
    font-size: 1.4rem;
  }
  body.theme-premium6 .site-logo-text {
    font-size: 1.1rem;
  }
  body.theme-premium6 .section-title {
    font-size: 1.4rem;
  }
  body.theme-premium6 .btn-primary {
    padding: 10px 22px;
  }
}

/* Hide default mobile nav in premium6, replace with ours */
body.theme-premium6 .mobile-bottom-nav:not(.p6-mobile-nav) {
  display: none !important;
}

/* Scrollbar Hiding for Category Track */
body.theme-premium6 .scrollbar-none {
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
}
body.theme-premium6 .scrollbar-none::-webkit-scrollbar {
  display: none !important;
}

/* Floating Mobile Bottom Nav (sleek compact glassmorphism) */
body.theme-premium6 .p6-mobile-nav {
  position: fixed !important;
  bottom: 12px !important;
  left: 12px !important;
  right: 12px !important;
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(225, 231, 227, 0.5) !important;
  border-radius: 24px !important;
  box-shadow: 0 8px 24px rgba(156,177,163, 0.08) !important;
  padding: 6px 12px !important;
  display: flex !important;
  justify-content: space-around !important;
  align-items: center !important;
  z-index: 9999 !important;
  transition: all 0.3s ease !important;
}

body.theme-premium6 .p6-mobile-nav a {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 3px !important;
  color: #7E8C83 !important;
  text-decoration: none !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

body.theme-premium6 .p6-mobile-nav a svg {
  transition: transform 0.25s ease !important;
}

body.theme-premium6 .p6-mobile-nav a:hover,
body.theme-premium6 .p6-mobile-nav a.active,
body.theme-premium6 .p6-mobile-nav a[href="<?= SITE_URL ?>"] { /* current page logic fallback */
  color: #9CB1A3 !important;
}

body.theme-premium6 .p6-mobile-nav a:active svg {
  transform: scale(0.85) !important;
}

/* Hide floating nav on desktop */
@media (min-width: 768px) {
  body.theme-premium6 .p6-mobile-nav {
    display: none !important;
  }
}

/* Polaroid Product Card styling enhancements */
body.theme-premium6 .p6-pcard {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

body.theme-premium6 .p6-pcard .p6-add-btn {
  width: 34px !important;
  height: 34px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: #EBF0EC !important;
  color: #9CB1A3 !important;
  border-radius: 50% !important;
  border: 1px solid rgba(225, 231, 227, 0.4) !important;
  transition: all 0.25s ease !important;
}

body.theme-premium6 .p6-pcard:hover .p6-add-btn {
  background-color: #9CB1A3 !important;
  color: #ffffff !important;
  transform: rotate(90deg) !important;
}

/* Welcome banner text fix - premium6 p override was hiding white text */
body.theme-premium6 .app-welcome p {
  color: #fff !important;
}
body.theme-premium6 .app-welcome-sub {
  color: rgba(255,255,255,0.75) !important;
}

