/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0 0px; 
    background-color: #ffffff;
    color: #333;
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; 
}


















/*  button_1 design */
.custom-button {
    display: inline-block; /* Essential for padding on <a> tags */
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.custom-button1 {
    background-color: #a0260d;
    color: #000000;
    border: 2px solid #ffffff;
}

.custom-button1:hover {
    background-color: #ffffff;
    border-color: #000000;
    color: #a0260d;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.custom-button2 {
    background-color: #000000;
    border: 2px solid #eb9e02;
    color: #ffffff;
}

.custom-button2:hover {
    background: #eb9e02;
    color: #000000;
    border: 2px solid #ffffff;
    transform: translateY(-3px);
}



.btn {
    margin-top: 10px;
}




















/* product details page */
/* all details */
.ecotours_product_details-container {
  width: 100%;
  margin: 30px auto 0 auto;
  padding: 0 10px 44px 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #fff;
}

.ecotours_product_details-toprow {
  display: flex;
  gap: 38px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.ecotours_product_details-imgwrap {
    flex: 1.25;
    margin-left: 100px;
    max-width: 430px;
    min-width: 300px;
    height: auto; 
}

.ecotours_product_details-mainimg {
    box-sizing: border-box; 
    width: 100%;
    height: 100%; 
    padding: 10px; 
    object-fit: cover; 
    max-width: 430px; 
    border-radius: 10px;
    box-shadow: 0 8px 36px 0 rgba(0, 0, 0, 0.08);
    background: #f5f5f5;
}

.ecotours_product_details-content {
  margin-left: 30px;
  flex: 1.1;
  margin-right: 100px;
  min-width: 270px;
  padding-top: 15px;
}

.ecotours_product_details-meta {
  color: #6d6d6d;
  font-size: 1rem;
  margin-bottom: 7px;
}

.ecotours_product_details-title {
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.ecotours_product_details-price {
  font-size: 1.28rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 12px;
}

.ecotours_product_details-shortdesc {
  color: #232e23;
  font-size: 1.07rem;
  margin-bottom: 22px;
  line-height: 1.5;
}

.ecotours_product_pieces{
    padding-top: 5px;
    font-size: 20px;
    font-weight: 600;
}

.ecotours_product_details-cartrow {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.ecotours_product_details-tabs {
  margin: 40px auto 0 auto;
  display: flex;
  justify-content: flex-start;
  gap: 14px;
  border-bottom: 1.5px solid #222;
  padding: 0 20px;
  flex-wrap: wrap;
}

.ecotours_product_details-tabs button {
  background: none;
  border: none;
  font-size: 24px;
  font-weight: 600;
  color: #222;
  padding: 13px 12px 0 80px;
  cursor: pointer;
  border-bottom: 2.5px solid transparent;
  transition: border 0.12s, color 0.12s;
}



.ecotours_product_details-desc {
  padding: 19px 20px;
  padding-left: 80px;
  padding-right: 80px;
  color: #232e23;
  font-size: 1.09rem;
  line-height: 1.6;
  border-bottom: 1.5px solid #222;
}

/* Media Queries Updated with new Class Prefix */
@media (max-width: 900px) {
  .ecotours_product_details-toprow { flex-direction: column; gap: 20px; }
  .ecotours_product_details-imgwrap { margin: 0 auto; max-width: 90vw; }
  .ecotours_product_details-content { margin: 0 auto; padding: 10px 20px; }
}

@media (max-width: 600px) {
  .ecotours_product_details-cartrow { flex-direction: column; gap: 10px; }
  .ecotours_product_details-tabs { justify-content: center; }
}


























  /* Cart Page */
  /* Header intro */
  .nacnad_shop_page-hero {
    background: url('https://images.unsplash.com/photo-1504674900247-0877df9cc836?auto=format&fit=crop&w=900&q=80') center/cover no-repeat;
    height: 200px;
    position: relative;
    margin-bottom: 0;
    margin-left: 50px;
    margin-right: 50px;
  }
  .nacnad_shop_page-hero-overlay {
    background: rgba(125, 169, 8, 0.6);
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
  }
  .nacnad_shop_page-hero-titlewrap {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
  }
  .nacnad_shop_page-hero-title {
    color: #fff;
    font-size: 2.3rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 8px;
  }
  .nacnad_shop_page-hero-breadcrumb {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 400;
    margin-top: 8px;
  }













/* Cart Page */
/* Header intro */
.ecotours_shop_page-hero {
  background: url('https://images.unsplash.com/photo-1504674900247-0877df9cc836?auto=format&fit=crop&w=900&q=80') center/cover no-repeat;
  height: 200px;
  position: relative;
  margin-bottom: 0;
  margin-left: 50px;
  margin-right: 50px;
}
.ecotours_shop_page-hero-overlay {
  background: rgba(125, 169, 8, 0.6);
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
}
.ecotours_shop_page-hero-titlewrap {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
}
.ecotours_shop_page-hero-title {
  color: #fff;
  font-size: 2.3rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.ecotours_shop_page-hero-breadcrumb {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 400;
  margin-top: 8px;
}

/* cart_page.php */
:root{
  --container-width: 1150px;
}

/* Outer page wrapper */
.ecotours_cart_page_products {
  display: flex;
  justify-content: center;
  padding: 48px 20px;
}

/* Wrapper: sidebar + main */
.ecotours_cart_page_products__wrapper {
  width: var(--container-width, 1200px);
  display: flex;
  gap: 32px;
  align-items: flex-start;
  flex-wrap: wrap;
}

/* Sidebar */
.ecotours_cart_page_products__sidebar {
  width: 130px;
  flex: 0 0 130px;
}
.ecotours_cart_page_products__nav {
  background: #f5f5f5;
  border: 1px solid #7DA908;
  border-radius: 6px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset;
  overflow: hidden;
}
.ecotours_cart_page_products__nav-item {
  display: block;
  width: 100%;
  padding: 18px 14px;
  text-decoration: none;
  color: var(--accent-2, #222);
  font-weight: 600;
  background: transparent;
  text-align: left;
  cursor: pointer;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.ecotours_cart_page_products__nav-item:last-child {
  border-bottom: none;
}
.ecotours_cart_page_products__nav-item.is-active {
  background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,0.03) inset;
}

/* Main Area */
.ecotours_cart_page_products__main {
  flex: 1 1 auto;
  min-width: 0;
}
.ecotours_cart_page_products__container {
  background: #f5f5f5;
  padding: 28px;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.05);
}

/* Hide inactive sections */
.ecotours_cart_page_products__section.is-hidden {
  display: none;
}

/* Table styling (desktop) */
.ecotours_cart_page_products__table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}
.ecotours_cart_page_products__th {
  text-align: left;
  font-size: 16px;
  padding: 12px 8px;
  color: var(--muted, #555);
  border-bottom: 2px solid #222;
  white-space: nowrap;
}
.ecotours_cart_page_products__cell {
  padding: 14px 8px;
  vertical-align: middle;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

/* Image wrapper styling */
.ecotours_cart_page_products__image-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Image */
.ecotours_cart_page_products__cell--image img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

/* Product title */
.ecotours_cart_page_products__product-title {
  font-weight: 600;
  color: var(--accent-2, #222);
}

/* Price & total */
.ecotours_cart_page_products__cell--price,
.ecotours_cart_page_products__cell--total {
  color: var(--accent-2, #222);
  width: 110px;
  font-weight: 600;
  white-space: nowrap;
}

/* Quantity controls */
.ecotours_cart_page_products__qty-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ecotours_cart_page_products__qty-input {
  width: 58px;
  height: 34px;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 4px;
  text-align: center;
  font-size: 14px;
  padding: 4px;
  background: #fff;
  color: var(--accent-2, #222);
}

/* Remove */
.ecotours_cart_page_products__remove {
  background: transparent;
  border: 0;
  color: var(--muted, #888);
  font-size: 24px;
  text-decoration: none;
  cursor: pointer;
}

/* Actions & totals */
.ecotours_cart_page_products__actions {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.ecotours_cart_page_products__left-actions {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

/* Totals */
.ecotours_cart_page_products__totals {
  margin-top: 20px;
  width: 300px;
  padding-left: 28px;
  border-left: 1px solid rgba(0,0,0,0.2);
}
.ecotours_cart_page_products__totals-title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  margin-bottom: 18px;
  font-size: 18px;
  color: var(--accent-2, #222);
}
.ecotours_cart_page_products__totals-line {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  color: var(--muted, #555);
  font-size: 14px;
}
.ecotours_cart_page_products__totals-amount {
  color: var(--accent-2, #222);
  font-weight: 700;
}

/* RESPONSIVE STYLES */
/* Tablet */
@media (max-width: 1180px) {
  :root { --container-width: 100%; }
  .ecotours_cart_page_products {
    padding: 32px 10px;
  }
  .ecotours_cart_page_products__wrapper {
    flex-direction: column;
    gap: 20px;
  }
  .ecotours_cart_page_products__sidebar {
    width: 100%;
  }
  .ecotours_cart_page_products__nav {
    display: flex;
    justify-content: space-around;
    border-radius: 8px;
  }
  .ecotours_cart_page_products__nav-item {
    flex: 1;
    text-align: center;
    border-right: 1px solid rgba(0,0,0,0.05);
  }
  .ecotours_cart_page_products__nav-item:last-child {
    border-right: none;
  }
  .ecotours_cart_page_products__totals {
    width: 100%;
    padding-left: 0;
    border-left: none;
    border-top: 1px solid rgba(0,0,0,0.2);
    padding-top: 16px;
  }
  .ecotours_cart_page_products__actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Mobile - product cards (768px and below) */
@media (max-width: 768px) {
    .ecotours_cart_page_products__container {
        padding: 16px; 
    }
    .ecotours_cart_page_products__sidebar {
      flex: 0 0 30px;
    }
    .ecotours_cart_page_products__table,
    .ecotours_cart_page_products__th {
        display: block;
        width: 100%;
    }
    .ecotours_cart_page_products__th {
        display: none;
    }

    /* Transform table row to a fluid responsive card */
    .ecotours_cart_page_products__row {
        display: grid;
        grid-template-areas: 
            "details remove"
            "price price"
            "qty total";
        grid-template-columns: 1fr auto;
        gap: 12px 15px;
        background: #fff;
        border-radius: 10px;
        box-shadow: 0 1px 4px rgba(0,0,0,0.08);
        margin-bottom: 16px;
        padding: 16px;
        min-width: 0; 
    }
    .ecotours_cart_page_products__cell--product {
        display: none; 
    }
    .ecotours_cart_page_products__cell {
        display: flex;
        align-items: center;
        padding: 0;
        border: none;
    }
    .ecotours_cart_page_products__cell::before {
        content: none; 
    }

    /* Details Grid Context */
    .ecotours_cart_page_products__cell--image {
        grid-area: details;
        display: flex; 
        align-items: center;
        gap: 12px;
    }
    .ecotours_cart_page_products__cell--image img {
        width: 70px; 
        height: 70px; 
        max-width: none;
    }
    .ecotours_cart_page_products__title-color-mobile {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }
    .ecotours_cart_page_products__product-title {
        font-size: 1rem;
        font-weight: 700;
        line-height: 1.3;
    }

    /* Remove Button Area */
    .ecotours_cart_page_products__cell--remove {
        grid-area: remove;
        justify-content: flex-end;
        align-self: center;
    }
    .ecotours_cart_page_products__remove {
        font-size: 28px; 
        color: #888;
    }

    /* Price Area */
    .ecotours_cart_page_products__cell--price {
        grid-area: price;
        justify-content: space-between;
        font-size: 0.95rem;
        font-weight: 600;
        padding: 8px 0;
        border-top: 1px dashed rgba(0,0,0,0.1);
    }
    .ecotours_cart_page_products__cell--price::before {
        content: attr(data-label) ":";
        font-weight: 400;
        color: var(--muted, #555);
    }

    /* Quantity Input Area */
    .ecotours_cart_page_products__cell--qty {
        grid-area: qty;
        justify-content: space-between;
        font-size: 0.95rem;
    }
    .ecotours_cart_page_products__cell--qty::before {
        content: attr(data-label) ":";
        font-weight: 400;
        color: var(--muted, #555);
    }
    .ecotours_cart_page_products__qty-input {
        width: 65px; 
    }

    /* Calculated Total Area */
    .ecotours_cart_page_products__cell--total {
        grid-area: total;
        justify-content: space-between;
        font-size: 0.95rem;
    }
    .ecotours_cart_page_products__cell--total::before {
        content: attr(data-label) ":";
        font-weight: 400;
        color: var(--muted, #555);
    }
    .ecotours_cart_page_products__cell--total,
    .ecotours_cart_page_products__cell--price {
        width: auto;
    }
    .ecotours_cart_page_products__cell--total .ecotours_cart_page_products__totals-amount {
        font-size: 1.1rem; 
        color: #7DA908;
    }

    /* Totals Wrapper Box */
    .ecotours_cart_page_products__totals {
        width: 100%;
        padding: 16px;
        border: 1px solid rgba(0,0,0,0.1);
        border-radius: 8px;
        background: #fff;
    }
    .ecotours_cart_page_products__actions {
      flex-direction: column;
    }
    .ecotours_cart_page_products__left-actions {
        justify-content: space-between;
        width: 100%;
    }
}

/* Small screen updates */
@media (max-width: 480px) {
  .ecotours_cart_page_products {
    padding: 20px 10px;
  }
  .ecotours_cart_page_products__container {
    padding: 16px 12px;
  }
  .ecotours_cart_page_products__row {
    padding: 12px;
    gap: 10px;
  }
}