/* ===== Brand palette ===== */
:root{
    --red:#E53935;
    --yellow:#F4C20D;
    --green:#34A853;
    --blue:#4285F4;
    --purple:#8E3AEC;
  
    --black:#0b0b0b;
    --bg:#ffffff;
    --text:#1f2328;
    --muted:#6b7280;
    --card:#ffffff;
    --border:#e5e7eb;
  
    --radius:14px;
    --shadow:0 8px 24px rgba(0,0,0,.08);
  }
  
  *{box-sizing:border-box}
  html,body{margin:0;padding:0;font-family:Inter,system-ui,Segoe UI,Roboto,Arial,sans-serif;background:var(--bg);color:var(--text);}
  
  /* ===== Utility bar (black, like PartyCity top strip) ===== */
  .utilbar{background:var(--black);color:#fff;font-size:.9rem}
  .utilbar__inner{max-width:1200px;margin:0 auto;padding:8px 16px;display:flex;justify-content:space-between;gap:12px}
  .utilbar a{color:#fff;text-decoration:none;opacity:.9}
  .utilbar a:hover{opacity:1;text-decoration:underline}
  
  /* ===== Header with logo, giant search, icons ===== */
  .masthead{background:#fff;border-bottom:1px solid var(--border)}
  .masthead__inner{max-width:1200px;margin:0 auto;padding:14px 16px;display:grid;grid-template-columns:200px 1fr 120px;align-items:center;gap:16px}
  .brand img{height:44px;width:auto}
  
  .search{display:flex;align-items:center;border:1px solid var(--border);border-radius:999px;padding:6px 10px}
  .search input{flex:1;border:0;outline:none;padding:10px 12px;font-size:1rem}
  .search button{border:0;background:#fff;border-left:1px solid var(--border);padding:10px 14px;border-radius:0 999px 999px 0;cursor:pointer}
  .search input::placeholder{color:#9aa0a6}
  
  .icons{display:flex;gap:12px;justify-content:flex-end}
  .icons a{text-decoration:none;font-size:1.2rem}
  
  /* ===== Category nav (wide, horizontal) ===== */
  .catnav{border-bottom:1px solid var(--border);background:#fff}
  .catnav__scroll{max-width:1200px;margin:0 auto;display:flex;gap:28px;padding:12px 16px;overflow-x:auto}
  .catnav__scroll a{text-decoration:none;color:#111;font-weight:700;white-space:nowrap}
  .catnav__scroll a:hover{color:var(--purple)}
  
  /* ===== Page wrapper ===== */
  .page{max-width:1200px;margin:0 auto;padding:20px 16px}
  .pagetitle{font-size:2rem;margin:8px 0 16px 0}
  
  /* ===== Hero banner with overlay CTA ===== */
  .hero{position:relative;border-radius:16px;overflow:hidden;box-shadow:var(--shadow);margin-bottom:24px}
  .hero__img{width:100%;height:360px;object-fit:cover;display:block}
  .hero__overlay{
    position:absolute;left:22px;top:22px;max-width:420px;
    background:rgba(19,41,61,.85);color:#fff;border-radius:14px;padding:18px;
  }
  .hero__overlay h2{margin:0 0 6px 0;font-size:1.6rem}
  .hero__overlay p{margin:0 0 12px 0}
  .btn{display:inline-block;border-radius:8px;padding:10px 14px;font-weight:700;text-decoration:none}
  .btn-white{background:#fff;color:#13293D;border:1px solid #d1d5db}
  .btn-outline{background:#fff;border:1px solid #d1d5db;color:#111}
  .btn:hover{filter:brightness(.98)}
  
  /* ===== Products grid ===== */
  .grid{display:grid;gap:16px}
  .grid-products{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}
  .product-card{background:var(--card);border:1px solid var(--border);border-radius:12px;overflow:hidden;box-shadow:var(--shadow);display:flex;flex-direction:column}
  .p-thumb{height:160px;background:
    linear-gradient(135deg, rgba(229,57,53,.2), transparent 40%),
    linear-gradient(45deg, rgba(52,168,83,.2), transparent 60%),
    repeating-linear-gradient(45deg, rgba(0,0,0,.06) 0 10px, rgba(0,0,0,.10) 10px 20px);}
  .p-info{padding:12px;display:grid;gap:6px}
  .p-title{font-weight:800}
  .p-price{color:var(--muted);font-weight:600}
  
  /* ===== Info cards ===== */
  .info-cols{display:grid;grid-template-columns:1.1fr .9fr;gap:16px;margin-top:8px}
  .card{background:#fff;border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow);padding:16px}
  .bullets{margin:0;padding-left:18px}
  .bullets li{margin:8px 0}
  .hours-list{
    list-style:none;
    margin:10px 0 0;
    padding:0;
  }
  .hours-list li{
    padding:6px 0;
    border-bottom:1px dashed var(--border);
  }
  .hours-list li:last-child{ border-bottom:none; }
  
  .site-footer{border-top:1px solid var(--border);padding:22px 0;background:#fff;margin-top:28px}
  .footer__inner{max-width:1200px;margin:0 auto;padding:0 16px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px}
  
  /* ===== Responsive ===== */
  @media (max-width: 900px){
    .masthead__inner{grid-template-columns:1fr;grid-auto-rows:auto}
    .icons{justify-content:flex-start}
    .info-cols{grid-template-columns:1fr}
    .hero__img{height:260px}
  }
  
  
  /* ===== common ===== */
  .page{max-width:1140px;margin:0 auto;padding:28px 16px}
  .section{padding:8px 0}
  .muted{color:var(--muted)}
  .grid{display:grid;gap:16px}
  .grid-products{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}
  .grid-services{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
  
  .card{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:18px;box-shadow:var(--shadow)}
  .title{font-weight:700}
  .bullets{margin:0;padding-left:18px}
  .bullets li{margin:8px 0}
  
  .hours{width:100%;border-collapse:collapse;margin-top:10px}
  .hours td{padding:6px 0;border-bottom:1px dashed var(--border)}
  .hours td:first-child{color:var(--muted);width:40%}
  
  /* ===== hero ===== */
  .hero{
    border:1px solid var(--border);
    border-radius:24px;
    overflow:hidden;
    background:
      radial-gradient(circle at 12% 20%, rgba(245, 208, 66,.35) 0 180px, transparent 181px),
      radial-gradient(circle at 88% 18%, rgba(229,57,53,.35) 0 150px, transparent 151px),
      radial-gradient(circle at 18% 82%, rgba(66,133,244,.35) 0 150px, transparent 151px),
      radial-gradient(circle at 82% 78%, rgba(52,168,83,.35) 0 170px, transparent 171px),
      linear-gradient(180deg, #fff, #fff);
    padding:64px 28px;
    margin-bottom:24px;
  }
  .hero__content{max-width:720px}
  .hero h1{font-size:clamp(32px,6vw,56px);line-height:1.05;margin:0 0 8px}
  .accent{color:var(--purple)}
  .hero p{margin:0 0 14px;color:var(--muted)}
  .hero__cta{display:flex;gap:10px;flex-wrap:wrap}
  
  /* ===== forms & buttons ===== */
  .btn{display:inline-block;border-radius:999px;padding:12px 18px;text-decoration:none;border:2px solid var(--purple);font-weight:700}
  .btn-solid{background:var(--purple);color:#fff}
  .btn-outline{background:#fff;color:var(--purple)}
  .btn:hover{filter:brightness(.97)}
  
  .form{display:grid;gap:12px;max-width:560px}
  .field{display:grid;gap:6px}
  .field input,.field textarea{padding:12px;border:1px solid var(--border);border-radius:12px}
  
  /* ===== product thumb placeholder ===== */
  .product .thumb{height:140px;border-radius:14px;background:
    repeating-linear-gradient(45deg, rgba(0,0,0,.06) 0 10px, rgba(0,0,0,.12) 10px 20px);
  }
  
  /* service color accents */
  .svc-yellow{border-top:6px solid var(--yellow)}
  .svc-green{border-top:6px solid var(--green)}
  .svc-blue{border-top:6px solid var(--blue)}
  
  /* ===== footer ===== */
  .site-footer{border-top:1px solid var(--border);padding:24px 0;background:#fff;margin-top:28px}
  .footer__inner{max-width:1140px;margin:0 auto;padding:0 16px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px}
  .footer__inner a{color:inherit}
  
  /* ===== Featured Categories (circular cards) ===== */
/* ===== Featured Categories (Updated) ===== */
.sectiontitle {
  font-size: 2rem;
  text-align: center;
  margin: 8px 0 18px;
}

.featcats {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.catcard {
  text-decoration: none;
  color: inherit;
  text-align: center;
  transition: transform 0.3s ease;
}

.catcard:hover {
  transform: translateY(-6px);
}

.catcard img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: block;
  margin: 0 auto 10px auto;
  transition: transform 0.4s ease;
}

.catcard:hover img {
  transform: scale(1.05);
}

.catcard span {
  display: block;
  font-weight: 800;
  font-size: 1.05rem;
}


/* Info section as single column when we removed the services card */
.info-cols.single{
  grid-template-columns:1fr;
}



/* ===== Footer CTA band ===== */
.foot-cta{border-top:1px solid var(--border); border-bottom:1px solid var(--border); background:#fff; margin-top:24px}
.foot-cta__inner{
  max-width:1200px; margin:0 auto; padding:22px 16px;
  display:grid; grid-template-columns:1fr 1fr 1.2fr; gap:22px; align-items:start;
}
.foot-col strong{font-size:1.05rem}
.foot-icon{font-size:1.6rem; margin-bottom:6px}
/* socials: use your facebook.jpg + insta.jpg as square icons */
.socials{
  display:flex;
  gap:12px;
  align-items:center;
  margin-top:8px;
}

.socials a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:36px;                /* bigger than before */
  height:36px;
  border:1px solid var(--border);
  border-radius:8px;
  background:#fff;
  text-decoration:none;
  box-shadow:0 2px 6px rgba(0,0,0,.05);
}

/* NEW: ensure the images fill the button nicely */
.socials img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:8px;
  display:block;
}

.join{display:flex; gap:8px; margin-top:8px}
.join input{flex:1; padding:10px 12px; border:1px solid var(--border); border-radius:8px}
.join button{padding:10px 14px; border:1px solid var(--border); border-radius:8px; background:#f9fafb; font-weight:700; cursor:pointer}
@media (max-width:900px){
  .foot-cta__inner{grid-template-columns:1fr}
}


/* ===== Halloween gallery (vertical photos) ===== */
/* ===== Halloween gallery (vertical photos) ===== */
.hw-grid{
  display:grid;
  gap:16px;
  grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
}

.hw-card{
  display:block;
  border:1px solid var(--border);
  border-radius:12px;
  overflow:hidden;
  box-shadow:var(--shadow);
  background:#fff;
}

.hw-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  /* vertical look: ~3:5 ratio; the browser will crop nicely */
  aspect-ratio: 3 / 5;
  display:block;
}

.hw-card:hover{ filter:brightness(.98); }


.auth-container {
  max-width: 400px;
  margin: 3rem auto;
  text-align: center;
}

.auth-container h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.auth-form label {
  font-weight: 600;
  font-size: 0.95rem;
}

.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"],
.auth-form input[type="tel"] {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #333;
  border-radius: 4px;
  font-size: 1rem;
}

.password-field {
  position: relative;
}

.password-field .show-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #777;
  cursor: pointer;
}

.auth-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.auth-btn {
  background-color: #fff;
  border: 2px solid #000;
  padding: 0.75rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 4px;
}

.auth-btn:hover {
  background-color: #000;
  color: #fff;
}

.switch-link {
  text-align: center;
  margin-top: 1rem;
}

.switch-link a {
  font-weight: 600;
  text-decoration: underline;
  color: inherit;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.decorations {
  text-align: center;
  padding: 0.1rem 0.1rem; 
}


.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-top: 0.1rem;
  margin-bottom: 0.3rem;
  
}

.decor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  justify-items: center;
}

.decor-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.decor-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.decor-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.decor-card:hover img {
  transform: scale(1.08);
}
.decor-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  color: #fff;
  text-align: left;
  padding: 1.2rem;
  opacity: 1; /* always visible */
  transform: translateY(0); /* no animation needed */
}

.decor-overlay h2 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.decor-overlay p {
  font-size: 0.9rem;
  line-height: 1.3;
}


/* === Hero Section === */
/* === Hero Section (Restored Balanced Look) === */
.hero {
  text-align: center;
  padding: 2rem 1rem;   /* gives good breathing room */
  background: none;
}

.hero h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Banner container */
.hero-banner {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto;
  height: 340px; /* Balanced height */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Banner image */
.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.hero-banner:hover img {
  transform: scale(1.04);
}

/* Text overlay */
.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 1.5rem 2rem;
  border-radius: 10px;

  max-width: 420px;      /* masaüstü için daha rahat */
  width: min(90%, 420px);/* mobilde taşmayı engeller */
  text-align: center;    /* içerik ortalı */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.hero-text h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.hero-text p {
  font-size: 0.95rem;
  line-height: 1.4;
  margin-bottom: 1rem;
  color: #f0f0f0;
}

/* Button style */
.hero-btn {
  display: inline-block;
  background: #fff;
  color: #222;
  font-weight: 600;
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.hero-btn:hover {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.grid-products-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.img-placeholder {
  width: 100%;
  height: 250px;
  background: repeating-linear-gradient(
    45deg,
    #ddd,
    #ddd 10px,
    #eee 10px,
    #eee 20px
  );
  border-radius: 12px;
}

.img-placeholder.big {
  height: 400px;
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}


.cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: purple;
  color: #fff;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 12px;
  font-weight: bold;
}


.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  text-align: center;
}

.img-placeholder {
  height: 180px;
  background: repeating-linear-gradient(
    45deg,
    #eee,
    #eee 10px,
    #ddd 10px,
    #ddd 20px
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  border-radius: 10px;
}


.cart-icon {
  position: relative;
  font-size: 22px;
  text-decoration: none;
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background: #7c3aed;   /* purple */
  color: white;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 50%;
  font-weight: bold;
  min-width: 18px;
  text-align: center;
  line-height: 1;
}


.cart-header, .cart-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}

.cart-product {
  display: flex;
  gap: 15px;
}

.cart-qty button {
  padding: 6px 12px;
}

.cart-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 40px 0;
}

.cart-option {
  padding: 20px;
  border: 1px solid #ddd;
  text-align: center;
  border-radius: 10px;
}

.cart-footer {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  margin-top: 30px;
}

.continue {
  display: inline-block;
  margin-top: 30px;
  color: purple;
}


.checkout-btn {
  background: #e11d2e;
  color: white;
  border: none;
  padding: 14px 40px;
  font-size: 18px;
  border-radius: 10px;
  cursor: pointer;
}

.checkout-btn:hover {
  background: #c01624;
}



/* cart badge */
.cart-icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  background: rebeccapurple;
  color: #fff;
  font-size: 0.7rem;
  border-radius: 999px;
  padding: 2px 6px;
  min-width: 18px;
  text-align: center;
}

.cart-badge.hidden {
  display: none;
}

/* cart page layout */
.cart-section {
  max-width: 1000px;
  margin: 0 auto;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
}

.cart-table th,
.cart-table td {
  padding: 0.9rem 0.5rem;
  border-bottom: 1px solid #eee;
}

.cart-col-product {
  text-align: left;
}

.cart-col-qty,
.cart-col-total {
  text-align: center;
}

.cart-product-main {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cart-thumb {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  background: #f4f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-thumb-placeholder {
  font-size: 1.4rem;
}

.cart-product-name {
  font-weight: 600;
}

.cart-product-price {
  font-size: 0.9rem;
  color: #666;
}

.qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.qty-btn {
  border: 1px solid #ccc;
  background: #fff;
  border-radius: 999px;
  padding: 0.15rem 0.6rem;
  cursor: pointer;
  font-size: 1rem;
}

.qty-value {
  min-width: 1.5rem;
  text-align: center;
}

.cart-bottom {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.cart-shipping-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.ship-btn {
  border-radius: 999px;
  border: 1px solid #ddd;
  padding: 0.9rem 1rem;
  background: #fafafa;
  cursor: pointer;
}

.ship-btn.selected {
  border-color: #333;
  background: #f0f0f0;
}

.cart-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-estimated span:first-child {
  display: block;
  font-size: 0.85rem;
  color: #666;
}

.cart-estimated span:last-child {
  font-size: 1.1rem;
  font-weight: 600;
}

.checkout-btn {
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  border: none;
  background: #e4002b;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.cart-continue {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

.cart-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  align-items: center;
  gap: 20px;
}

.cart-row {
  /* Removed grid properties */
  /* Kept visual styling */
  border-bottom: 1px solid #eee;
}

.cart-col-qty,
.cart-col-total {
  text-align: left;
  
}

.qty-btn {
  border: 1px solid #ccc;
  background: white;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  margin: 0 6px;
}



/* --- ALIGNMENT FIX START --- */

/* 1. Force the row to act like a real table row, not a grid */
.cart-row {
  display: table-row !important;
}

/* 2. Define strict widths so Header and Content match perfectly */
.cart-col-product {
  width: 50%;
}

.cart-col-qty {
  width: 25%;
  text-align: center !important; /* Centers the header text */
}

.cart-col-total {
  width: 25%;
  text-align: left !important;   /* Aligns total header to left */
}

/* 3. Align the body cells to match the headers above them */
.cart-qty-cell {
  text-align: center !important; /* Centers the buttons */
  vertical-align: middle;
}

.cart-line-total-cell {
  text-align: left !important;   /* Aligns price to left */
  vertical-align: middle;
}

/* 4. Ensure the buttons sit in the center of their area */
.qty-controls {
  display: inline-flex;
  justify-content: center;
  width: 100%;
}

/* --- ALIGNMENT FIX END --- */

.pickup-form {
  margin-top: 25px;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 14px;
  background: #fafafa;
}

.pickup-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.pickup-grid label {
  display: block;
  font-weight: 600;
  margin-bottom: 5px;
}

.pickup-grid input,
.pickup-grid textarea {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #ccc;
}

.pickup-full {
  grid-column: span 2;
}

.hidden {
  display: none;
}

.featured-products {
  padding: 80px 0;
  text-align: center;
}

.featured-title {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 50px;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.featured-card {
  background: #fff;
  border-radius: 18px;
  padding: 25px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  transition: transform 0.2s ease;
}

.featured-card:hover {
  transform: translateY(-5px);
}

.featured-card img {
  width: 100%;
  height: 260px;
  object-fit: contain;
}

.featured-card h3 {
  margin-top: 15px;
  font-size: 20px;
}

.featured-card p {
  font-size: 18px;
  font-weight: 600;
}


.shop-balloons-banner {
  width: 100%;
  background: #1f8acb; /* Nice blue */
  text-align: center;
  padding: 14px 0;
}

.shop-balloons-link {
  color: white;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.3px;
}

.shop-balloons-link:hover {
  text-decoration: underline;
}

/* ✅ FIX BALLOONS MENU IMAGE CROPPING */
.product-img-wrap {
  width: 100%;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  overflow: hidden;
  border-radius: 14px;
}

.product-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;   /* ✅ THIS PREVENTS CROPPING */
  display: block;
}



.admin-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 60px;
}

.admin-card {
  width: 900px;
  background: linear-gradient(135deg, #eaf6ff, #efeaff);
  padding: 40px;
  border-radius: 25px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.admin-card h1 {
  text-align: center;
  margin-bottom: 30px;
}

.back-btn {
  display: inline-block;
  background: #2563eb;
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  margin-bottom: 20px;
}

.admin-form .form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-group input,
.form-group textarea {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #ccc;
}

textarea {
  min-height: 120px;
}

.image-preview img {
  width: 180px;
  border-radius: 12px;
  margin-top: 10px;
}

.active-box {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 30px 0;
}

.save-btn {
  width: 100%;
  padding: 18px;
  font-size: 18px;
  border-radius: 40px;
  border: none;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  font-weight: bold;
  cursor: pointer;
}



.product-page {
  display: flex;
  gap: 60px;
  max-width: 1200px;
  margin: 60px auto;
  align-items: center;
}

.product-left {
  flex: 1;
  display: flex;
  justify-content: center;
}

.image-box {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.image-box img {
  max-width: 350px;
  height: auto;
  object-fit: contain;
}

.product-right {
  flex: 1;
}

.product-right h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
}

.product-right .desc {
  font-size: 17px;
  color: #555;
  margin-bottom: 20px;
}

.product-right .price {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 20px;
}

.qty-row {
  margin-bottom: 20px;
}

.qty-row input {
  width: 90px;
  padding: 8px;
  font-size: 16px;
}

.add-to-cart-btn {
  background: #e63946;
  color: white;
  border: none;
  padding: 14px 40px;
  font-size: 18px;
  border-radius: 30px;
  cursor: pointer;
}

/* ✅ PRODUCT PAGE WRAPPER */
.product-detail-wrapper {
  display: flex;
  justify-content: center;
  padding: 60px 20px;
  background: #f7f7f7;
}

/* ✅ MAIN PRODUCT CARD */
.product-card-large {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  padding: 40px;
  max-width: 1100px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* ✅ IMAGE BOX */
.product-image-box {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fafafa;
  padding: 30px;
  border-radius: 18px;
}

.product-image-box img {
  width: 100%;
  max-width: 420px;
  height: auto;
  object-fit: contain;
}

/* ✅ INFO BOX */
.product-info-box h1 {
  font-size: 36px;
  margin-bottom: 12px;
}

.product-desc {
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
}

.product-price {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 25px;
}

/* ✅ QUANTITY + BUTTON */
.add-to-cart-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.qty-label {
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 140px;
}

.qty-label input {
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 16px;
}

.add-to-cart-btn {
  background: #e63946;
  color: white;
  border: none;
  padding: 16px;
  border-radius: 40px;
  font-size: 18px;
  cursor: pointer;
  width: 220px;
  transition: 0.3s ease;
}

.add-to-cart-btn:hover {
  background: #c62834;
}

/* ✅ MOBILE FIX */
@media (max-width: 900px) {
  .product-card-large {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .add-to-cart-btn {
    margin: 0 auto;
  }
}

.user-menu.hidden {
  display: none;
}

.user-dropdown {
  position: relative;
}

.user-menu {
  position: absolute;
  right: 0;
  top: 130%;
  background: white;
  border-radius: 10px;
  width: 220px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  padding: 12px;
  z-index: 5000;
}

.user-menu a {
  display: block;
  padding: 10px;
  text-decoration: none;
  color: black;
  border-radius: 6px;
}

.user-menu a:hover {
  background: #f3f3f3;
}

.user-email {
  font-weight: bold;
  padding: 8px;
  word-break: break-all;
}




/* ✅ ONLY FIX THE LOGGED-IN LINE BREAK — NOTHING ELSE */
.icons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.user-dropdown {
  display: inline-flex;
  align-items: center;
}

.cart-icon-wrap {
  display: inline-flex;
  align-items: center;
}

.product-img-wrap img {
  cursor: pointer;
  transition: transform 0.15s ease;
}

.product-img-wrap:hover img {
  transform: scale(1.03);
}


.profile-card {
  background: #f7f7f7;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.address-box {
  background: white;
  padding: 15px;
  border-radius: 10px;
  position: relative;
}

.address-box button {
  position: absolute;
  right: 15px;
  top: 15px;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-box {
  background: white;
  width: 500px;
  padding: 25px;
  border-radius: 18px;
}

.hidden { display: none; }

.modal-box input,
.modal-box select {
  width: 100%;
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.row {
  display: flex;
  gap: 10px;
}

.btn-primary {
  background: #3b82f6;
  color: white;
  padding: 10px 18px;
  border-radius: 10px;
}


.delivery-form {
  margin-top: 20px;
}

.delivery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.delivery-grid label {
  font-size: 14px;
  color: #555;
  margin-bottom: 5px;
  display: block;
}

.delivery-grid input {
  width: 100%;
  padding: 10px;
  border: 2px solid #ddd;
  border-radius: 10px;
  font-size: 14px;
}

.delivery-full {
  grid-column: span 3;
}


.input-style {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 2px solid #ddd;
  font-size: 16px;
  outline: none;
  background: white;
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}


.modal-actions-split {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

.modal-actions-right {
  display: flex;
  gap: 12px;
}

.btn-danger {
  background: transparent;
  border: none;
  color: red;
  font-weight: 600;
  cursor: pointer;
}

.btn-primary {
  background: #3b82f6;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}


.flash-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
}
.flash-message {
  background: #22c55e;
  color: white;
  padding: 12px 18px;
  border-radius: 8px;
  margin-bottom: 8px;
  font-weight: bold;
}



.search {
  position: relative;
}

.search-results {
  position: absolute;
  top: 105%;
  left: 0;
  right: 0;
  background: white;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
  overflow: hidden;
  z-index: 9999;
  max-height: 300px;
  overflow-y: auto;
}

.search-item {
  display: flex;
  gap: 10px;
  padding: 10px;
  text-decoration: none;
  color: black;
  border-bottom: 1px solid #eee;
  transition: background .2s;
}

.search-item:hover {
  background: #f3f4f6;
}

.search-item img {
  width: 45px;
  height: 45px;
  object-fit: cover;
  border-radius: 6px;
}

.search-name {
  font-weight: 600;
}

.search-price {
  font-size: 13px;
  color: #16a34a;
}

.search-empty {
  padding: 12px;
  text-align: center;
  color: #777;
}

.hidden {
  display: none;
}


.admin-nav {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  font-size: 18px;
}

.admin-nav a {
  text-decoration: none;
  color: #4b0082;
  font-weight: bold;
}

.admin-nav .logout-btn {
  color: red;
}

.active-tab {
  text-decoration: underline;
}

.admin-title {
  font-size: 32px;
  margin-bottom: 20px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th {
  background: #f1f1f1;
  padding: 14px;
  text-align: left;
  font-size: 18px;
}

.admin-table td {
  padding: 14px;
  border-bottom: 1px solid #ddd;
  font-size: 16px;
}

.order-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.tab-btn {
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  background: #eee;
  font-weight: bold;
}

.tab-btn.active {
  background: #28a745;
  color: white;
}

.hidden {
  display: none;
}






.admin-nav {
  background: #222;
  padding: 15px;
}

.admin-nav a {
  color: white;
  margin-right: 20px;
  text-decoration: none;
  font-weight: bold;
}

.admin-nav .danger {
  color: red;
}

.admin-page {
  padding: 40px;
}

.admin-title {
  margin-bottom: 25px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
}

.admin-table th,
.admin-table td {
  padding: 12px;
  border-bottom: 1px solid #ddd;
  text-align: left;
}

.admin-table thead {
  background: #f3f3f3;
}


.tab-btn {
  padding: 10px 20px;
  cursor: pointer;
  background-color: #ddd; /* Gray by default */
  color: black;
  border: none;
  border-radius: 5px;
  font-weight: bold;
}

.tab-btn.active {
  background-color: #28a745; /* Green when active */
  color: white;
}

.split-row {
  display: flex;
  gap: 20px; /* Space between the two inputs */
  width: 100%;
  margin-bottom: 15px;
}
.split-row > div {
  flex: 1; /* Makes them equal width (50/50) */
}





/* Status Button Base Style */
.status-btn {
  padding: 6px 12px;
  border-radius: 20px;
  border: none;
  font-weight: bold;
  color: white;
  cursor: pointer;
  text-transform: capitalize;
  min-width: 100px;
  transition: 0.3s;
  outline: none;
}

/* Color Classes */
.status-processing {
  background-color: #f1c40f; /* Yellow */
  color: #333; /* Dark text for readability on yellow */
}
.status-packing {
  background-color: #3498db; /* Blue */
}
.status-delivered {
  background-color: #27ae60; /* Green */
}


/* =========================================
   MOBILE LAYOUT: STRICT 2-COLUMN GRID
   ========================================= */

   @media only screen and (max-width: 768px) {

    /* 1. CONTAINER: FORCE EXACTLY 2 COLUMNS */
    body .products-grid {
        display: grid !important;
        /* "1fr 1fr" forces exactly two equal columns, no matter what */
        grid-template-columns: 1fr 1fr !important; 
        gap: 15px !important; /* Space between the two columns */
        padding: 15px !important;
        width: 100% !important;
        box-sizing: border-box;
    }

    /* 2. CARD STYLE (Same as Web View, just smaller) */
    body .product, body .product-card {
        display: flex !important;
        flex-direction: column !important; /* Image on Top, Text on Bottom */
        width: 100% !important;
        background: white !important;
        border: 1px solid #e0e0e0 !important;
        border-radius: 10px !important; /* Rounded corners like desktop */
        box-shadow: 0 4px 8px rgba(0,0,0,0.05) !important;
        padding: 0 !important;
        overflow: hidden;
        margin: 0 !important;
    }

    /* 3. IMAGE (Maintain Aspect Ratio) */
    body .product img, body .product-card img {
        width: 100% !important;
        height: 150px !important; /* Good square-ish height for mobile */
        object-fit: cover !important; /* Ensures image fills box without stretching */
        border-bottom: 1px solid #eee;
        margin-bottom: 0 !important;
    }

    /* 4. TEXT AREA */
    body .product-info, body .card-body {
        padding: 10px !important;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        flex-grow: 1;
    }

    /* 5. FONTS (Scaled down slightly to fit) */
    body .product-name {
        font-size: 0.9rem !important; /* Readable but fits in the box */
        margin: 5px 0 !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis; /* Adds "..." if name is too long */
    }

    body .product-price {
        font-size: 1rem !important;
        font-weight: bold;
        color: #27ae60;
        margin-bottom: 8px !important;
    }

    /* 6. BUTTON */
    body .product .btn {
        width: 100% !important;
        padding: 8px 0 !important;
        font-size: 0.9rem !important;
        border-radius: 5px;
    }
}



/* =========================================
   COOKIE CONSENT POPUP
   ========================================= */

/* The Container (Initially Hidden) */
.cookie-banner {
  position: fixed;
  bottom: -100%; /* Start off-screen */
  left: 50%;
  transform: translateX(-50%); /* Center horizontally */
  width: 90%;
  max-width: 600px; /* Don't get too wide on desktop */
  background: white;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2); /* Nice shadow */
  border-radius: 12px; /* Rounded corners */
  padding: 20px;
  z-index: 9999; /* Sit on top of everything */
  transition: bottom 0.5s ease-out; /* Smooth slide animation */
}

/* The Animation Class (Added by JS) */
.cookie-banner.slide-up {
  bottom: 20px; /* Float slightly above the bottom edge */
}

/* Flexbox Layout for Text & Buttons */
.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Mobile Layout: Stack them */
@media (max-width: 768px) {
  .cookie-content {
      flex-direction: column;
      text-align: center;
  }
}

/* Text Styling */
.cookie-text h3 {
  margin: 0 0 5px 0;
  font-size: 1.1rem;
  color: #333;
}

.cookie-text p {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.4;
}

/* Buttons Container */
.cookie-buttons {
  display: flex;
  gap: 10px;
}

/* Button Styles */
.btn-accept {
  background-color: #333;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-accept:hover {
  background-color: #000;
}

.btn-decline {
  background-color: transparent;
  border: 1px solid #ccc;
  color: #555;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
}

.btn-decline:hover {
  background-color: #f5f5f5;
}

/* Helper to hide it completely */
.hidden {
  display: none; 
}





/* --- GENEL IZGARA (GRID) --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Masaüstü: 3'lü */
  gap: 20px;
  padding: 10px;
}

/* --- KART YAPISI --- */
.product-card {
  display: flex;
  flex-direction: column;       /* Alt alta dizilim */
  align-items: center;          /* Yatayda tam ortala */
  justify-content: flex-start;
  text-align: center;           /* Yazıları ortala */
  padding: 10px;
  border: 1px solid #f9f9f9;    /* Çok hafif çerçeve */
  border-radius: 12px;
}

/* --- RESİM ALANI --- */
.product-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;          /* Tam kare */
  display: flex;                /* Resmi dikey/yatay ortalamak için */
  align-items: center;
  justify-content: center;
  margin-bottom: 5px;           /* Resim ile Başlık arasındaki boşluk AZALTILDI */
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;          /* Resmi kesmeden sığdır */
}

/* --- BAŞLIK VE FİYAT --- */
.product-card h3 {
  margin: 0;                    /* Başlığın dış boşluklarını sıfırla */
  margin-top: 5px;              /* Resimden sadece biraz ayrıl */
  font-size: 1rem;
  line-height: 1.2;
}

.product-card p {
  margin: 5px 0 0 0;            /* Fiyat ile başlık arasını ayarla */
  font-weight: bold;
  color: #333;
}

/* --- MOBİL GÖRÜNÜM (TELEFONLAR) --- */
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr); /* Mobil: 2'li */
    gap: 12px;
  }
  .product-card h3 {
      font-size: 0.9rem; /* Mobilde yazı çok hafif küçülsün */
  }
}










/* --- YENİ HEADER DÜZENİ --- */
.masthead__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative; /* Logoyu ortalamak için referans noktası */
  height: 70px; /* Header yüksekliği */
  padding: 0 15px;
}

/* --- ORTALANMIŞ LOGO --- */
.brand.centered-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%); /* Tam merkezleme */
  z-index: 1; /* Diğer öğelerin altında kalmasın */
}

.brand.centered-logo img {
  height: 55px; /* Logo boyutunu büyüttük (Eskisi muhtemelen 40px civarıydı) */
  width: auto;
  display: block;
}

/* --- SOL VE SAĞ İKON GRUPLARI --- */
.header-left, .header-right {
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 2; /* Logonun üstünde tıklanabilir olsunlar */
}

/* İkon Butonları (Büyüteç, Sepet vs.) */
.icon-btn {
  background: none;
  border: none;
  font-size: 1.5rem; /* İkon boyutu */
  cursor: pointer;
  padding: 5px;
  line-height: 1;
}

/* --- AÇILIR ARAMA ÇUBUĞU (OVERLAY) --- */
.search-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  z-index: 10; /* En üstte görünsün */
  
  /* Başlangıçta gizli olsun */
  opacity: 0;
  visibility: hidden; 
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

/* Aktif olduğunda görünsün */
.search-overlay.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.search-overlay input {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  outline: none;
}

.close-search-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  margin-left: 10px;
  cursor: pointer;
  color: #666;
}


/* --- GENEL GRID YAPISI (Bilgisayar) --- */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Bilgisayarda yan yana 3 tane */
  gap: 20px;
  padding: 20px;
}

/* --- MOBİL GÖRÜNÜM (Telefonlar) --- */
@media (max-width: 768px) {
  .featured-grid {
    grid-template-columns: 1fr !important; /* Mobilde TEK SÜTUN (Alt alta) */
    gap: 25px; /* Ürünler arası boşluk */
    padding: 15px;
  }

  .featured-card {
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* Mobilde daha belirgin kart gölgesi */
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
  }

  .featured-card img {
    height: auto;
    max-height: 300px; /* Resimler mobilde daha büyük ve net olsun */
    object-fit: contain;
    margin-bottom: 10px;
  }
  
  .featured-card h3 {
      font-size: 1.2rem; /* Başlıklar mobilde okunaklı olsun */
      margin-top: 10px;
  }
}





/* --- GRID SİSTEMİ (Bilgisayar Görünümü) --- */
.delivery-grid, .pickup-grid {
  display: grid;
  /* Bilgisayarda: 2 Eşit Sütun */
  grid-template-columns: 1fr 1fr; 
  gap: 15px; 
  margin-top: 15px;
}

/* --- INPUT VE LABEL STİLLERİ --- */
.delivery-grid input, .delivery-grid select,
.pickup-grid input, .pickup-grid select,
.pickup-grid textarea {
  width: 100%;
  height: 50px; /* Rahat tıklanabilir yükseklik */
  padding: 10px 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px; /* iPhone'da zoom yapmaması için */
  box-sizing: border-box;
  background-color: #fff;
  font-family: inherit;
  appearance: none; /* Tarayıcı varsayılan stillerini sıfırla */
}

/* Select ikonunu düzeltmek için (Opsiyonel ama şık durur) */
select {
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23333%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 15px top 50%;
  background-size: 12px auto;
}

.pickup-grid textarea {
  height: auto;
  padding-top: 10px;
}

.delivery-grid label, .pickup-grid label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #333;
}

/* Bilgisayarda tam satır kaplayacaklar (Adres vb.) */
.full-width {
  grid-column: span 2; 
}

/* --- MOBİL GÖRÜNÜM (KESİN ÇÖZÜM) --- */
@media (max-width: 768px) {
  .delivery-grid, .pickup-grid {
    /* Sütunları 1'e zorla */
    grid-template-columns: 1fr !important; 
    gap: 15px;
    display: block; /* Grid yerine Block yaparak kesin alt alta dizilimi sağla */
  }
  
  /* Grid içindeki her bir kutucuk (div) */
  .delivery-grid > div, .pickup-grid > div {
    width: 100% !important;
    margin-bottom: 15px; /* Alt alta boşluk */
  }

  .full-width {
    /* Span özelliğini iptal et */
    grid-column: span 1 !important; 
  }
}









/* --- BAŞLIK VE SIRALAMA ALANI DÜZENİ --- */
.page-header-row {
  display: flex;
  justify-content: space-between; /* Biri sağa biri sola */
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee; /* İnce bir çizgi şık durur */
}

.pagetitle {
  margin: 0; /* Varsayılan boşlukları sıfırla */
}

/* --- SORT DROPDOWN STİLİ --- */
.sort-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: #555;
}

.sort-select {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #fff;
  cursor: pointer;
  font-size: 0.9rem;
  outline: none;
  transition: 0.3s;
}

.sort-select:hover {
  border-color: #333;
}

/* Mobilde alt alta geçsinler */
@media (max-width: 600px) {
  .page-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .sort-wrapper {
    width: 100%;
    justify-content: space-between;
  }
}


.nav-dropdown-menu { z-index: 99999; }



/* --- MOBİL NAVBAR ORTALAMA (KESİN ÇÖZÜM) --- */
@media (max-width: 768px) {
  /* Ana kapsayıcıyı ayarla */
  .catnav {
    display: flex;
    justify-content: center;
    width: 100%;
    border-bottom: 1px solid #eee; /* İsteğe bağlı ince çizgi */
  }

  .catnav__scroll {
    overflow-x: auto;
    overflow-y: visible;   /* ✅ IMPORTANT */
    position: relative;    /* ✅ helps absolute children */
  }

  /* Linkleri tutan div'i zorla ortala */
  .catnav__scroll.nav-list {
    display: flex !important;
    justify-content: center !important; /* YATAYDA TAM ORTALA */
    align-items: center !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 10px 0 !important; /* Üstten alttan biraz boşluk */
    gap: 25px !important; /* Linkler arasındaki boşluk (Simetri için önemli) */
    overflow-x: visible !important; /* Kaydırmayı kapat, hepsini göster */
  }

  /* Linklerin görünümü */
  .catnav__scroll.nav-list a {
    text-align: center;
    flex: 0 0 auto; /* Genişleyip daralmasın, olduğu gibi kalsın */
    font-size: 1rem;
    font-weight: 600;
    color: #333; /* Yazı rengi */
    text-decoration: none;
  }
}













  /* Sadece Empty Cart için gerekli CSS */
  .empty-cart-container {
    text-align: center;
    padding: 100px 20px;
    max-width: 600px;
    margin: 0 auto;
  }
  .empty-cart-container h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #222;
  }
  .empty-cart-container p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
  }
  .btn-empty-shop {
    display: inline-block;
    background-color: #000;
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px; /* Yuvarlak buton */
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
  }
  .btn-empty-shop:hover {
    background-color: #333;
    color: #fff;
  }





  .category-hub { max-width: 1100px; margin: 40px auto; padding: 0 18px; }
  .hub-title { font-size: 42px; margin: 10px 0 26px; }
  .hub-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
  }
  @media (max-width: 1100px) { .hub-grid { grid-template-columns: repeat(3, 1fr); } }
  @media (max-width: 700px) { .hub-grid { grid-template-columns: repeat(2, 1fr); } }
  
  .hub-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);
    padding: 18px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: transform .12s ease;
  }
  .hub-card:hover { transform: translateY(-2px); }
  .hub-card__img {
    width: 140px; height: 140px;
    border-radius: 18px;
    background: #f6f7fb;
    display: grid;
    place-items: center;
    font-size: 40px;
  }
  .hub-card__title { font-weight: 700; text-align: center; }
  









  .nav-dropdown { position: relative; display: inline-block; }
.nav-dropdown .nav-link { display: inline-block; }

.nav-dropdown-menu {
  position: absolute;
  top: 38px;
  left: 0;
  min-width: 260px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.12);
  padding: 10px;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: all .12s ease;
  z-index: 999;
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover { background: #f3f4f6; }

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}



.nav-dropdown { position: relative; display: inline-block; }

.nav-parent-link { display: inline-block; }

.nav-dropdown-menu {
  position: absolute;
  top: 36px;
  left: 0;
  min-width: 260px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.12);
  padding: 10px;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: all .12s ease;
  z-index: 999;
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover { background: #f3f4f6; }

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}



.nav-dropdown-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}






.catnav { position: relative; z-index: 2000; }

.catnav__scroll {
  overflow-x: auto;
  overflow-y: visible;   /* critical so dropdown can extend downward */
  position: relative;
}

.nav-dropdown { position: relative; display: inline-block; }

.nav-dropdown-menu { z-index: 99999; }







/* --- BALLOONS DROPDOWN: FINAL OVERRIDES --- */

/* Ensure the nav area is above other sections */
.catnav { position: relative; z-index: 5000; }

/* IMPORTANT: allow dropdown to extend outside the scroll container */
.catnav__scroll { overflow-y: visible !important; }

/* Dropdown container */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 260px;

  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.12);
  padding: 10px;

  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: all .12s ease;

  z-index: 99999;
}

/* Desktop hover support */
@media (hover: hover) and (pointer: fine) {
  .nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

.nav-dropdown-menu {
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: all .12s ease;
}



/* Mobile + click support (your JS toggles .open) */
.nav-dropdown-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}


/* ===== NAV DROPDOWN FIX (DESKTOP + MOBILE) ===== */

/* Let dropdown extend outside the nav area (desktop) */
.catnav { position: relative; z-index: 2000; }

.catnav__scroll {
  position: relative;
  overflow: visible !important;   /* KEY FIX: stop clipping dropdown */
}

/* Keep dropdown above hero/banner etc */
.nav-dropdown { position: relative; }
.nav-dropdown-menu { z-index: 99999; }

/* On small screens you can re-enable horizontal scroll */
@media (max-width: 768px) {
  .catnav__scroll {
    overflow-x: auto !important;
    overflow-y: visible !important;
  }
}








/* Desktop: 4 columns */
.product-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

/* Responsive */
@media (max-width: 1100px){
  .product-grid{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 800px){
  .product-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px){
  .product-grid{ grid-template-columns: 1fr; }
}



/* Holidays dropdown mega menu */
.nav-dropdown-menu.holidays-menu{
  min-width: 520px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 14px;
}

.nav-dropdown-menu.holidays-menu a{
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 600;
}











/* =========================
   MOBILE MENU (PartyCity-ish)
   ========================= */

   .mobile-menu-btn { display:none; }

   /* Drawer hidden by default */
   .mobile-menu-overlay{
     position:fixed;
     inset:0;
     background:rgba(0,0,0,0.35);
     opacity:0;
     pointer-events:none;
     transition:opacity .2s ease;
     z-index:9998;
   }
   
   .mobile-drawer{
     position:fixed;
     top:0;
     left:0;
     height:100vh;
     width:86%;
     max-width:360px;
     background:#fff;
     transform:translateX(-102%);
     transition:transform .22s ease;
     z-index:9999;
     display:flex;
     flex-direction:column;
     box-shadow: 10px 0 30px rgba(0,0,0,0.15);
   }
   
   .mobile-drawer.open{ transform:translateX(0); }
   .mobile-menu-overlay.open{ opacity:1; pointer-events:auto; }
   
   .mobile-drawer-header{
     display:flex;
     align-items:center;
     gap:12px;
     padding:14px 14px;
     border-bottom:1px solid #eee;
   }
   
   .mobile-drawer-close{
     width:38px;
     height:38px;
     border-radius:10px;
     border:1px solid #e5e7eb;
     background:#fff;
     cursor:pointer;
     font-size:18px;
   }
   
   .mobile-drawer-title{
     font-weight:800;
     font-size:16px;
   }
   
   .mobile-drawer-panel{
     padding:10px 0;
     overflow:auto;
   }
   
   .mobile-drawer-panel.hidden{ display:none; }
   
   .mobile-menu-item{
     width:100%;
     display:flex;
     align-items:center;
     justify-content:space-between;
     padding:16px 16px;
     border:0;
     background:#fff;
     text-align:left;
     font-weight:700;
     font-size:15px;
     cursor:pointer;
     border-bottom:1px solid #f0f0f0;
   }
   
   .mobile-menu-item.link{
     text-decoration:none;
     color:#111;
   }
   
   .mobile-menu-item.has-children::after{
     content:"›";
     font-size:18px;
     color:#999;
   }
   
   .mobile-back{
     width:100%;
     padding:14px 16px;
     border:0;
     background:#f8fafc;
     text-align:left;
     font-weight:800;
     cursor:pointer;
     border-bottom:1px solid #eee;
   }
   
   /* Hide desktop category navbar on mobile, show hamburger */
   @media (max-width: 768px){
     .catnav{ display:none; }              /* desktop category bar hidden */
     .mobile-menu-btn{ display:inline-flex; }
   }
   


   /* HOME: tighten spacing between HERO and Featured Categories */
.hero {
  padding-bottom: 20px !important;
  margin-bottom: 10px !important;
}

.hero-banner {
  margin-bottom: 10px !important;
}

/* Featured Categories block spacing */
.featured-products {
  margin-top: 0 !important;
  padding-top: 10px !important;
}

.featured-title {
  margin-top: 0 !important;
  margin-bottom: 24px !important;
}















/* ================================
   FIX: User dropdown email (DESKTOP only)
   + Mobile drawer z-index protection
   ================================ */

/* 1) DESKTOP: email dropdown üstte görünsün */
@media (min-width: 769px) {
  .masthead,
  .masthead__inner{
    position: relative;
    z-index: 5000;               /* yeterli ama aşırı değil */
    overflow: visible !important;
  }

  .catnav{
    position: relative;
    z-index: 4000;
  }

  .user-dropdown{
    position: relative;
    z-index: 6000;
  }

  .user-menu{
    top: calc(100% + 14px) !important;
    right: 0;
    z-index: 7000 !important;
  }

  .user-email{
    display: block !important;
    color: #111 !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    padding: 10px 10px 8px !important;
  }

  .user-menu hr{
    margin: 6px 0 8px !important;
  }
}

/* 2) MOBILE: drawer HER ZAMAN header'ın üstünde kalsın */
@media (max-width: 768px) {
  .masthead,
  .masthead__inner{
    z-index: 2 !important;       /* header’ı normale çek */
  }

  .mobile-menu-overlay{
    z-index: 99998 !important;
  }

  .mobile-drawer{
    z-index: 99999 !important;
  }
}











/* =========================================
   MOBILE PRODUCT LISTING (PartyCity-like)
   Desktop'a dokunmaz — sadece mobilde çalışır
   ========================================= */
   @media (max-width: 768px) {

    /* 1) Liste konteynerini 2 kolon yap (hangi sınıf kullanılırsa kullanılsın) */
    .products-grid,
    .product-grid,
    .grid-products,
    .grid.grid-products {
      display: grid !important;
      grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
      gap: 14px !important;
      padding: 12px !important;
      width: 100% !important;
    }
  
    /* 2) Kartların yapısı: dikey, temiz */
    .product,
    .product-card {
      display: flex !important;
      flex-direction: column !important;
      align-items: stretch !important;
      justify-content: flex-start !important;
  
      width: 100% !important;
      margin: 0 !important;
  
      background: #fff !important;
      border: 1px solid #eee !important;
      border-radius: 14px !important;
      overflow: hidden !important;
      box-shadow: 0 6px 16px rgba(0,0,0,0.06) !important;
  
      text-align: left !important; /* PartyCity gibi daha “ürün” hissi */
    }
  
    /* 3) Görsel alanı: sabit oran, taşma yok */
    .product-img-wrap,
    .p-thumb,
    .thumb {
      width: 100% !important;
      aspect-ratio: 1 / 1 !important;     /* kare görünüm */
      height: auto !important;
  
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
  
      background: #fff !important;
      padding: 10px !important;
      overflow: hidden !important;
    }
  
    .product-img-wrap img,
    .product img,
    .product-card img {
      width: 100% !important;
      height: 100% !important;
      object-fit: contain !important;      /* kesme yok */
      display: block !important;
      margin: 0 !important;
    }
  
    /* 4) Metin alanı */
    .product-info,
    .card-body,
    .p-info {
      padding: 10px 12px !important;
      display: flex !important;
      flex-direction: column !important;
      gap: 6px !important;
    }
  
    /* Ürün adı */
    .product-name,
    .p-title,
    .product-card h3,
    .product h3 {
      font-size: 0.95rem !important;
      font-weight: 700 !important;
      line-height: 1.2 !important;
      margin: 0 !important;
  
      display: -webkit-box !important;
      -webkit-line-clamp: 2 !important;   /* 2 satırda kes */
      -webkit-box-orient: vertical !important;
      overflow: hidden !important;
    }
  
    /* Fiyat */
    .product-price,
    .p-price,
    .product-card p,
    .product p {
      margin: 0 !important;
      font-size: 0.95rem !important;
      font-weight: 800 !important;
      color: #111 !important;
    }
  
    /* 5) Add butonu: kartın altında, tam genişlik */
    .product .btn,
    .product-card .btn,
    .product a.btn,
    .product-card a.btn,
    .product button,
    .product-card button {
      margin-top: auto !important;
    }
  
    .product .btn,
    .product-card .btn {
      width: calc(100% - 24px) !important;
      margin: 10px 12px 12px !important;
  
      display: inline-flex !important;
      justify-content: center !important;
      align-items: center !important;
  
      padding: 10px 0 !important;
      border-radius: 10px !important;
      font-size: 0.95rem !important;
      font-weight: 800 !important;
    }
  }

  






  /* Mobile: product name + price center align */
@media (max-width: 768px) {

  /* Kart içindeki metin alanını ortala */
  .product-info,
  .card-body,
  .p-info {
    text-align: center !important;
    align-items: center !important; /* flex column ise içeriği ortalar */
  }

  /* İsim */
  .product-name,
  .p-title,
  .product-card h3,
  .product h3,
  .product-card a,
  .product a {
    text-align: center !important;
  }

  /* Fiyat */
  .product-price,
  .p-price,
  .product-card p,
  .product p {
    text-align: center !important;
  }
}






/* Mobile: force center price text */
@media (max-width: 768px) {

  /* fiyatın bulunduğu tüm olası etiketleri ortala */
  .product-price,
  .price,
  .p-price,
  .product-card .price,
  .product-card span,
  .product-card p,
  .product-card strong {
    text-align: center !important;
    width: 100%;
    display: block;
  }

}
