/* ============================================
   PulseTemplate Base Layout Styles
   ============================================ */

/* Base */

html,
body {
  background: black;
  color: white;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: #2eed77;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #2eed77;
}

/* Surfaces & Cards */

.card,
.pulse-modal,
.pulse-cart {
  background: rgba(41, 45, 41, 0.47);
  border: 1px solid rgba(58, 199, 54, 0.1);
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Buttons */

.btn,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.9rem 1.2rem;
  color: #ffffff;
  background: #2eed77;
  border: 1px solid #2eed77;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn:hover,
.button:hover {
  background: rgb(18.3964757709, 213.6035242291, 93.0044052863);
  border-color: rgb(18.3964757709, 213.6035242291, 93.0044052863);
  box-shadow: 0 0 20px 0 #2eed77;
  transform: translateY(-1px);
}

.btn:active,
.button:active {
  transform: translateY(0);
}

.btn.btn-secondary,
.button.btn-secondary {
  background: #2eed77;
  border-color: #2eed77;
}

.btn.btn-secondary:hover,
.button.btn-secondary:hover {
  background: rgb(18.3964757709, 213.6035242291, 93.0044052863);
  border-color: rgb(18.3964757709, 213.6035242291, 93.0044052863);
}

.btn.btn-accent,
.button.btn-accent {
  background: #2eed77;
  border-color: #2eed77;
}

.btn.btn-accent:hover,
.button.btn-accent:hover {
  background: rgb(18.3964757709, 213.6035242291, 93.0044052863);
  border-color: rgb(18.3964757709, 213.6035242291, 93.0044052863);
}

.btn.btn-outline,
.button.btn-outline {
  background: transparent;
  color: #2eed77;
  border-color: #2eed77;
}

.btn.btn-outline:hover,
.button.btn-outline:hover {
  background: #2eed77;
  color: #ffffff;
}

.box-info.bg-white {
  background-color: rgb(19, 21, 19);
  border: 1px solid #2eed77;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

a.btn_1.gradient,
.btn_1.gradient {
  background-size: 100%;
  background-image: linear-gradient(to right, #3bffac, #050603);
  position: relative;
  z-index: 1;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

#place-menu:not(.holder-left):before {
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0%, rgb(23, 182, 101) 100%);
  position: absolute;
  right: -1px;
  top: 0;
  content: "";
  z-index: 1;
  background-repeat: no-repeat;
  background-size: 3rem;
  background-position: center;
  padding: 0;
  width: 3rem;
  height: 100%;
}

.top-bar.success {
  background: #111211;
  color: green;
}

#mobile-menu .btn_hero {
  background-color: #2eed77;
}

#mobile-menu > .content {
  background: rgba(0, 0, 0, 0.9019607843);
}

#place-menu > .item,
.btn-group label {
  color: white;
  text-transform: capitalize;
}

.btn-group label {
  background-color: rgb(7, 4, 4) !important;
  color: white !important;
}

.btn-group label.active {
  background-color: #47e578;
}

.modal-open .modal {
  background-color: #141614;
}

.container_check input:checked ~ .checkmark {
  background-color: #2eed77;
}

.numbers-row .button_inc {
  color: #2eed77;
  background-image: linear-gradient(to right, #2e6b51, rgba(5, 6, 3, 0.968627451));
}

#addToCart1 button {
  background-image: linear-gradient(to right, #3bffac, #050603);
}

.item-offer-horizontal > .info > p,
.mb-2,
.my-2,
#modalDescription,
box- {
  color: white;
}

.modal-content,
.modal-header {
  background-color: #000;
}

.modal-footer {
  background-color: #000000;
}

#place-menu > .item,
.btn-group label {
  display: inline-flex;
  font-weight: var(--font-weight-medium);
  position: relative;
  white-space: nowrap;
  color: #444;
  border-radius: 2rem;
  background-color: rgba(28, 28, 28, 0.82);
  padding: 0.5rem 1rem;
  margin: 0rem 0.5rem 0 0;
  margin-top: 5px;
}

nav a {
  color: #ffffff;
}

.nav-menu {
  border-top: 1px solid black;
  padding: 1rem 0;
  z-index: 99;
  box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.05);
  position: relative;
  background-color: black;
}

@media (max-width: 991px) {
  .btn_reserve_fixed {
    display: block;
    background-color: #000000;
  }
}

h3 {
  color: whitesmoke;
}

h6.title {
  font-weight: 600;
  text-transform: capitalize;
  color: #67dfa7;
}

.menu-link.active {
  color: #2eed77;
  font-weight: bold;
  font-size: 15px;
}

section.section-place-content {
  background: var(--color-background-shadow) #000000;
}

/* Header Styles */

.header,
.pulse-header {
  background: rgba(41, 45, 41, 0.47);
  border-bottom: 1px solid rgba(58, 199, 54, 0.1);
  padding: 16px 24px;
}

.header .logo,
.pulse-header .logo {
  color: #2eed77;
}

.header .nav-link,
.pulse-header .nav-link {
  color: white;
}

.header .nav-link:hover,
.header .nav-link.active,
.pulse-header .nav-link:hover,
.pulse-header .nav-link.active {
  color: #2eed77;
}

.box-info > .head,
.holder-right {
  position: static;
  top: 69px;
  z-index: 2;
  background-color: rgba(55, 55, 55, 0.4392156863);
}

/* Category Navigation */

.category-bar,
.category-scroll {
  background: transparent;
  border-bottom: 1px solid rgba(58, 199, 54, 0.1);
}

.category-bar .menu-link,
.category-scroll .menu-link {
  color: white;
  border: 1px solid rgba(58, 199, 54, 0.1);
  border-radius: 8px;
  padding: 0.6rem 0.9rem;
  transition: all 0.2s ease;
}

.category-bar .menu-link:hover,
.category-scroll .menu-link:hover {
  color: white;
  border-color: #2eed77;
}

.category-bar .menu-link.active,
.category-scroll .menu-link.active {
  color: #2eed77;
  border-color: #2eed77;
  box-shadow: 0 0 15px 0 #2eed77;
}

/* Item Cards */

.item-card {
  background: rgba(41, 45, 41, 0.47);
  border: 1px solid rgba(58, 199, 54, 0.1);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.item-card:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
  border-color: #2eed77;
}

.item-card .item-title {
  color: white;
  font-weight: 600;
}

.item-card .item-description {
  color: white;
}

.item-card .item-price {
  color: #2eed77;
  font-weight: 600;
}

/* Product Item Horizontal (Item Offer) */

.item-offer-horizontal {
  display: grid;
  align-items: center;
  justify-content: space-between;
  color: white;
  padding: 16px;
  background-image: linear-gradient(to right, #2e6b51, rgba(5, 6, 3, 0.968627451));
  border-radius: 8px;
  border: 1px solid rgba(58, 199, 54, 0.1);
  grid-template-rows: 1fr;
  grid-template-columns: minmax(100px, 1fr) 100px;
  position: relative;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.item-offer-horizontal:hover {
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  border-color: #2eed77;
  transform: translateY(-2px);
}

.item-offer-horizontal:hover h4,
.item-offer-horizontal:hover h6,
.item-offer-horizontal:hover .title {
  color: #2eed77;
}

.item-offer-horizontal > .info > p {
  color: white;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  display: block;
  font-weight: 400;
  text-transform: capitalize;
  padding-left: 15px;
}

.item-offer-horizontal > .info > .extras {
  display: flex;
  gap: 16px;
  align-items: center;
}

.item-offer-horizontal > .info > .extras > .price {
  color: white;
  font-weight: 600;
}

.item-offer-horizontal picture {
  overflow: hidden;
  display: flex;
  border-radius: 0.5rem;
  border: 1px solid rgba(58, 199, 54, 0.1);
  width: 100px;
  max-height: 100px;
  aspect-ratio: 1/1;
  min-width: 100px;
  right: 0;
  position: relative;
}

.item-offer-horizontal picture img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 0.5rem;
}

.item-offer-horizontal.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

@media only screen and (max-width: 768px) {
  .item-offer-horizontal {
    grid-template-columns: minmax(80px, 1fr) 80px;
    gap: 0.5rem;
    padding: 8px;
  }

  .item-offer-horizontal > .info {
    width: calc(100% - 80px - 0.5rem);
  }

  .item-offer-horizontal picture {
    width: 80px;
    max-height: 80px;
    min-width: 80px;
  }
}

/* Forms */

input,
textarea,
select {
  background: rgba(41, 45, 41, 0.47);
  border: 1px solid rgba(58, 199, 54, 0.1);
  border-radius: 8px;
  color: white;
  padding: 0.75rem;
  transition: all 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #2eed77;
  box-shadow: 0 0 0 3px rgba(46, 237, 119, 0.1);
}

/* Order Summary / Cart Styles */

.info {
  display: block;
  width: 100%;
}

.holder-right {
  position: relative;
}

.holder-right .info {
  margin-bottom: 16px;
}

#order-summary {
  display: block;
  visibility: visible;
  opacity: 1;
}

.box-info .head {
  padding: 16px;
  border-bottom: 1px solid rgba(58, 199, 54, 0.1);
  margin-top: 10px;
}

.box-info .head h6 {
  color: white;
  font-weight: 600;
  margin: 0;
}

.box-info .content {
  padding: 16px;
}

.box-info .content:not(.grid) {
  max-height: 400px;
  overflow-y: auto;
}

.box-info .box-order {
  margin-bottom: 0;
}

/* Cart Items */

.items {
  padding: 8px 0;
  border-bottom: 1px solid rgba(58, 199, 54, 0.1);
}

.items:last-child {
  border-bottom: none;
}

.product-item_title {
  color: white;
  font-weight: 500;
}

.product-item_title:hover {
  color: #2eed77;
}

.product-item_price {
  color: #2eed77;
  font-weight: 600;
}

.product-item_quantity {
  color: white;
  font-weight: 400;
}

/* Empty Cart */

.empty-cart {
  padding: 24px;
  text-align: center;
  color: white;
}

/* Actions Cart */

.actionsCart {
  padding: 16px;
  border-top: 1px solid rgba(58, 199, 54, 0.1);
}

.actionsCart .button.full-button {
  width: 100%;
  justify-content: space-between;
}

.actionsCart .button.full-button .ammount {
  font-weight: 600;
}

/* Category Products - Remove Scrolling */

.box-info .content.grid {
  overflow: visible !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
  max-height: none !important;
  height: auto !important;
}

.box-info .content {
  overflow: visible !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
  max-height: none !important;
  height: auto !important;
}

/* Grid Layout for Products */

.content.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  overflow: visible !important;
  max-height: none !important;
}

/* Add more layout styles as needed */

.avatar {
  border-radius: 10%;
}

.item-offer-horizontal picture {
  border: 3px solid rgb(255, 255, 255);
}

.box-info .head {
  text-align: center;
  border-radius: 8px;
  text-transform: capitalize;
  background-image: linear-gradient(to right, #2e6b51, rgba(5, 6, 3, 0.968627451));
}

.actionsCart .button.full-button,
#exrtas-area,
.variants-area-label {
  background-image: linear-gradient(to right, #2e6b51, rgba(5, 6, 3, 0.968627451));
}

h5.label-variants,
#exrtas-area h5 {
  color: white;
}

#price-area h6,
.quantity-area h6,
.numbers-row input {
  color: white;
}

.modal-header .close {
  color: #000000;
  background-color: #2eed77;
}

.actionsCart {
  padding: 5px;
}

/* ============================================
   PulseTemplate Responsive Styles
   ============================================ */

/* Mobile First Approach */

/* Small devices (phones, 576px and up) */

@media (max-width: 575.98px) {
  html,
  body {
    font-size: 14px;
  }

  .header,
  .pulse-header {
    padding: 8px 16px;
  }

  .btn,
  .button {
    padding: 0.75rem 1rem;
    font-size: 14px;
  }

  .item-card {
    margin-bottom: 16px;
  }

  .category-scroll {
    padding: 8px;
  }

  .category-scroll .menu-link {
    padding: 0.5rem 0.75rem;
    font-size: 13px;
  }
}

/* Medium devices (tablets, 768px and up) */

@media (min-width: 576px) and (max-width: 767.98px) {
  .container {
    max-width: 540px;
  }
}

/* Large devices (desktops, 992px and up) */

@media (min-width: 768px) and (max-width: 991.98px) {
  .container {
    max-width: 720px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

/* Extra extra large devices (larger desktops, 1400px and up) */

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Landscape orientation adjustments */

@media (orientation: landscape) and (max-height: 500px) {
  .header,
  .pulse-header {
    padding: 4px 16px;
  }
}

/* Print styles */

@media print {
  .header,
  .pulse-header,
  .category-bar {
    display: none;
  }

  body {
    background: #ffffff;
    color: #000000;
  }
}

/* Offer badges on product cards */
.offer-badge {
  position: absolute;
  top: 4px;
  left: 4px;
  z-index: 3;
  border-radius: 3px;
  padding: 2px 5px;
  line-height: 1;
  max-width: 60%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.offer-badge span {
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.03em;
}

@media (min-width: 480px) {
  .offer-badge {
    top: 6px;
    left: 6px;
    padding: 3px 8px;
    border-radius: 4px;
  }
  .offer-badge span {
    font-size: 10px;
  }
}

@media (min-width: 768px) {
  .offer-badge {
    top: 8px;
    left: 8px;
    padding: 4px 10px;
  }
  .offer-badge span {
    font-size: 11px;
  }
}

.offer-badge-new {
  background: #2eed77;
}

.offer-badge-1\+1 {
  background: #3b82f6;
}

.offer-badge-promotion {
  background: #f59e0b;
}

.offer-badge-limited {
  background: #ef4444;
}

.offer-type-label {
  display: inline-block;
  margin-left: 6px;
  color: #3b82f6;
  font-size: 12px;
  font-weight: 700;
}

.price del {
  opacity: 0.6;
  font-size: 0.9em;
}

.price strong {
  color: #2eed77;
  margin-left: 4px;
}

/* Offers panel - fixed button and slide-in from right */
.pulse-offers-btn {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 998;
  padding: 0.75rem 1rem;
  background: #2eed77;
  color: #fff;
  border: 1px solid #2eed77;
  border-radius: 8px 0 0 8px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.25s ease;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  letter-spacing: 0.05em;
}

.pulse-offers-btn:hover {
  color: #fff;
  background: rgb(18.3964757709, 213.6035242291, 93.0044052863);
  box-shadow: 0 0 20px 0 #2eed77;
}

.pulse-offers-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.pulse-offers-panel.pulse-offers-panel-open {
  opacity: 1;
  visibility: visible;
}

body.pulse-offers-panel-open {
  overflow: hidden;
}

.pulse-offers-panel.pulse-offers-panel-open .pulse-offers-panel-content {
  right: 0;
}

.pulse-offers-panel-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.pulse-offers-panel-content {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  max-width: calc(100% - 2rem);
  height: 100vh;
  overflow-y: auto;
  transition: right 0.25s ease;
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

.pulse-offers-panel-header {
  flex-shrink: 0;
  position: relative;
}

.pulse-offers-panel-header .head {
  padding-right: 3rem;
}

.pulse-offers-panel-header .pulse-offers-panel-close {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  color: white;
  padding: 0.25rem;
  line-height: 1;
}

.pulse-offers-panel-header .pulse-offers-panel-close:hover {
  color: #2eed77;
}

.pulse-offers-panel-body {
  flex: 1;
  overflow-y: auto;
}

.pulse-offers-panel-body .content {
  max-height: none;
}

.pulse-offers-item-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid rgba(58, 199, 54, 0.1);
  background: rgba(41, 45, 41, 0.47);
  margin-bottom: 16px;
}

.pulse-offers-item-card picture,
.pulse-offers-item-card .pulse-offers-item-img {
  width: 80px;
  height: 80px;
  border-radius: 0.5rem;
  overflow: hidden;
  flex-shrink: 0;
}

.pulse-offers-item-card picture img,
.pulse-offers-item-card .pulse-offers-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pulse-offers-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pulse-offers-list li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(58, 199, 54, 0.1);
}

.pulse-offers-list li:last-child {
  border-bottom: none;
}

@media (max-width: 575.98px) {
  .pulse-offers-btn {
    padding: 0.5rem 0.75rem;
    font-size: 13px;
  }

  .pulse-offers-panel-content {
    width: 100%;
    max-width: 100%;
  }
}
