/** Shopify CDN: Minification failed

Line 42:0 Unexpected "}"

**/
.cookbook-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;

  /* 🖼️ Image background */
  /* background-image: url('{{ my_image_url }}');  */
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1280px auto; 
  
  /* 🧱 Padding ensures text + buttons have room inside the image */
  padding:36px 0px;
  background-color: #fff;      /* optional fallback */
}
.cookbook-container img {
    width: 100%;
    height: 100%;
    display: block;
    /* background: url(about-bg.jpg); */
}
/* .shopping-cookbook-container{
    background-color: #F5F3EC;
} */
.shopping-cookbook-container {
  position: relative; /* key: makes child absolute relative to this */
  width: 100%;
  height: 200px;
  margin: 0 auto;
  overflow: hidden;
}
/* .shopping-cookbook-container img {
    width: 100%;
    height: 100%;
    /* background: url(about-bg.jpg); */
} */
.shopping-cookbook-text {
    position: relative;
    /* bottom: 5px; 
    left: 10px;
    right: 10px; */
    z-index: 2;
    color: rgba(var(--color-foreground), 0.75);
    /* padding: 10px 15px; */
    font-weight: bold;
}
.resized-cookbook-container {
  position: relative;
  width: 100%;
  min-height: 260px;
  height: auto; /* You can adjust if needed */
  overflow: hidden;
  background-size: 1280px auto;     /* fills area */
  background-position: center;  /* keeps subject centered */
  background-repeat: no-repeat;
  padding: 36px 0px;
  background-color:#fff;
  color: rgba(var(--color-foreground), 0.9);
}

/* Make image fully fill container */
/* .resized-cookbook-container img {
  position: absolute; 
  top: 0;
  left: 0;
  width: 100%;
  height: auto; 
  display: block;
  object-fit: contain;  
  object-position: center top; 
  background-color: #fff;
  z-index: 1;
  opacity: 0.9; 
} */

/* Overlay text positioned on top of image */
.resized-cookbook-text {
  position: relative; 
  z-index: 2;
}
.shopping-cookbook-text .shopify_heading_p,
.resized-cookbook-text .shopify_heading_p {
  margin: 2rem 0; /* ✅ your requested margin */
}

.cookbook-text { 
  position: relative; /* not absolute — lets container expand naturally */
  z-index: 2;
  color: rgba(var(--color-foreground), 0.85);
    /* padding: 10px 15px; */
    /* font-weight: bold; */
}
.cookbook-text h1.family_title_heading {
  margin: 2rem 0;
}
.cookbook-text h4{
    padding: 0;
    margin: 0;
}

.cookbook-table-container{
  /* margin-left: 30px;
  margin-right: 30px; */
  margin-top: 20px;
  margin-bottom: 20px;
  color: rgba(var(--color-foreground), 0.75);
}

 /* cookbook-table.css */

.cookbook-controls {
    margin-bottom: 10px;
    display: flex;
    margin-top: 20px;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap; 
    /* font-family: 'Amatic SC',serif;
    font-weight: 400;
    font-size: 16px; */
    font-family:  var(--font-body-family);
    font-style: var(--font-body-style);
    font-weight: var(--font-body-weight);
    font-size: 1.5rem;
    line-height: calc(1 + 0.8 / var(--font-body-scale));
    letter-spacing: 0.06rem;
  }
  
 

  .cookbook-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    table-layout: auto;
    max-width: 100%;
  }
  
  .cookbook-table th,
  .cookbook-table td {
    padding: 10px;
    min-width: 100px;
    border: 1px solid #ccc;
    text-align: left;
    word-wrap: break-word;
  }
  
  
  .cookbook-table th {
    /* font-size: 20px;
    font-family: 'Lobster Two';
    font-weight: 400; */
    font-family:  var(--font-heading-family);
    font-style: var(--font-heading-style);
    font-weight: var(--font-heading-weight);
    font-size: calc(var(--font-heading-scale)* 2rem);
    line-height: calc(1 + .3 / max(1, var(--font-heading-scale)));
    background-color: #f2f2f2;
    color:rgb(var(--color-foreground));
    cursor: pointer;
  }
  .cookbook-table td {
    /* font-family: 'Amatic SC',serif;
    font-weight: 400;
    font-size: 16px; */
    font-family:  var(--font-body-family);
    font-style: var(--font-body-style);
    font-weight: var(--font-body-weight);
    font-size: 1.6rem;
    color: rgba(var(--color-foreground), 0.75);
    line-height: calc(1 + 0.8 / var(--font-body-scale));
    letter-spacing: 0.06rem;
  }
  
  .cookbook-table th.sort-asc::after {
    content: " ▲";
  }
  
  .cookbook-table th.sort-desc::after {
    content: " ▼";
  }

  
 
  
  .cookbook-pagination {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* font-family: 'Amatic SC',serif;
    font-weight: 400;
    font-size: 16px; */
    font-family:  var(--font-body-family);
    font-style: var(--font-body-style);
    font-weight: var(--font-body-weight);
    font-size: 1.5rem;
    line-height: calc(1 + 0.8 / var(--font-body-scale));
    letter-spacing: 0.06rem;
  }
  
  .cookbook-pagination button {
    padding: 5px 10px;
    cursor: pointer;
  }
  
  #cookbook-searchInput {
    padding: 5px;
    width: 200px;
  }
  
  #cookbook-rowsPerPage {
    padding: 5px;
  }

  .sort-icon {
    margin-left: 5px;
    font-size: 0.9em;
    color: gray; /* default */
  }
  
  .sort-icon.asc {
    color: green;
  }
  
  .sort-icon.desc {
    color: red;
  }
/* ============================= */
/* Tablet Devices (481px – 768px) */
/* ============================= */
@media (max-width: 768px) {

  .cookbook-text,
  .resized-cookbook-text,
  .shopping-cookbook-text {
    position: static; /* Remove absolute on small screens */
    /* background: #fff; */
    /* padding: 10px; */
    /* margin-top: -20px; */
    z-index: 1;
    font-size: 16px;
  }
  .cookbook-container,
  .shopping-cookbook-container,
  .resized-cookbook-container {
    padding:36px 0px;
    height: auto; /* allow container to expand */
    /* background-size: 100% auto; 
    background-position: center top; */
  }

  .shopping-cookbook-container img,
  .resized-cookbook-container img {
    width: 100%;
    height: auto;
  }
  .cookbook-table,
  .cookbook-table thead,
  .cookbook-table tbody,
  .cookbook-table th,
  .cookbook-table td,
  .cookbook-table tr {
    display: block;
    width: 100%;
  }

  .cookbook-table thead {
    display: none; /* hide table headers */
  }

  .cookbook-table tr {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    background: #fff;
  }

  .cookbook-table td {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size:1.2rem;
    border: none; /* remove inner borders */
  }

  .cookbook-table td::before {
    content: attr(data-label);
    font-weight: bold;
    flex: 1; 
    padding-right: 10px;
    color: #333;
    font-size:1.2rem;
  }
  /* Action + Download rows → buttons on right */
  .cookbook-table td[data-label="Action"],
  .cookbook-table td[data-label="Download & Order"] {
    justify-content: space-between;
  }

  .cookbook-table td[data-label="Action"]::before,
  .cookbook-table td[data-label="Download & Order"]::before {
    flex: 0 0 auto;    /* only take needed space */
    text-align: left;
  }
  /* Action buttons stacked full width */
  /* Fix button group overflow */
  .cookbook-table td .action-buttons {
    display: flex;
    flex-wrap: wrap;      /* ✅ allow wrapping */
    gap: 6px;
    font-size: 1.1rem;
    justify-content: flex-end;
    flex: 1;              /* push to right side */
  }

  .cookbook-table td .action-buttons button {
    flex: 0 1 auto;       /* ✅ shrink gracefully */
    max-width: 48%;       /* ✅ ensure 2 fit side by side */
  }
  /* .cookbook-table {
    width: 100%;
    display:block;
  }

  .cookbook-table th,
  .cookbook-table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
    font-size: 0.9rem;
    vertical-align: middle;
    overflow: hidden;
    white-space: normal; 
    text-overflow: ellipsis;
  }

  .cookbook-table td.title,
  .cookbook-table td.filename {
    max-width: 200px;
  }

  .cookbook-table td .action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
    min-width: 0;
    overflow: visible;
  }

  .cookbook-table td .action-buttons button {
    flex: 0 1 auto;
    max-width: 48%;
    min-width: 80px;
    padding: 6px 10px;
    font-size: 1.2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  } */
  .cookbook-controls,
  .cookbook-pagination {
    flex-direction: column;
    align-items: flex-start; align-items: stretch; /* Ensures full-width items */
    gap: 10px;
  }

  #cookbook-searchInput,
  #cookbook-rowsPerPage {
    width: 100%!important; /* Force full width */
    box-sizing: border-box; /* Ensure padding doesn't overflow */
  }
  .shopping-cookbook-text .shopify_heading_p,
  .resized-cookbook-text .shopify_heading_p,
  .cookbook-text h1.family_title_heading {
    margin: 4rem 0;
  }
}

/* ============================= */
/* Mobile Devices (up to 480px) */
/* ============================= */
@media (max-width: 480px) {

  .cookbook-text,
  .resized-cookbook-text,
  .shopping-cookbook-text {
    position: static; /* Remove absolute on small screens */
    /* background: #fff; */
    /* padding: 10px; */
    /* margin-top: -20px; */
    z-index: 1;
    font-size: 16px;
  }
   .cookbook-container,
  .shopping-cookbook-container,
  .resized-cookbook-container {
    padding:27px 0px;
    height: auto; /* allow container to expand */
    /* background-size: 100% auto; 
    background-position: center top; */
  }
  .shopping-cookbook-container img,
  .resized-cookbook-container img {
    width: 100%;
    height: auto;
  }

  .cookbook-controls,
  .cookbook-pagination {
    flex-direction: column;
    align-items: flex-start;align-items: stretch; /* Ensures full-width items */
    gap: 10px;
  }

  .cookbook-table,
  .cookbook-table thead,
  .cookbook-table tbody,
  .cookbook-table th,
  .cookbook-table td,
  .cookbook-table tr {
    display: block;
    width: 100%;
  }

  .cookbook-table thead {
    display: none; /* hide table headers */
  }

  .cookbook-table tr {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    background: #fff;
  }

  .cookbook-table td {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size:1.2rem;
    border: none; /* remove inner borders */
  }

  .cookbook-table td::before {
    content: attr(data-label);
    font-weight: bold;
    flex: 1; 
    padding-right: 10px;
    color: #333;
    font-size:1.2rem;
  }
  /* Action + Download rows → buttons on right */
  .cookbook-table td[data-label="Action"],
  .cookbook-table td[data-label="Download & Order"] {
    justify-content: space-between;
  }

  .cookbook-table td[data-label="Action"]::before,
  .cookbook-table td[data-label="Download & Order"]::before {
    flex: 0 0 auto;    /* only take needed space */
    text-align: left;
  }
  /* Action buttons stacked full width */
  /* Fix button group overflow */
  .cookbook-table td .action-buttons {
    display: flex;
    flex-wrap: wrap;      /* ✅ allow wrapping */
    gap: 6px;
    font-size: 1.1rem;
    justify-content: flex-end;
    flex: 1;              /* push to right side */
  }

  .cookbook-table td .action-buttons button {
    flex: 0 1 auto;       /* ✅ shrink gracefully */
    max-width: 48%;       /* ✅ ensure 2 fit side by side */
  }

  #cookbook-searchInput,
  #cookbook-rowsPerPage {
    width: 100%!important; /* Force full width */
    box-sizing: border-box; /* Ensure padding doesn't overflow */
    padding: 6px;
    font-size: 1.1rem;
  }

  .cookbook-pagination button {
    width: 100%;
    padding: 8px;
    font-size: 1.1rem;
  }
  .shopping-cookbook-text .shopify_heading_p,
  .resized-cookbook-text .shopify_heading_p,
  .cookbook-text h1.family_title_heading {
    margin: 4rem 0;
  }
}

 
  
