

    * {

      margin: 0;

      padding: 0;

      box-sizing: border-box;
 font-family: 'Vazirmatn', Tahoma, sans-serif;
    }



    body {
     
      background: #f4f1ea;
      color: #c41e3a;
      line-height: 1.6;
      overflow-x: hidden;

    }

    



    /* هدر */

    .header {

      background: #fff;

      padding: 15px 30px;

      box-shadow: 0 2px 10px rgba(196, 30, 58, 0.1);

      display: flex;

      justify-content: space-between;

      align-items: center;

      position: sticky;

      top: 0;

      z-index: 1000;

      direction: ltr;

    }



    .logo {

      font-size: 32px;

      font-weight: 700;

      color: #c41e3a;

      direction: rtl;

      font-family: 'Marhey', Tahoma, sans-serif;

    }



    .header-left {

      display: flex;

      align-items: center;

      gap: 15px;

      direction: rtl;

    }



    .login-btn {

      background: #28a745;

      color: white;

      border: none;

      padding: 12px 24px;

      border-radius: 25px;

      font-size: 16px;

      cursor: pointer;

      transition: all 0.3s;

    }



    .login-btn:hover {

      background: #218838;

      transform: translateY(-2px);

    }



    .cart-btn {

      background: #fff;

      color: #c41e3a;

      border: 2px solid #c41e3a;

      padding: 10px 16px;

      border-radius: 25px;

      cursor: pointer;

      font-size: 14px;

      transition: all 0.3s;

      position: relative;

    }



    .cart-btn:hover {

      background: #c41e3a;

      color: white;

    }



    .cart-count {

      position: absolute;

      top: -8px;

      right: -8px;

      background: #28a745;

      color: white;

      border-radius: 50%;

      width: 24px;

      height: 24px;

      display: flex;

      align-items: center;

      justify-content: center;

      font-size: 12px;

      font-weight: bold;

    }



    .profile-icon {

      width: 45px;

      height: 45px;

      border-radius: 50%;

      background: #28a745;

      display: flex;

      align-items: center;

      justify-content: center;

      color: white;

      font-size: 20px;

      cursor: pointer;

      border: 3px solid #fff;

      box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);

    }



    /* خوش آمدی */

    .welcome-section {
      text-align: center;
      padding: 60px 20px;
      background: #c41e3a;

    }

    .welcome-title {
      font-size: 48px;
      color: #ffffff;
      margin-bottom: 10px;
      font-weight: 700;
    }

    .menu-section{    
        padding: 20px;
        margin-top: 42px;
        margin-bottom: 42px;
        gap: 60px;
        text-align: start;}

    .menu-title{
      margin-bottom: 50px;
      position: relative;
      margin-left: auto;
      text-align: center;
      margin-right: auto;
    }

    @media only screen and (max-width: 1280px) {
      .menu-title {
          margin-bottom: 35px;
      }}


    .row{
      display: flex;
      flex-wrap: wrap;
    }

    .col-12 {
      flex: 0 0 auto;
      width: 100%;
    }

    .menu-header{
      display: flex;
      margin-bottom: 30px;
      gap: 12px;
      align-items: center;
      justify-content: center;
      flex-direction: row;
    }

    .menu-cat{
      font-size: 20px;
      font-weight: bold;
      color: #c41e3a;}

    .menu-icon{
      font-size: 29px;
      color: #c41e3a;}

    .menu-header button{
      background-color: white;
      border-radius: 9px;
      border: none;
      padding: 3px 13px 3px 13px;}
    
    .menu-header button:hover{
      background-color: #c41e3a;
    }

    /* Hover state */
.menu-header button:hover {
  background-color: #c41e3a;
}

.menu-header button:hover .menu-cat,
.menu-header button:hover .menu-icon,
.menu-header button:hover .menu-icon i {
  color: white;}
.menu-items-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.menu-item {
  position: relative;
  height: 550px;
}

.menu-item-box {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    padding-top: 50px;
    flex-direction: column;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    justify-content: flex-end;    
}

.menu-item:hover .menu-item-box {
  height: 550px;
}


/* ==============================
   ✅ Tablet: max-width 768px
================================ */
@media (max-width: 768px) {
  .menu-item {
    position: relative;
    height: 450px !important;
  }

  .menu-item:hover .menu-item-box {
    height: 450px;
  }
   .menu-item-image {
    top: 30px !important;
  }
}

/* ==============================
   ✅ Mobile: max-width 480px
================================ */
@media (max-width: 480px) {
  .menu-item {
    position: relative;
    height: 450px;
  }

  .menu-item:hover .menu-item-box  {
    height: 450px !important;
  }

   .menu-item-image {
    top: 20px!important;
  }
}

.menu-item-image {
    position: absolute;
    top: 19px;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    height: 220px;
    z-index: 2;
}

.menu-item-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.menu-item-content {
  padding: 20px;
}

.menu-item-name {
  font-size: 16px;
  color: #333;
  line-height: 1.5;
  margin-bottom: 20px;
  flex: 1;
  text-align: right;
  font-weight: 700;
}

.menu-item-footer {
  display: flex;
  justify-content: space-between;
  padding-top: 15px;
  border-top: 1px solid #eee;
  flex-direction: column;
  gap: 10px;
}
.menu-item-footer > div{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
  

.menu-item-footer > div > div {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-around;
}


.menu-item-price {
  font-size: 16px;
  font-weight: 900;
  color: #c41e3a;
  direction: rtl;
}

.menu-item-size {
    font-size: 14px;
    color: #666;
    text-align: center;
    background: #fff;
    padding: 4px 2px;
    border-radius: 20px;
    border: 1px solid #ddd;
    display: inline-block;
    min-width: 60px;
}

.menu-item-desc{
  color: #858585;
  margin-bottom: 15px;
}



.menu-item-footer > div .add-to-cart-btn {
    background-color: #c41e3a;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 7px 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    gap: 6px;
    transition: all 0.3s ease;
    position: relative;
    align-items: center;
}

.menu-item-footer > div .add-to-cart-btn:hover {
    background-color: #a0182e;
    transform: scale(1.03);
}

.menu-item-footer > div .add-to-cart-btn:active {
    transform: scale(0.98);
}

.menu-item-footer > div .add-to-cart-btn i {
    font-size: 12px;
}


/* Responsive adjustments */
@media (max-width: 768px) {
  .menu-items-list {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 18px;
  }
  
  .menu-item-image {
    height: 180px;
  }
  
  .menu-item-content {
    padding: 16px;
  }
  
  .menu-item-name {
    font-size: 15px;
  }
  
  .menu-item-price {
    font-size: 18px;
  }
  
  .add-to-cart-btn {
    padding: 8px 16px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .menu-items-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}



  .address-section{
    background-size: cover;
    background-image: url(https://transvelo.github.io/pizzaro-html/assets/images/homepage-banners/6.png);
    height: 556px;
  }

  .address-section .ad{
        position: relative;
    height: 100%;
  }


.ad .ad2{
      float: left;
    position: relative;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    text-align: end;
    position: absolute;
    transform: translateY(-50%);
    top: 50%;
    padding: 0 4.375em;
}



    /* صحنه مهمانی */

    .party-scene {

      position: relative;

      height: 400px;

      display: flex;

      align-items: flex-end;

      justify-content: center;

      padding: 0 50px;

      margin: 50px 0;

    }



    .chair-left {

      font-size: 120px;

      color: #e9ecef;

      position: absolute;

      bottom: 0;

      right: 100px;

      transform: scale(1.2) rotate(-15deg);

    }



    .chair-right {

      font-size: 120px;

      color: #e9ecef;

      position: absolute;

      bottom: 0;

      left: 100px;

      transform: scale(1.2) rotate(15deg);

    }



    .table-icon {

      font-size: 200px;

      color: #f8f9fa;

      position: absolute;

      bottom: 80px;

      left: 50%;

      transform: translateX(-50%);

    }



    .table-buttons {

      position: absolute;

      bottom: 120px;

      left: 50%;

      transform: translateX(-50%);

      display: flex;

      gap: 30px;

    }



    .table-btn {

      background: #c41e3a;

      color: white;

      border: none;

      padding: 15px 30px;

      border-radius: 30px;

      font-size: 18px;

      cursor: pointer;

      transition: all 0.3s;

      box-shadow: 0 8px 25px rgba(196, 30, 58, 0.3);

    }



    .table-btn:hover {

      transform: translateY(-5px);

      box-shadow: 0 15px 35px rgba(196, 30, 58, 0.4);

    }



    /* تب‌ها */

    .tabs-container {

      padding: 60px 30px;

      max-width: 1400px;

      margin: 0 auto;

      display: block;

    }



    .tabs {

      display: flex;

      justify-content: center;

      gap: 20px;

      margin-bottom: 50px;

      flex-wrap: wrap;

    }



    .tab {

      background: white;

      border: 3px solid #c41e3a;

      border-radius: 25px;

      padding: 25px 20px;

      text-align: center;

      cursor: pointer;

      transition: all 0.3s;

      min-width: 160px;

      box-shadow: 0 10px 30px rgba(196, 30, 58, 0.1);

      display: flex;

      flex-direction: column;

      align-items: center;

      justify-content: center;

    }



    .tab:hover,

    .tab.active {

      background: #28a745 !important;

      color: white !important;

      border-color: #28a745 !important;

      transform: translateY(-8px);

      box-shadow: 0 20px 40px rgba(40, 167, 69, 0.3);

    }



    .tab i {

      font-size: 42px;

      display: block;

      margin-bottom: 10px;

    }



    .tab span {

      font-size: 18px;

      font-weight: 600;

    }



    /* آیکون شام مهمونی */

    .party-dinner-icon {

      width: 70px;

      height: 70px;

      border-radius: 50%;

      border: 3px solid #c41e3a;

      display: flex;

      align-items: center;

      justify-content: center;

      background: #fff7f9;

    }



    .party-dinner-icon-text {

      font-family: 'Marhey', Tahoma, sans-serif;

      text-align: center;

      color: #c41e3a;

      line-height: 1.1;

    }



    .tab-content {

      display: none;

      gap: 30px;

    }



    .tab-content.active {

      display: flex;

      flex-wrap: wrap;

    }



    .item-card {

      background: white;

      border-radius: 20px;

      padding: 30px;

      text-align: center;

      box-shadow: 0 15px 40px rgba(196, 30, 58, 0.08);

      border: 2px solid #f8f9fa;

      transition: all 0.3s;

      flex: 1;

      min-width: 280px;

      position: relative;

      overflow: hidden;

    }



    .item-card:hover {

      transform: translateY(-10px);

      box-shadow: 0 25px 60px rgba(196, 30, 58, 0.15);

    }



    .item-price {

      font-size: 24px;

      font-weight: bold;

      color: #c41e3a;

      margin: 15px 0;

    }



    .add-btn {

      background: #28a745;

      color: white;

      border: none;

      padding: 12px 24px;

      border-radius: 25px;

      font-size: 14px;

      cursor: pointer;

      transition: all 0.3s;

    }



    .add-btn:hover {

      background: #218838;

      transform: translateY(-2px);

    }



    /* حالت ویژه کارت‌های پیتزا با Hover پیشرفته */

    .pizza-card {

      position: relative;

      overflow: hidden;

    }



    .pizza-base {

      transition: opacity 0.3s ease;

    }



    .pizza-hover {

      position: absolute;

      inset: 0;

      background: rgba(255, 255, 255, 0.98);

      border-radius: 20px;

      padding: 20px;

      display: flex;

      flex-direction: column;

      justify-content: space-between;

      text-align: center;

      opacity: 0;

      pointer-events: none;

      transform: translateY(10px);

      transition: opacity 0.25s ease, transform 0.25s ease;

    }



    .pizza-card:hover .pizza-base {

      opacity: 0;

    }



    .pizza-card:hover .pizza-hover {

      opacity: 1;

      pointer-events: auto;

      transform: translateY(0);

    }



    .pizza-hover-name {

      font-weight: 800;

      font-size: 18px;

      margin-bottom: 10px;

    }



    .pizza-hover-desc {

      font-size: 14px;

      color: #555;

      margin: 10px 0 20px;

    }



    .pizza-hover-actions {

      display: flex;

      justify-content: center;

      gap: 10px;

    }



    .pizza-size-btn {

      flex: 1;

      border: none;

      border-radius: 25px;

      padding: 10px 0;

      cursor: pointer;

      background: #c41e3a;

      color: white;

      font-size: 14px;

      font-weight: 600;

      transition: background 0.2s, transform 0.2s, box-shadow 0.2s;

    }



    .pizza-size-btn.mini {

      background: #f7931e;

    }



    .pizza-size-btn:hover {

      transform: translateY(-2px);

      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);

    }



    /* صفحه لوکیشن */

    .location-page {

      display: none;

      min-height: 100vh;

      background: #c41e3a;

      color: white;

      padding: 100px 20px 50px;

      text-align: center;

    }



    .location-page.active {

      display: block;

    }



    .location-title {

      font-size: 48px;

      margin-bottom: 30px;

      font-weight: 700;

    }



    .map-container {

      width: 100%;

      height: 500px;

      background: rgba(255,255,255,0.1);

      border-radius: 25px;

      margin: 40px 0;

      backdrop-filter: blur(10px);

      border: 2px solid rgba(255,255,255,0.2);

    }



    /* خرید خرید مینیمال */

    .cart-modal {

      display: none;

      position: fixed;

      top: 0;

      left: 0;

      width: 100%;

      height: 100%;

      background: rgba(0, 0, 0, 0.7);

      z-index: 2000;

      backdrop-filter: blur(10px);

    }



    .cart-content {

      position: absolute;

      top: 50%;

      right: 50%;

      transform: translate(50%, -50%);

      background: white;

      padding: 40px;

      border-radius: 25px;

      box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);

      width: 90%;

      max-width: 600px;

      max-height: 80vh;

      overflow-y: auto;

    }



    .cart-item {

      display: flex;

      justify-content: space-between;

      align-items: center;

      padding: 20px 0;

      border-bottom: 1px solid #f8f9fa;

    }



    .cart-total {

      font-size: 24px;

      font-weight: bold;

      color: #c41e3a;

      text-align: center;

      margin: 30px 0;

    }



    /* فوتر */

    .footer {

      background: linear-gradient(135deg, #c41e3a 0%, #a71c32 100%);

      color: white;

      padding: 50px 30px 30px;

      text-align: center;

    }



    .footer-content {

      max-width: 1200px;

      margin: 0 auto;

    }



    .footer h3 {

      font-size: 28px;

      margin-bottom: 20px;

    }



    /* مودال‌ها */

    .profile-modal, .login-modal {

      display: none;

      position: fixed;

      top: 0;

      left: 0;

      width: 100%;

      height: 100%;

      background: rgba(0, 0, 0, 0.7);

      z-index: 2000;

      backdrop-filter: blur(10px);

    }



    .profile-content, .login-content {

      position: absolute;

      top: 50%;

      right: 50%;

      transform: translate(50%, -50%);

      background: white;

      padding: 40px;

      border-radius: 25px;

      box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);

      width: 90%;

      max-width: 500px;

      text-align: center;

    }



    .login-content {

      max-width: 450px;

      padding: 50px;

    }



    .form-group {

      margin-bottom: 25px;

      text-align: right;

    }



    .form-group label {

      display: block;

      margin-bottom: 8px;

      color: #c41e3a;

      font-weight: 600;

    }



    .form-group input,

    .form-group textarea {

      width: 100%;

      padding: 15px;

      border: 2px solid #e9ecef;

      border-radius: 15px;

      font-size: 16px;

      font-family: 'Vazirmatn', sans-serif;

      transition: border-color 0.3s;

      direction: rtl;

      resize: vertical;

    }



    .form-group input:focus,

    .form-group textarea:focus {

      outline: none;

      border-color: #c41e3a;

    }



    .submit-btn {

      width: 100%;

      background: #28a745;

      color: white;

      border: none;

      padding: 18px;

      border-radius: 20px;

      font-size: 18px;

      cursor: pointer;

      font-weight: 600;

      transition: all 0.3s;

    }



    .submit-btn:hover {

      background: #218838;

      transform: translateY(-2px);

    }



    .close-btn {

      position: absolute;

      top: 20px;

      left: 20px;

      background: none;

      border: none;

      font-size: 28px;

      color: #c41e3a;

      cursor: pointer;

    }



    @media (max-width: 768px) {

      .party-scene {

        height: 300px;

        padding: 0 20px;

      }



      .chair-left, .chair-right {

        font-size: 80px;

        right: 50px;

        left: 50px;

      }



      .table-icon {

        font-size: 140px;

      }



      .welcome-title, .location-title {

        font-size: 36px;

      }

    }
