:root {
  --dark-green: #103f31;
  --green: #1a5441;
  --light-green: #547867;
  --cream: #fbf8ef;
  --beige: #eee7d7;
  --gold: #c2a163;
  --text: #17392f;
  --grey: #73736e;
  --white: #ffffff;
  --shadow: 0 14px 38px rgba(20, 45, 36, 0.1);
}


/* Alapbeállítások */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;

  background-color: #f8f6ed;
  color: var(--text);
  font-family: "Poppins", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;

  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.32),
      rgba(255, 255, 255, 0.32)
    ),
    url("images/hatter-tyukok.png");

  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}
body.cart-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: none;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}


/* Mini tyúkos és tojásos háttér */

.pattern-layer {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 10% 10%,
      rgba(194, 161, 99, 0.09),
      transparent 27%
    ),
    radial-gradient(
      circle at 90% 70%,
      rgba(16, 63, 49, 0.05),
      transparent 30%
    ),
    var(--cream);
}

.pattern-symbol {
  position: absolute;
  color: rgba(172, 138, 74, 0.18);
  line-height: 1;
  user-select: none;
  filter: grayscale(1);
}


/* Felső sáv */

.top-bar {
  background: var(--dark-green);
  color: var(--white);
}

.top-bar-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 46px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  font-size: 12px;
}

.top-contact {
  display: flex;
  align-items: center;
  gap: 28px;
}

.top-contact a {
  display: flex;
  align-items: center;
  gap: 9px;
}

.top-bar-inner > p {
  font-family: "Cormorant Garamond", serif;
  font-size: 17px;
  font-style: italic;
}


/* Fejléc */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(194, 161, 99, 0.16);
  background: rgba(251, 248, 239, 0.95);
  backdrop-filter: blur(12px);
}

.header-inner {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  min-height: 94px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}

.logo img {
  width: 230px;
  max-height: 75px;
  object-fit: contain;
  object-position: left center;
}

.navigation {
  display: flex;
  align-items: center;
  gap: 27px;
  font-size: 13px;
  font-weight: 500;
}

.navigation > a {
  position: relative;
  padding: 10px 0;
}

.navigation > a:not(.contact-link)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 4px;
  height: 1px;
  background: var(--gold);
  transition: right 0.25s ease;
}

.navigation > a:not(.contact-link):hover::after {
  right: 0;
}

.contact-link {
  padding: 13px 18px !important;
  border-radius: 4px;
  background: var(--dark-green);
  color: var(--white);
}

.cart-button {
  min-height: 43px;
  padding: 0 14px;
  border-radius: 4px;
  background: var(--dark-green);
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
}

.cart-count {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--white);
  color: var(--dark-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 4px;
  background: var(--dark-green);
  color: var(--white);
  cursor: pointer;
}


/* Nyitó szakasz */

.hero {
  position: relative;
  overflow: hidden;
  min-height: 590px;
  padding: 65px 0 85px;
}

.hero::after{
    display:none;
}

.hero-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 70px;
}

.small-title {
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 3.5px;
  font-size: 10px;
  font-weight: 600;
}

.small-title.light {
  color: #d8c89f;
}

.hero h1 {
  margin-top: 15px;
  color: var(--dark-green);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(58px, 6.2vw, 88px);
  font-weight: 600;
  line-height: 0.87;
  letter-spacing: -2px;
}

.title-decoration {
  margin: 27px 0;
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--green);
}

.title-decoration.centered {
  justify-content: center;
  margin: 18px 0;
}

.title-decoration span {
  width: 66px;
  height: 1px;
  background: var(--gold);
}

.title-decoration i {
  transform: rotate(-17deg);
}

.hero-description {
  max-width: 560px;
  margin-bottom: 28px;
  font-size: 14px;
  line-height: 1.9;
}

.main-button {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 16px 22px;
  border-radius: 4px;
  background: var(--dark-green);
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 8px 22px rgba(16, 63, 49, 0.16);
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.main-button:hover {
  transform: translateY(-2px);
  background: var(--green);
}

.hero-image-area {
  display: flex;
  justify-content: center;
}

.chicken-circle {
  position: relative;
  width: min(435px, 38vw);
  aspect-ratio: 1;
  overflow: hidden;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: rgba(255, 253, 247, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 80px rgba(194, 161, 99, 0.07);
}

.chicken-circle::before {
  content: "";
  position: absolute;
  inset: 15px;
  border: 1px solid rgba(194, 161, 99, 0.16);
  border-radius: 50%;
}

.chicken-circle img {
  width: 82%;
  height: 82%;
  object-fit: contain;
  mix-blend-mode: multiply;
}


/* Címek */

.section-heading {
  margin-bottom: 40px;
  text-align: center;
}

.section-heading h2,
.about-text h2,
.contact-heading h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
}

.section-heading h2 {
  margin-top: 7px;
  color: var(--dark-green);
  font-size: clamp(40px, 4vw, 55px);
}

.section-description {
  color: var(--grey);
  font-size: 13px;
}


/* Termékkategóriák */

.products-section {
  padding: 75px 0 70px;
}

.category-grid {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.category-card {
  overflow: hidden;
  border: 1px solid rgba(194, 161, 99, 0.18);
  border-radius: 10px;
  background: rgba(255, 253, 248, 0.95);
  box-shadow: var(--shadow);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 19px 42px rgba(20, 45, 36, 0.15);
}

.category-image {
  height: 225px;
  overflow: hidden;
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.category-card:hover .category-image img {
  transform: scale(1.04);
}

.category-content {
  padding: 23px;
}

.product-label {
  margin-bottom: 7px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 9px;
  font-weight: 600;
}

.category-content h3,
.product-info h3 {
  color: var(--dark-green);
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
}

.category-content h3 {
  margin-bottom: 8px;
  font-size: 29px;
}

.category-content > p:not(.product-label) {
  min-height: 63px;
  color: var(--grey);
  font-size: 12px;
  line-height: 1.7;
}

.view-button {
  width: 100%;
  min-height: 44px;
  margin-top: 18px;
  padding: 0 18px;
  border-radius: 4px;
  background: var(--dark-green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.view-button i {
  transition: transform 0.25s ease;
}

.view-button.active i {
  transform: rotate(180deg);
}


/* Megnyitott termékek */

.product-list {
  width: min(900px, calc(100% - 40px));
  max-height: 0;
  margin: 0 auto;
  overflow: hidden;
  opacity: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  transition:
    max-height 0.55s ease,
    opacity 0.3s ease,
    margin 0.4s ease;
}

.product-list.open {
  max-height: 1200px;
  margin-top: 35px;
  margin-bottom: 25px;
  opacity: 1;
}

.product-card {
  overflow: hidden;
  border: 1px solid rgba(194, 161, 99, 0.18);
  border-radius: 9px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.product-image {
  height: 220px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  padding: 23px;
}

.product-info h3 {
  margin-bottom: 6px;
  font-size: 28px;
}

.product-size {
  min-height: 39px;
  color: var(--grey);
  font-size: 12px;
  line-height: 1.6;
}

.product-price {
  margin: 17px 0;
  padding-top: 14px;
  border-top: 1px solid rgba(194, 161, 99, 0.4);
  font-size: 17px;
  font-weight: 600;
}

.product-actions {
  display: grid;
  grid-template-columns: 125px 1fr;
  gap: 10px;
}

.quantity-selector {
  overflow: hidden;
  border: 1px solid rgba(16, 63, 49, 0.17);
  border-radius: 4px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.quantity-selector button {
  width: 39px;
  height: 43px;
  background: transparent;
  color: var(--dark-green);
  cursor: pointer;
  font-size: 19px;
}

.quantity-selector button:hover {
  background: rgba(16, 63, 49, 0.07);
}

.quantity-number {
  font-size: 13px;
  font-weight: 600;
}

.add-cart-button {
  min-height: 43px;
  border-radius: 4px;
  background: var(--dark-green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
}

.add-cart-button:hover {
  background: var(--green);
}


/* Kiszállítás */

.delivery-section {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto 80px;
  overflow: hidden;
  border: 1px solid rgba(194, 161, 99, 0.18);
  border-radius: 13px;
  background: rgba(237, 231, 215, 0.88);
  box-shadow: var(--shadow);
}

.delivery-toggle {
  width: 100%;
  min-height: 108px;
  padding: 20px 40px;
  background: transparent;
  color: var(--dark-green);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  cursor: pointer;
}

.delivery-title {
  display: flex;
  align-items: center;
  gap: 23px;
  font-family: "Cormorant Garamond", serif;
  font-size: 34px;
  font-weight: 600;
}

.delivery-icon {
  width: 70px;
  height: 70px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--dark-green);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
}

.delivery-more {
  padding: 13px 19px;
  border-radius: 4px;
  background: var(--dark-green);
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}

.delivery-more i {
  transition: transform 0.25s ease;
}

.delivery-toggle.active .delivery-more i {
  transform: rotate(180deg);
}

.delivery-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.5s ease,
    opacity 0.3s ease;
}

.delivery-content.open {
  max-height: 700px;
  opacity: 1;
}

.delivery-grid {
  padding: 5px 35px 35px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.delivery-card {
  min-height: 135px;
  padding: 20px;
  border: 1px solid rgba(194, 161, 99, 0.16);
  border-radius: 6px;
  background: rgba(255, 253, 248, 0.94);
}

.delivery-day {
  margin-bottom: 10px;
  color: var(--dark-green);
  font-family: "Cormorant Garamond", serif;
  font-size: 24px !important;
  font-weight: 600;
}

.delivery-card p:last-child {
  color: var(--grey);
  font-size: 11px;
  line-height: 1.7;
}


/* Rólunk */

.about-section {
  padding: 25px 0 90px;
}

.about-inner {
  width: min(1020px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.3fr;
  align-items: center;
  gap: 70px;
}

.about-text {
  padding-right: 50px;
  border-right: 1px solid rgba(194, 161, 99, 0.5);
}

.about-text h2 {
  margin: 8px 0 18px;
  color: var(--dark-green);
  font-size: 44px;
  line-height: 0.98;
}

.about-text > p:last-child {
  font-size: 12px;
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 27px;
}

.feature {
  text-align: center;
}

.feature-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 15px;
  border-radius: 50%;
  background: var(--beige);
  color: var(--dark-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
}

.feature h3 {
  margin-bottom: 8px;
  font-family: "Cormorant Garamond", serif;
  font-size: 21px;
}

.feature p {
  color: var(--grey);
  font-size: 11px;
  line-height: 1.6;
}


/* Kapcsolat */

.contact-section {
  padding: 75px 0;
  background: var(--dark-green);
  color: var(--white);
}

.contact-inner {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 70px;
}

.contact-heading h2 {
  margin: 7px 0 12px;
  font-size: 52px;
}

.contact-heading > p:last-child {
  max-width: 360px;
  font-size: 12px;
  line-height: 1.8;
  opacity: 0.78;
}

.contact-cards {
  display: grid;
  gap: 12px;
}

.contact-card {
  padding: 17px 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  gap: 17px;
}

.contact-card:hover {
  background: rgba(255, 255, 255, 0.11);
}

.contact-card > i {
  width: 34px;
  color: #d8c89f;
  text-align: center;
  font-size: 21px;
}

.contact-card span {
  display: block;
  margin-bottom: 2px;
  font-size: 9px;
  opacity: 0.62;
}

.contact-card strong {
  font-size: 13px;
  font-weight: 500;
}


/* Lábléc */

.footer {
  padding: 24px 0;
  background: #0b3227;
  color: var(--white);
}

.footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  font-size: 11px;
}

.footer-logo img {
  width: 110px;
  max-height: 52px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}


/* Tablet */

@media (max-width: 1000px) {
  .navigation {
    gap: 16px;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-card:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 13px);
    justify-self: center;
  }

  .delivery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-inner {
    gap: 35px;
  }
}


/* Mobil menü */

@media (max-width: 850px) {
  .top-bar-inner > p {
    display: none;
  }

  .top-bar-inner {
    justify-content: center;
  }

  .menu-button {
    display: block;
  }

  .navigation {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 20px;
    border-radius: 7px;
    background: var(--cream);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 7px;
  }

  .navigation.open {
    display: flex;
  }

  .navigation > a {
    padding: 11px;
  }

  .contact-link {
    text-align: center;
  }

  .cart-button {
    justify-content: center;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-image-area {
    order: -1;
  }

  .chicken-circle {
    width: min(380px, 78vw);
  }

  .title-decoration {
    justify-content: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .about-inner,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .about-text {
    padding-right: 0;
    padding-bottom: 35px;
    border-right: none;
    border-bottom: 1px solid rgba(194, 161, 99, 0.5);
    text-align: center;
  }
}


/* Kisebb mobil */

@media (max-width: 620px) {
  .top-bar-inner,
  .header-inner,
  .hero-inner,
  .category-grid,
  .product-list,
  .delivery-section,
  .about-inner,
  .contact-inner,
  .footer-inner {
    width: min(100% - 26px, 1180px);
  }

  .top-contact span {
    display: none;
  }

  .logo img {
    width: 175px;
  }

  .header-inner {
    min-height: 78px;
  }

  .hero {
    min-height: auto;
    padding: 45px 0 65px;
  }

  .hero h1 {
    font-size: 53px;
  }

  .hero-description {
    font-size: 12px;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .category-card:last-child {
    grid-column: auto;
    width: 100%;
  }

  .category-image {
    height: 250px;
  }

  .product-list {
    grid-template-columns: 1fr;
  }

  .product-actions {
    grid-template-columns: 115px 1fr;
  }

  .delivery-toggle {
    min-height: 92px;
    padding: 16px;
  }

  .delivery-title {
    gap: 13px;
    font-size: 25px;
    text-align: left;
  }

  .delivery-icon {
    width: 56px;
    height: 56px;
    font-size: 20px;
  }

  .delivery-more {
    width: 43px;
    height: 43px;
    padding: 0;
    justify-content: center;
  }

  .delivery-more span {
    display: none;
  }

  .delivery-grid {
    padding: 3px 17px 22px;
    grid-template-columns: 1fr;
  }

  .about-features {
    gap: 10px;
  }

  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 21px;
  }

  .feature h3 {
    font-size: 17px;
  }

  .feature p {
    font-size: 9px;
  }

  .contact-heading {
    text-align: center;
  }

  .contact-heading > p:last-child {
    margin: 0 auto;
  }

  .contact-card strong {
    font-size: 11px;
    overflow-wrap: anywhere;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
.pattern-layer {
  display: none;
}
.footer {
    background: #0d3f32;
    color: #ffffff;
    padding: 45px 20px 25px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo img {
    width: 90px;
    margin: 0 auto 20px;
}

.footer-line {
    width: 90px;
    height: 2px;
    background: #c7a25a;
    margin: 0 auto 25px;
}

.footer-message h3 {
    font-family: "Cormorant Garamond", serif;
    font-size: 34px;
    color: #ffffff;
    margin-bottom: 15px;
}

.footer-message p {
    max-width: 620px;
    margin: 0 auto;
    color: rgba(255,255,255,.85);
    line-height: 1.8;
    font-size: 15px;
}

.footer-message span {
    display: block;
    margin-top: 25px;
    letter-spacing: 4px;
    color: #d7bc82;
    font-weight: 600;
    font-size: 13px;
}

.footer-copy {
    margin-top: 35px;
    color: rgba(255,255,255,.65);
    font-size: 13px;
}
/* KISZÁLLÍTÁSI BLOKK FELDOBÁSA */

.delivery-section {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(194, 161, 99, 0.22);
  border-radius: 18px;
  background:
    linear-gradient(
      135deg,
      rgba(246, 242, 230, 0.96),
      rgba(231, 238, 217, 0.92)
    );
  box-shadow: 0 18px 45px rgba(16, 63, 49, 0.09);
}

.delivery-section::before {
  content: "🐔  🥚  🐔  🥚";
  position: absolute;
  right: 35px;
  bottom: 14px;
  color: rgba(16, 63, 49, 0.05);
  font-size: 46px;
  letter-spacing: 18px;
  pointer-events: none;
}

.delivery-toggle {
  position: relative;
  z-index: 2;
  padding: 26px 34px;
  border-bottom: 1px solid rgba(194, 161, 99, 0.18);
}

.delivery-title {
  color: var(--dark-green);
}

.delivery-icon {
  box-shadow: 0 10px 22px rgba(16, 63, 49, 0.18);
}

.delivery-grid {
  position: relative;
  z-index: 2;
  gap: 18px;
  padding: 28px 32px 34px;
}

.delivery-card {
  position: relative;
  min-height: 165px;
  padding: 26px 22px 22px;
  border: 1px solid rgba(16, 63, 49, 0.10);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(4px);
  box-shadow: 0 8px 22px rgba(16, 63, 49, 0.06);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.delivery-card::before {
  content: "\f3c5";
  position: absolute;
  top: 22px;
  right: 20px;
  color: rgba(16, 63, 49, 0.22);
  font-family: "Font Awesome 6 Free";
  font-size: 19px;
  font-weight: 900;
}

.delivery-card::after {
  content: "";
  display: block;
  width: 52px;
  height: 2px;
  margin-top: 17px;
  background: linear-gradient(
    90deg,
    var(--gold),
    transparent
  );
}

.delivery-card:hover {
  transform: translateY(-5px);
  border-color: rgba(194, 161, 99, 0.42);
  box-shadow: 0 14px 30px rgba(16, 63, 49, 0.12);
}

.delivery-day {
  margin-bottom: 12px;
  color: var(--dark-green);
  font-size: 30px !important;
}

.delivery-card p:last-child {
  padding-right: 25px;
  color: #53665f;
  font-size: 12px;
  line-height: 1.75;
}

.delivery-more {
  box-shadow: 0 8px 18px rgba(16, 63, 49, 0.16);
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.delivery-more:hover {
  transform: translateY(-2px);
  background: var(--green);
}
.footer-logo{
    display: none;
}
.delivery-free{
    margin-top:12px;
    margin-left:92px; /* az ikon után kezdődik */
    color:#2b7a4b;
    font-size:15px;
    font-weight:600;
    display:flex;
    align-items:center;
    gap:8px;
}

.delivery-free i{
    color:#3ea95d;
}
.pasta-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  margin-top: 25px;
}

.product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #ffffff;
  border: 1px solid #e4dfd2;
  border-radius: 18px;
  padding: 18px;
  text-align: center;
  box-shadow: 0 8px 22px rgba(45, 65, 48, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(45, 65, 48, 0.14);
}

.product-card img{
    width:180px;
    height:180px;
    object-fit:contain;
    margin:0 auto 18px;
}

.product-card h3 {
  margin: 5px 0 8px;
  color: #24452d;
  font-size: 22px;
}

.product-weight {
  margin: 0 0 5px;
  color: #6b6b63;
  font-size: 15px;
}

.product-price {
  margin: 4px 0 16px;
  color: #24452d;
  font-size: 21px;
  font-weight: 700;
}

.add-to-cart{
    width:100%;
    padding:14px;
    margin-top:auto;
    background:#2d5b3b;
    color:#fff;
    border:none;
    border-radius:30px;
    cursor:pointer;
    font-weight:600;
    transition:.3s;
}

.add-to-cart:hover {
  background: #203f29;
  transform: scale(1.02);
}

@media (max-width: 900px) {
  .pasta-products{
    display:grid;
    grid-template-columns:repeat(3, minmax(320px,1fr));
    gap:28px;
    width:100%;
    max-width:1200px;
    margin:30px auto;
}

@media (max-width: 560px) {
  .pasta-products {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .product-card{
    width:100%;
    min-height:470px;
    padding:22px;
    border-radius:18px;
}
}
@media (max-width:900px){

.pasta-products{
    grid-template-columns:repeat(2,1fr);
}

}

@media (max-width:600px){

.pasta-products{
    grid-template-columns:1fr;
}

}
/* =========================================
   TÉSZTATERMÉKEK – SZÉLES, 3 × 2 ELRENDEZÉS
========================================= */

#pastaProducts.product-list {
  width: min(1180px, calc(100% - 40px));
  max-width: 1180px;
  max-height: 0;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  opacity: 0;

  /* Fontos: ne a product-list 2 oszlopos gridje legyen */
  display: block;
  grid-template-columns: none;

  transition:
    max-height 0.55s ease,
    opacity 0.3s ease,
    margin 0.4s ease,
    padding 0.4s ease;
}

#pastaProducts.product-list.open {
  max-height: 2000px;
  margin-top: 35px;
  margin-bottom: 35px;
  padding: 26px;
  opacity: 1;
  overflow: visible;

  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(194, 161, 99, 0.2);
  border-radius: 18px;
  box-shadow: 0 14px 38px rgba(20, 45, 36, 0.1);
}

#pastaProducts .pasta-products {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

#pastaProducts .pasta-card {
  width: 100%;
  min-width: 0;
  min-height: 430px;
  margin: 0;
  padding: 22px;

  display: flex;
  flex-direction: column;
  align-items: center;

  background: #ffffff;
  border: 1px solid rgba(194, 161, 99, 0.28);
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 8px 22px rgba(45, 65, 48, 0.08);
}

#pastaProducts .pasta-card img {
  width: 100%;
  max-width: 220px;
  height: 220px;
  margin: 0 auto 18px;
  object-fit: contain;
}

#pastaProducts .pasta-card h3 {
  min-height: 56px;
  margin: 0 0 8px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #103f31;
  font-family: "Cormorant Garamond", serif;
  font-size: 26px;
  line-height: 1.05;
}

#pastaProducts .product-weight {
  margin: 0 0 7px;
  color: #73736e;
  font-size: 13px;
}

#pastaProducts .product-price {
  width: 100%;
  margin: 7px 0 18px;
  padding-top: 12px;

  border-top: 1px solid rgba(194, 161, 99, 0.35);
  color: #103f31;
  font-size: 19px;
  font-weight: 600;
}

#pastaProducts .add-cart-button {
  width: 100%;
  min-height: 45px;
  margin-top: auto;
  padding: 10px 16px;

  border-radius: 999px;
  background: #103f31;
  color: #ffffff;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  cursor: pointer;
}

#pastaProducts .add-cart-button:hover {
  background: #1a5441;
}


/* Tablet */

@media (max-width: 900px) {
  #pastaProducts .pasta-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* Mobil */

@media (max-width: 600px) {
  #pastaProducts.product-list {
    width: calc(100% - 26px);
  }

  #pastaProducts.product-list.open {
    padding: 14px;
  }

  #pastaProducts .pasta-products {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  #pastaProducts .pasta-card {
    min-height: 400px;
  }
}
#pastaProducts {
  width: min(1180px, calc(100% - 40px));
  display: block;
}

#pastaProducts .pasta-products {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
/* KOSÁR – FIZETÉSI MÓD ÉS KISZÁLLÍTÁSI HELYSZÍN */

.checkout-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 22px;
}

.checkout-field {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.checkout-title {
  margin: 0;
  color: #173f32;
  font-size: 14px;
  font-weight: 600;
}

.payment-option {
  display: block;
  cursor: pointer;
}

.payment-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.payment-option span {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;

  display: flex;
  align-items: center;
  gap: 10px;

  color: #173f32;
  background: #ffffff;
  border: 1px solid rgba(23, 63, 50, 0.2);
  border-radius: 10px;

  font-size: 13px;
  line-height: 1.3;

  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.payment-option span i {
  width: 21px;
  color: #a47b36;
  font-size: 17px;
  text-align: center;
}

.payment-option input:checked + span {
  color: #ffffff;
  background: #173f32;
  border-color: #173f32;
  box-shadow: 0 7px 18px rgba(23, 63, 50, 0.16);
}

.payment-option input:checked + span i {
  color: #e7c989;
}

.delivery-address {
  width: 100%;
  min-height: 82px;
  padding: 12px 13px;

  color: #173f32;
  background: #ffffff;
  border: 1px solid rgba(23, 63, 50, 0.2);
  border-radius: 10px;
  outline: none;

  font-family: "Poppins", sans-serif;
  font-size: 13px;
  line-height: 1.5;

  resize: vertical;
}

.delivery-address::placeholder {
  color: #92958f;
}

.delivery-address:focus {
  border-color: #a47b36;
  box-shadow: 0 0 0 3px rgba(164, 123, 54, 0.12);
}
/* ==================================
   MODERN KOSÁR
================================== */

:root {
  --cart-green: #123f32;
  --cart-green-dark: #0d3026;
  --cart-text: #17251f;
  --cart-muted: #777d79;
  --cart-border: #e6e0d8;
  --cart-background: #fffdf9;
  --cart-soft: #faf8f4;
}

/* Háttér elsötétítése */

.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;

  background: rgba(12, 24, 19, 0.58);

  opacity: 0;
  visibility: hidden;

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Kosár oldalsáv */

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 9999;

  width: min(570px, 100%);
  height: 100vh;

  padding: 42px 38px 32px;

  background: var(--cart-background);

  overflow-y: auto;

  transform: translateX(100%);

  transition: transform 0.35s ease;

  box-shadow:
    -12px 0 40px rgba(0, 0, 0, 0.16);
}

.cart-panel.active {
  transform: translateX(0);
}

/* Fejléc */

.cart-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.cart-eyebrow {
  margin: 0 0 8px;

  color: var(--cart-green);

  font-size: 13px;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
}

.cart-header h2 {
  margin: 0;

  color: var(--cart-green);

  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(50px, 7vw, 70px);
  font-weight: 600;
  line-height: 0.95;
}

.cart-close {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 58px;
  height: 58px;

  border: 0;
  border-radius: 50%;

  background: var(--cart-green);
  color: #ffffff;

  font-size: 34px;
  font-weight: 300;
  line-height: 1;

  cursor: pointer;

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.cart-close:hover {
  background: var(--cart-green-dark);
  transform: rotate(5deg);
}

.cart-divider {
  width: 100%;
  height: 1px;

  margin: 38px 0 30px;

  background: var(--cart-border);
}

/* Termékek */

.cart-items {
  display: grid;
  gap: 18px;
}

.cart-item {
  position: relative;

  display: grid;
  grid-template-columns: 112px 1fr 40px;
  align-items: center;
  gap: 20px;

  padding: 20px;

  border: 1px solid var(--cart-border);
  border-radius: 17px;

  background: #ffffff;

  box-shadow:
    0 5px 20px rgba(24, 52, 42, 0.04);
}

.cart-item-image {
  width: 112px;
  height: 112px;

  overflow: hidden;

  border-radius: 13px;

  background: #eeeeee;
}

.cart-item-image img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
}

.cart-item-info h3 {
  margin: 0 0 7px;

  color: var(--cart-green);

  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.18;
}

.cart-item-details {
  margin: 0 0 14px;

  color: var(--cart-muted);

  font-size: 16px;
}

.cart-item-price {
  color: var(--cart-green);

  font-size: 23px;
  font-weight: 700;
}

.cart-delete {
  width: 40px;
  height: 40px;

  border: 0;
  border-radius: 50%;

  background: transparent;

  font-size: 19px;

  cursor: pointer;

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.cart-delete:hover {
  background: #f4eeee;
  transform: scale(1.08);
}

/* Szakaszok */

.cart-section {
  margin-bottom: 28px;
}

.cart-section-title {
  display: block;

  margin: 0 0 16px;

  color: var(--cart-text);

  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Fizetési mód */

.payment-option {
  position: relative;

  display: flex;
  align-items: center;
  gap: 15px;

  min-height: 90px;

  margin-bottom: 12px;
  padding: 17px 20px;

  border: 1px solid var(--cart-border);
  border-radius: 16px;

  background: #ffffff;

  cursor: pointer;

  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.payment-option:hover {
  border-color: #9ab2a8;
}

.payment-option.active {
  border-color: #6f9687;

  background:
    linear-gradient(
      135deg,
      rgba(218, 232, 225, 0.4),
      rgba(255, 255, 255, 0.9)
    );

  box-shadow:
    0 5px 20px rgba(20, 63, 50, 0.06);
}

.payment-option input {
  position: absolute;

  opacity: 0;
  pointer-events: none;
}

.custom-radio {
  position: relative;

  flex: 0 0 auto;

  width: 24px;
  height: 24px;

  border: 2px solid var(--cart-green);
  border-radius: 50%;
}

.payment-option input:checked + .custom-radio::after {
  content: "";

  position: absolute;
  top: 50%;
  left: 50%;

  width: 12px;
  height: 12px;

  border-radius: 50%;

  background: var(--cart-green);

  transform: translate(-50%, -50%);
}

.payment-icon {
  flex: 0 0 auto;

  font-size: 29px;
}

.payment-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.payment-text strong {
  color: var(--cart-text);

  font-size: 18px;
  font-weight: 600;
}

.payment-text small {
  color: var(--cart-muted);

  font-size: 15px;
}

/* Cím mező */

.address-field {
  display: flex;
  align-items: flex-start;
  gap: 14px;

  padding: 20px;

  border: 1px solid var(--cart-border);
  border-radius: 16px;

  background: #ffffff;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.address-field:focus-within {
  border-color: #7d9f91;

  box-shadow:
    0 0 0 3px rgba(18, 63, 50, 0.08);
}

.address-icon {
  margin-top: 5px;

  font-size: 24px;
}

.address-field textarea {
  width: 100%;
  min-height: 86px;

  padding: 0;

  border: 0;
  outline: 0;
  resize: vertical;

  background: transparent;
  color: var(--cart-text);

  font-family: inherit;
  font-size: 16px;
  line-height: 1.5;
}

.address-field textarea::placeholder {
  color: #969b98;
}

/* Összesítés */

.cart-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-top: 30px;
  padding-top: 25px;

  border-top: 1px solid var(--cart-border);
}

.cart-summary span {
  color: var(--cart-text);

  font-size: 17px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.cart-summary strong {
  color: var(--cart-green);

  font-size: 33px;
  font-weight: 700;
}

/* Rendelés gomb */

.order-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;

  width: 100%;

  margin-top: 26px;
  padding: 20px 24px;

  border: 0;
  border-radius: 13px;

  background:
    linear-gradient(
      135deg,
      var(--cart-green),
      #185442
    );

  color: #ffffff;

  font-family: inherit;
  font-size: 20px;
  font-weight: 600;

  cursor: pointer;

  box-shadow:
    0 8px 24px rgba(18, 63, 50, 0.18);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.order-button:hover {
  transform: translateY(-2px);

  box-shadow:
    0 12px 28px rgba(18, 63, 50, 0.24);
}

.order-arrow {
  font-size: 29px;

  transition: transform 0.2s ease;
}

.order-button:hover .order-arrow {
  transform: translateX(5px);
}

.cart-security {
  margin: 24px 0 0;

  color: #8a8f8c;

  font-size: 14px;
  text-align: center;
}

/* Mobil nézet */

@media (max-width: 650px) {

  .cart-panel {
    width: 100%;
    padding: 28px 20px 25px;
  }

  .cart-header h2 {
    font-size: 52px;
  }

  .cart-eyebrow {
    font-size: 11px;
    letter-spacing: 3px;
  }

  .cart-close {
    width: 48px;
    height: 48px;

    font-size: 29px;
  }

  .cart-divider {
    margin: 28px 0 22px;
  }

  .cart-item {
    grid-template-columns: 85px 1fr 34px;

    gap: 13px;

    padding: 14px;
  }

  .cart-item-image {
    width: 85px;
    height: 85px;
  }

  .cart-item-info h3 {
    font-size: 19px;
  }

  .cart-item-details {
    margin-bottom: 8px;

    font-size: 14px;
  }

  .cart-item-price {
    font-size: 20px;
  }

  .payment-option {
    min-height: 82px;

    padding: 14px;
  }

  .payment-icon {
    font-size: 24px;
  }

  .payment-text strong {
    font-size: 16px;
  }

  .payment-text small {
    font-size: 13px;
  }

  .cart-summary strong {
    font-size: 27px;
  }

  .order-button {
    font-size: 18px;
  }

}

@media (max-width: 410px) {

  .cart-item {
    grid-template-columns: 70px 1fr 30px;
  }

  .cart-item-image {
    width: 70px;
    height: 70px;
  }

  .cart-item-info h3 {
    font-size: 17px;
  }

  .cart-item-price {
    font-size: 18px;
  }

}
/* ===== KOSÁR AZONNALI JAVÍTÁS ===== */

#cartPanel,
.cart-panel {
  position: fixed !important;
  top: 0 !important;
  right: -500px !important;
  left: auto !important;

  width: min(430px, 100%) !important;
  height: 100vh !important;

  background: #fffdf7 !important;
  z-index: 99999 !important;

  overflow-y: auto !important;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.2) !important;

  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;

  transition:
    right 0.3s ease,
    opacity 0.3s ease,
    visibility 0.3s ease !important;
}

/* Amikor megnyitjuk a kosarat */

#cartPanel.active,
.cart-panel.active,
#cartPanel.open,
.cart-panel.open {
  right: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* Sötét háttér a kosár mögött */

#cartOverlay,
.cart-overlay {
  position: fixed !important;
  inset: 0 !important;

  background: rgba(0, 0, 0, 0.45) !important;
  z-index: 99998 !important;

  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease !important;
}

#cartOverlay.active,
.cart-overlay.active,
#cartOverlay.open,
.cart-overlay.open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* Ne legyen görgetés nyitott kosárnál */

body.cart-open {
  overflow: hidden !important;
}
/* ===== MEGNÉZEM GOMB – TERMÉKLISTÁK JAVÍTÁSA ===== */

.product-list {
  display: none !important;
  width: min(1180px, calc(100% - 40px));
  margin: 30px auto;
}

.product-list.open {
  display: block !important;
}

/* A nyíl forgatása */

.view-button i {
  transition: transform 0.25s ease;
}

.view-button.active i {
  transform: rotate(180deg);
}
/* Tésztáknál mennyiség és Kosárba gomb */

.pasta-card .product-actions {
  width: 100%;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pasta-card .quantity-selector {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.quantity-selector button,
.cart-item-quantity button {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(18, 63, 50, 0.2);
  border-radius: 50%;
  background: #ffffff;
  color: #123f32;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
}

.quantity-number {
  min-width: 25px;
  text-align: center;
  color: #123f32;
  font-weight: 700;
}

.cart-item-quantity {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}
/* =========================================
   KOSÁR PANEL TELJES KINÉZET JAVÍTÁSA
========================================= */

#cartPanel {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  left: auto !important;

  width: min(430px, 100%) !important;
  height: 100vh !important;

  padding: 28px 24px !important;

  background: #fffdf8 !important;
  color: #173f34 !important;

  z-index: 999999 !important;
  overflow-y: auto !important;

  box-sizing: border-box !important;

  transform: translateX(110%) !important;
  visibility: hidden !important;
  pointer-events: none !important;

  box-shadow: -12px 0 35px rgba(0, 0, 0, 0.22) !important;

  transition: transform 0.3s ease !important;
}

#cartPanel.active {
  transform: translateX(0) !important;
  visibility: visible !important;
  pointer-events: auto !important;
}


/* Kosár fejléc */

#cartPanel .cart-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;

  margin-bottom: 22px !important;
}

#cartPanel .cart-eyebrow,
#cartPanel .small-title {
  margin: 0 0 4px !important;

  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;

  color: #708078 !important;
}

#cartPanel .cart-header h2 {
  margin: 0 !important;

  font-size: 34px !important;
  line-height: 1 !important;

  color: #173f34 !important;
}


/* Bezáró gomb */

#cartClose,
#closeCartButton {
  width: 38px !important;
  height: 38px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  border: none !important;
  border-radius: 50% !important;

  background: #173f34 !important;
  color: white !important;

  font-size: 22px !important;
  cursor: pointer !important;

  flex-shrink: 0 !important;
}


/* Kosár terméklista */

#cartItems {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}


/* Egy termék a kosárban */

#cartItems .cart-item {
  position: relative !important;

  display: grid !important;
  grid-template-columns: 90px 1fr auto !important;
  gap: 14px !important;
  align-items: center !important;

  padding: 14px !important;

  border: 1px solid rgba(23, 63, 52, 0.14) !important;
  border-radius: 18px !important;

  background: #ffffff !important;

  box-shadow: 0 8px 20px rgba(23, 63, 52, 0.07) !important;

  box-sizing: border-box !important;
}


/* Termékkép */

#cartItems .cart-item-image {
  width: 90px !important;
  height: 110px !important;

  overflow: hidden !important;

  border-radius: 13px !important;
  background: #f5f1e8 !important;
}

#cartItems .cart-item-image img {
  width: 100% !important;
  height: 100% !important;

  display: block !important;

  object-fit: contain !important;

  padding: 6px !important;
  box-sizing: border-box !important;
}


/* Termékinformáció */

#cartItems .cart-item-info {
  min-width: 0 !important;
}

#cartItems .cart-item-info h3 {
  margin: 0 0 6px !important;

  font-size: 16px !important;
  line-height: 1.25 !important;

  color: #173f34 !important;
}

#cartItems .cart-item-details {
  margin: 0 0 5px !important;

  font-size: 13px !important;

  color: #6f7d76 !important;
}

#cartItems .cart-item-price {
  display: block !important;

  margin-top: 4px !important;

  font-size: 17px !important;

  color: #173f34 !important;
}


/* Kosáron belüli mennyiség */

#cartItems .cart-item-quantity {
  display: inline-flex !important;
  align-items: center !important;

  margin-top: 10px !important;

  border: 1px solid rgba(23, 63, 52, 0.18) !important;
  border-radius: 999px !important;

  overflow: hidden !important;
}

#cartItems .cart-item-quantity button {
  width: 32px !important;
  height: 32px !important;

  border: none !important;
  background: transparent !important;

  color: #173f34 !important;

  font-size: 18px !important;
  font-weight: 700 !important;

  cursor: pointer !important;
}

#cartItems .cart-item-quantity span {
  min-width: 30px !important;

  text-align: center !important;

  font-size: 13px !important;
  font-weight: 700 !important;
}


/* Törlés gomb */

#cartItems .cart-delete {
  width: 34px !important;
  height: 34px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  border: none !important;
  border-radius: 50% !important;

  background: #f4eee8 !important;
  color: #8b3f31 !important;

  cursor: pointer !important;
}


/* Kosár alsó rész */

#cartPanel .cart-footer {
  margin-top: 24px !important;
  padding-top: 20px !important;

  border-top: 1px solid rgba(23, 63, 52, 0.14) !important;
}

#cartPanel .cart-total {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;

  margin-bottom: 16px !important;
}

#cartPanel .cart-total span {
  font-size: 14px !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;

  color: #6f7d76 !important;
}

#cartPanel .cart-total strong {
  font-size: 25px !important;

  color: #173f34 !important;
}


/* Rendelés gomb */

#cartPanel .order-button,
#cartPanel .checkout-button {
  width: 100% !important;
  min-height: 52px !important;

  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 10px !important;

  border: none !important;
  border-radius: 999px !important;

  background: #173f34 !important;
  color: white !important;

  font-size: 15px !important;
  font-weight: 700 !important;

  cursor: pointer !important;
}


/* Háttér */

#cartOverlay {
  position: fixed !important;
  inset: 0 !important;

  background: rgba(0, 0, 0, 0.42) !important;

  z-index: 999998 !important;

  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

#cartOverlay.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}


/* Telefon */

@media (max-width: 500px) {

  #cartPanel {
    width: 100% !important;
    padding: 22px 16px !important;
  }

  #cartItems .cart-item {
    grid-template-columns: 75px 1fr auto !important;
    gap: 10px !important;
    padding: 11px !important;
  }

  #cartItems .cart-item-image {
    width: 75px !important;
    height: 95px !important;
  }

  #cartItems .cart-item-info h3 {
    font-size: 14px !important;
  }
}
/* TERMÉKLISTÁK */

.product-list {
  display: none !important;
  width: min(1180px, calc(100% - 40px)) !important;
  margin: 30px auto !important;
}

.product-list.open {
  display: block !important;
}

/* TÉSZTÁK */

#pastaProducts > .pasta-products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
}

#pastaProducts .pasta-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

#pastaProducts .pasta-card > img {
  width: 100% !important;
  max-width: 220px !important;
  height: 220px !important;
  object-fit: contain !important;
}

.pasta-card .product-actions {
  width: 100% !important;
  margin-top: auto !important;

  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

/* MENNYISÉG */

.quantity-selector {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 12px !important;
}

.quantity-selector button,
.cart-item-quantity button {
  width: 36px !important;
  height: 36px !important;

  border: 1px solid rgba(18, 63, 50, 0.2) !important;
  border-radius: 50% !important;

  background: #ffffff !important;
  color: #123f32 !important;

  font-size: 19px !important;
  font-weight: 700 !important;

  cursor: pointer !important;
}

.quantity-number {
  min-width: 24px !important;
  text-align: center !important;
  font-weight: 700 !important;
}

/* KOSÁR PANEL */

#cartPanel {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;

  width: min(430px, 100%) !important;
  height: 100vh !important;

  padding: 26px 22px !important;

  background: #fffdf8 !important;
  color: #173f34 !important;

  box-sizing: border-box !important;
  overflow-y: auto !important;

  z-index: 999999 !important;

  transform: translateX(110%) !important;
  visibility: hidden !important;
  pointer-events: none !important;

  box-shadow: -12px 0 35px rgba(0, 0, 0, 0.22) !important;

  transition: transform 0.3s ease !important;
}

#cartPanel.active {
  transform: translateX(0) !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* KOSÁR HÁTTÉR */

#cartOverlay {
  position: fixed !important;
  inset: 0 !important;

  background: rgba(0, 0, 0, 0.45) !important;

  z-index: 999998 !important;

  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

#cartOverlay.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* KOSÁR FEJLÉC */

#cartPanel .cart-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;

  margin-bottom: 20px !important;
}

#cartPanel .cart-header h2 {
  margin: 0 !important;
  font-size: 34px !important;
}

#cartClose {
  width: 38px !important;
  height: 38px !important;

  border: none !important;
  border-radius: 50% !important;

  background: #173f34 !important;
  color: white !important;

  font-size: 22px !important;

  cursor: pointer !important;
}

/* KOSÁR TERMÉKEK */

#cartItems {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}

#cartItems .cart-item {
  display: grid !important;
  grid-template-columns: 84px minmax(0, 1fr) 34px !important;
  gap: 13px !important;
  align-items: center !important;

  width: 100% !important;

  padding: 13px !important;

  border: 1px solid rgba(23, 63, 52, 0.14) !important;
  border-radius: 18px !important;

  background: #ffffff !important;

  box-sizing: border-box !important;
}

/* KOSÁR KÉP */

#cartItems .cart-item-image {
  width: 84px !important;
  height: 100px !important;

  overflow: hidden !important;

  border-radius: 13px !important;

  background: #f5f1e8 !important;
}

#cartItems .cart-item-image img {
  width: 100% !important;
  height: 100% !important;

  max-width: 84px !important;
  max-height: 100px !important;

  object-fit: contain !important;

  padding: 5px !important;

  box-sizing: border-box !important;
}

/* KOSÁR SZÖVEG */

#cartItems .cart-item-info h3 {
  margin: 0 0 5px !important;

  font-size: 15px !important;
  line-height: 1.25 !important;
}

#cartItems .cart-item-details {
  margin: 0 0 4px !important;

  font-size: 12px !important;
}

#cartItems .cart-item-price {
  display: block !important;

  font-size: 16px !important;
}

/* KOSÁRBAN MENNYISÉG */

#cartItems .cart-item-quantity {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;

  margin-top: 9px !important;
}

/* TÖRLÉS */

#cartItems .cart-delete {
  width: 34px !important;
  height: 34px !important;

  border: none !important;
  border-radius: 50% !important;

  background: #f4eee8 !important;
  color: #8b3f31 !important;

  cursor: pointer !important;
}

/* MOBIL */

@media (max-width: 900px) {
  #pastaProducts > .pasta-products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 600px) {
  #pastaProducts > .pasta-products {
    grid-template-columns: 1fr !important;
  }

  #cartPanel {
    width: 100% !important;
  }
}
/* ===========================
   AZNAPI KISZÁLLÍTÁS
=========================== */

.delivery-banner{
    max-width:1100px;
    margin:40px auto 70px;
    padding:22px 35px;

    display:flex;
    align-items:center;
    gap:30px;

    background:#fbf8f2;

    border:2px solid #2c5a47;
    border-radius:18px;

    position:relative;
}

.delivery-banner::before,
.delivery-banner::after{
    content:"";
    position:absolute;
    width:20px;
    height:20px;
    border:2px solid #2c5a47;
}

.delivery-banner::before{
    top:-2px;
    left:-2px;
    border-right:none;
    border-bottom:none;
    border-radius:16px 0 0 0;
}

.delivery-banner::after{
    bottom:-2px;
    right:-2px;
    border-left:none;
    border-top:none;
    border-radius:0 0 16px 0;
}

.delivery-icon{
    width:95px;
    height:95px;

    border:2px solid #d8ccb5;
    border-radius:50%;

    display:flex;
    justify-content:center;
    align-items:center;

    flex-shrink:0;
}

.delivery-icon i{
    font-size:42px;
    color:#184b3c;
}

.delivery-content{
    flex:1;
}

.delivery-content h3{
    font-family:'Cormorant Garamond',serif;
    font-size:42px;
    color:#184b3c;
    margin-bottom:8px;
}

.delivery-line{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:18px;
}

.delivery-line span{
    width:90px;
    height:2px;
    background:#caa75d;
}

.delivery-line i{
    color:#184b3c;
    font-size:18px;
}

.delivery-content p{
    margin:0;
    font-size:18px;
    line-height:1.7;
    color:#555;
}

.delivery-content strong{
    color:#184b3c;
}
/* AZNAPI KISZÁLLÍTÁS */

.delivery-section{
  width:100%;
  padding:20px 24px 55px;
}

.delivery-banner{
  width:100%;
  max-width:1100px;
  margin:0 auto;
  padding:22px 32px;

  display:flex;
  align-items:center;
  gap:28px;

  background:rgba(255, 253, 247, 0.88);
  border:1.5px solid #164b3c;
  border-radius:18px;
}

.delivery-icon{
  width:90px;
  height:90px;
  flex-shrink:0;

  display:flex;
  align-items:center;
  justify-content:center;

  border:1.5px solid #c8aa6e;
  border-radius:50%;
}

.delivery-icon i{
  font-size:38px;
  color:#164b3c;
}

.delivery-content{
  flex:1;
}

.delivery-content h3{
  margin:0;
  font-family:"Cormorant Garamond", serif;
  font-size:34px;
  font-weight:600;
  color:#164b3c;
}

.delivery-line{
  display:flex;
  align-items:center;
  gap:10px;
  margin:8px 0 12px;
}

.delivery-line span{
  width:85px;
  height:1px;
  background:#c8aa6e;
}

.delivery-line i{
  color:#164b3c;
  font-size:14px;
}

.delivery-content p{
  margin:0;
  color:#28443b;
  font-size:17px;
  line-height:1.6;
}

.delivery-content strong{
  color:#164b3c;
}

@media (max-width:700px){

  .delivery-banner{
    padding:20px;
    gap:18px;
  }

  .delivery-icon{
    width:70px;
    height:70px;
  }

  .delivery-icon i{
    font-size:30px;
  }

  .delivery-content h3{
    font-size:25px;
  }

  .delivery-content p{
    font-size:15px;
  }

  .delivery-line span{
    width:45px;
  }
}
/* =========================================
   KOSÁR – AZNAPI KISZÁLLÍTÁS TÁJÉKOZTATÓ
========================================= */

#cartPanel .cart-delivery-notice{
    width:100%;
    margin:0 0 28px;
    padding:22px 24px;

    display:grid;
    grid-template-columns:60px 1fr;
    align-items:center;
    gap:18px;

    background:#ffffff;

    border:2px solid #d9cba6;
    border-radius:18px;

    box-shadow:0 10px 25px rgba(20,63,50,.08);

    transition:.25s;
}

#cartPanel .cart-delivery-notice:hover{
    border-color:#b8924c;
    box-shadow:0 14px 30px rgba(20,63,50,.12);
}

#cartPanel .cart-delivery-notice-icon{
    width:58px;
    height:58px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:50%;
    background:#123f32;
    color:#fff;

    font-size:24px;

    box-shadow:0 8px 20px rgba(18,63,50,.2);
}

#cartPanel .cart-delivery-notice > div {
  min-width: 0;
}

#cartPanel .cart-delivery-notice strong{
    display:block;
    margin-bottom:6px;

    color:#123f32;
    font-size:20px;
    font-weight:700;
}

#cartPanel .cart-delivery-notice p{
    margin:0;
    color:#5c655f;
    font-size:15px;
    line-height:1.6;
}

#cartPanel .cart-delivery-notice p {
  margin: 4px 0 0;
  color: #59645f;
  font-size: 14px;
  line-height: 1.55;
}

#cartPanel .cart-delivery-notice p strong {
  font-size: inherit;
  font-weight: 700;
}


/* Mivel csak egy fizetési mód van, ne tűnjön kattintható választásnak */

#cartPanel .payment-option {
  cursor: default !important;
}

#cartPanel .payment-option .custom-radio {
  display: none !important;
}

#cartPanel .payment-option {
  grid-template-columns: 42px minmax(0, 1fr) !important;
}
/* =========================================
   KOSÁR – AZNAPI KISZÁLLÍTÁS KÁRTYA
========================================= */

#cartPanel .cart-delivery-notice {
  width: 100%;
  margin: 0 0 28px;
  padding: 20px 22px;

  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 16px;

  background: #ffffff;
  border: 1px solid #e3ddd4;
  border-radius: 16px;

  box-shadow: 0 8px 22px rgba(20, 63, 50, 0.05);

  box-sizing: border-box;
}

#cartPanel .cart-delivery-notice-icon {
  width: 54px;
  height: 54px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: #173f34;
  color: #ffffff;

  font-size: 21px;
}

#cartPanel .cart-delivery-notice > div {
  min-width: 0;
}

#cartPanel .cart-delivery-notice > div > strong {
  display: block;
  margin: 0 0 5px;

  color: #173f34;
  font-size: 18px;
  font-weight: 600;
}

#cartPanel .cart-delivery-notice p {
  margin: 0;

  color: #59645f;
  font-size: 14px;
  line-height: 1.55;
}

#cartPanel .cart-delivery-notice p strong {
  display: inline;
  margin: 0;

  color: #173f34;
  font-size: inherit;
  font-weight: 700;
}

/* Kis távolság a fizetési mód cím előtt */

#cartPanel .cart-delivery-notice + .cart-section {
  margin-top: 0;
}

@media (max-width: 600px) {
  #cartPanel .cart-delivery-notice {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 13px;
    padding: 17px;
  }

  #cartPanel .cart-delivery-notice-icon {
    width: 46px;
    height: 46px;
    font-size: 18px;
  }

  #cartPanel .cart-delivery-notice > div > strong {
    font-size: 16px;
  }

  #cartPanel .cart-delivery-notice p {
    font-size: 13px;
  }
}
/* =========================================
   AZNAPI KISZÁLLÍTÁS
========================================= */

#cartPanel .cart-delivery-notice {
  width: 100%;
  margin: 0 0 30px;
  padding: 20px 22px;

  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 16px;

  border: 1px solid #ded8ce;
  border-radius: 16px;
  background: #ffffff;

  box-sizing: border-box;
}

#cartPanel .cart-delivery-notice-icon {
  width: 52px;
  height: 52px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: #173f34;
  color: #ffffff;

  font-size: 20px;
}

#cartPanel .cart-delivery-notice-text {
  min-width: 0;
}

#cartPanel .cart-delivery-notice-text > strong {
  display: block;
  margin-bottom: 5px;

  color: #173f34;
  font-size: 18px;
  font-weight: 600;
}

#cartPanel .cart-delivery-notice-text p {
  margin: 0;

  color: #4f5e58;
  font-size: 14px;
  line-height: 1.55;
}

#cartPanel .cart-delivery-notice-text p strong {
  color: #173f34;
  font-size: inherit;
}


/* =========================================
   KÉSZPÉNZES FIZETÉS
========================================= */

#cartPanel .cash-payment-box {
  width: 100%;
  min-height: 92px;
  padding: 18px 20px;

  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 15px;

  border: 1px solid #ded8ce;
  border-radius: 16px;
  background: #ffffff;

  box-sizing: border-box;
}

#cartPanel .cash-payment-icon {
  width: 46px;
  height: 46px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: #f2eee5;

  font-size: 23px;
}

#cartPanel .cash-payment-box div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

#cartPanel .cash-payment-box strong {
  color: #173f34;
  font-size: 17px;
  font-weight: 600;
}

#cartPanel .cash-payment-box small {
  color: #777d79;
  font-size: 13px;
}


/* Régi fizetési rádiógombok elrejtése */

#cartPanel .payment-option {
  display: none !important;
}
.empty-cart-message{
    padding:45px 25px;
    text-align:center;
    border:1px dashed #e6ddd1;
    border-radius:18px;
    background:#fff;
}

.empty-cart-message h3{
    margin:15px 0 10px;
    font-size:26px;
    color:#173f34;
    font-family:"Cormorant Garamond",serif;
}

.empty-cart-message p{
    margin:0 0 20px;
    color:#777;
    line-height:1.6;
}

.empty-cart-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:13px 28px;

    background:#173f34;
    color:#fff;

    border-radius:999px;

    text-decoration:none;

    transition:.25s;
}

.empty-cart-button:hover{
    background:#285b4c;
}
.cart-delivery-notice{

    display:flex;
    gap:18px;

    padding:18px;

    border-radius:16px;

    background:#eef6f1;

    border:1px solid #d8e8de;

    margin-bottom:28px;
}

.cart-delivery-notice-icon{

    width:48px;
    height:48px;

    border-radius:50%;

    background:white;

    display:flex;

    align-items:center;

    justify-content:center;

    color:#173f34;

    font-size:20px;
}
#deliveryAddress {
  min-height: 55px !important;
  resize: none !important;
}
#cartPanel .cart-summary {
  margin-top: 24px !important;
  padding: 18px 22px !important;

  background: #ffffff !important;
  border: 1px solid #e7e2d9 !important;
  border-radius: 16px !important;
}
#orderButton {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease !important;
}

#orderButton:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 35px rgba(23, 63, 52, 0.25) !important;
}
@media (max-width: 768px) {

  /* Kiszállítási információk teljes része */
  .delivery-section {
    padding: 30px 16px !important;
    min-height: auto !important;
    height: auto !important;
  }

  /* A zöld kártya */
  .delivery-card {
    width: 100% !important;
    min-height: auto !important;
    height: auto !important;
    padding: 24px 20px !important;
    border-radius: 24px !important;
  }

  /* A kártya felső része */
  .delivery-header {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    margin-bottom: 18px !important;
  }

  /* Teherautó ikon köre */
  .delivery-icon {
    width: 72px !important;
    height: 72px !important;
    min-width: 72px !important;
  }

  .delivery-icon i {
    font-size: 30px !important;
  }

  /* Kiszállítási információk cím */
  .delivery-card h2,
  .delivery-card h3,
  .delivery-title {
    font-size: 28px !important;
    line-height: 1.15 !important;
    margin: 0 !important;
  }

  /* A vonal alatti tartalom */
  .delivery-content {
    padding-top: 18px !important;
    margin-top: 0 !important;
  }

  /* Háttérben lévő csirke és tojás */
  .delivery-card::before,
  .delivery-card::after {
    opacity: 0.08 !important;
  }
}
/* =========================
   KISZÁLLÍTÁS – TELEFON
========================= */

@media (max-width: 768px) {

  .delivery-section {
    padding: 25px 15px !important;
    min-height: 0 !important;
    height: auto !important;
  }

  .delivery-card {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 64px 1fr !important;
    align-items: center !important;
    gap: 10px 15px !important;

    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    height: auto !important;

    padding: 20px !important;
    margin: 0 auto !important;

    background: rgba(255, 255, 255, 0.88) !important;
    border-radius: 20px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Teherautó ikon */
  .delivery-icon {
    grid-column: 1 !important;
    grid-row: 1 !important;

    width: 62px !important;
    height: 62px !important;
    min-width: 62px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: #073c32 !important;
    border: none !important;
    border-radius: 50% !important;
  }

  .delivery-icon i {
    font-size: 25px !important;
    color: white !important;
  }

  /* Cím */
  .delivery-title,
  .delivery-card h2,
  .delivery-card h3 {
    grid-column: 2 !important;
    grid-row: 1 !important;

    margin: 0 !important;
    padding: 0 !important;

    font-size: 25px !important;
    line-height: 1.15 !important;
    color: #17261f !important;
  }

  /* Ingyenes kiszállítás szövege */
  .delivery-info,
  .delivery-text {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;

    display: flex !important;
    align-items: center !important;
    gap: 8px !important;

    margin: 8px 0 0 !important;
    padding: 14px 0 0 !important;

    border-top: 1px solid rgba(20, 50, 40, 0.12) !important;
    color: #34463e !important;
    font-size: 14px !important;
  }

  /* Megnézem gomb */
  .delivery-button,
  .delivery-btn,
  .delivery-card button {
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;

    position: relative !important;
    z-index: 10 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    width: 100% !important;
    max-width: 100% !important;
    height: 52px !important;

    margin: 8px 0 0 !important;
    padding: 0 18px !important;

    background: #073c32 !important;
    color: white !important;
    border: none !important;
    border-radius: 8px !important;

    box-sizing: border-box !important;
    cursor: pointer !important;
    pointer-events: auto !important;
  }

  /* Dekoráció ne akadályozza a kattintást */
  .delivery-card::before,
  .delivery-card::after {
    pointer-events: none !important;
  }

  /* Ne lógjon ki semmi a képernyőről */
  .delivery-card *,
  .delivery-section * {
    box-sizing: border-box !important;
  }
}