/* ==========================================================================
   1. LAYOUT & FLEXBOX STRUCTURE (Preserved)
   ========================================================================== */

* {
  box-sizing: border-box;
}

.container {
  display: flex;
  flex-direction: column;
  gap: 20px; /* Gap between rows */
}

/* Keeps designated columns side-by-side */
.row {
  display: flex;
  flex-direction: row;
  gap: 15px;
  justify-content: center;
}

/* Forces paragraphs/content INSIDE columns to stack vertically */
.col {
  display: flex;
  flex-direction: column;
  gap: 15px; /* Spacing between paragraphs inside the column */
}

.text-block {
  display: flex;
  flex-direction: column; /* Stacks paragraphs top-to-bottom */
  gap: 15px;
  width: 70%;            /* Takes up 70% of the parent width */
  margin: 0 auto;        /* Centers the 70% block horizontally */
}

.columna {
  column-width: 25%;
}

.columnb {
  column-width: 75%;
}

.dogpage {
  padding-top: 0;
  padding-right: 10%;
  padding-bottom: 0;
  padding-left: 10%;
}

.responsive {
  max-width: 100%;
  height: auto;
}

.sticky {
  position: sticky;
  top: 0;
  padding: 0px;
}

/* ==========================================================================
   2. TABLES & CARDS
   ========================================================================== */

table { 
  border: 0 solid;
  border-spacing: 3px;
} 

/* Bordered table cells */
.bordered-table th,
.bordered-table td {
  border: 3px inset black;
  border-radius: 10px;
  padding: 3px;
}

/* Default table with no borders */
.plain-table th,
.plain-table td {
  border: none;
  padding: 15px;
}

.card { 
  border: 1px solid #ddd; 
  padding: 20px; 
  display: inline-block; 
  border-radius: 8px; 
}

.button1 {
  background-color: #00217a;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
}

/* ==========================================================================
   3. TYPOGRAPHY & HEADINGS
   ========================================================================== */

h1, h2, h3 {
  text-align: center;
  color: #0000ff;
}

.descr {
  font-family: "Times New Roman", Times, serif;
  font-style: normal;
  font-size: 110%;
  font-weight: normal;
  color: #000000;
  text-align: left;
  text-decoration: none;
}

/* Fixed selector syntax for pseudo-classes */
a.descr:link,
a.descr:visited {
  font-family: "Times New Roman", Times, serif;
  font-style: normal;
  font-size: 110%;
  font-weight: normal;
  color: #ff0000;
  text-align: left;
  text-decoration: none;
}

a.descr:hover {
  font-family: "Times New Roman", Times, serif;
  font-style: normal;
  font-size: 110%;
  font-weight: normal;
  background-color: #ffffff; /* Fixed hex code bug */
  color: #0000ff;
  text-align: left;
  text-decoration: none;
}

.descrin {
  font-family: "Times New Roman", Times, serif;
  font-style: italic;
  font-size: 90%;
  font-weight: bold;
  color: #000000;
  text-align: left;
  text-decoration: none;
  padding-left: 2em;
  padding-right: 2em;
}

.descrtop,
a.descrtop:link,
a.descrtop:visited,
a.descrtop:hover {
  font-family: "Times New Roman", Times, serif;
  font-style: normal;
  font-size: 150%;
  font-weight: bold;
  color: #00217a;
  text-align: left;
  text-decoration: none;
  padding-left: 2em;
  padding-right: 2em;
}

.descrcenter,
a.descrcenter:link,
a.descrcenter:visited,
a.descrcenter:hover {
  font-family: "Times New Roman", Times, serif;
  font-style: italic;
  font-size: 90%;
  font-weight: bold;
  color: #740078;
  text-align: center;
  text-decoration: none;
  padding-left: 2em;
  padding-right: 2em;
}

.descrtop-c {
  font-family: "Times New Roman", Times, serif;
  font-style: normal;
  font-size: 150%;
  font-weight: bold;
  color: #00217a;
  text-align: center;
  text-decoration: none;
  padding-left: 2em;
  padding-right: 2em;
}

a.large2:link,
a.large2:visited,
a.large2:hover {
  font-family: "Times New Roman", Times, serif;
  font-style: oblique;
  font-size: 200%;
  font-weight: bolder;
  color: #00217a;
  text-align: left;
  text-decoration: none;
  padding-left: 2em;
  padding-right: 2em;
}

.descrb {
  font-family: "Times New Roman", Times, serif;
  font-style: normal;
  font-size: 80%;
  font-weight: normal;
  color: #000000;
  text-align: left;
  text-decoration: none;
}

a.descrb:link,
a.descrb:visited {
  font-family: "Times New Roman", Times, serif;
  font-style: normal;
  font-size: 80%;
  font-weight: normal;
  color: #ff0000;
  text-align: left;
  text-decoration: none;
}

a.descrb:hover {
  font-family: "Times New Roman", Times, serif;
  font-style: normal;
  font-size: 80%;
  font-weight: normal;
  background-color: #ffffff; /* Fixed hex code bug */
  color: #0000ff;
  text-align: left;
  text-decoration: none;
}

.descrinb {
  font-family: "Times New Roman", Times, serif;
  font-style: italic;
  font-size: 80%;
  font-weight: bold;
  color: #000000;
  text-align: left;
  text-decoration: none;
  padding-left: 2em;
  padding-right: 2em;
}

/* ==========================================================================
   4. NAVIGATION & DROPDOWN MENU
   ========================================================================== */

.navbar-table th,
.navbar-table td {
  border-style: outset;
  background-color: #f6ec00;
}

.nav,
a.nav:link,
a.nav:visited,
a.nav:hover {
  font-family: "Times New Roman", Times, serif;
  font-style: italic;
  font-size: 100%;
  font-weight: bold;
  color: #00217a;
  text-align: left;
  text-decoration: none;
  padding-left: 2em;
  padding-right: 2em;
}

.nav-container {
  position: fixed;
  top: 15px;
  left: 20px;
  z-index: 1000;
}

.menu-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  background: #fff;
  color: black;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.dropdown-nav {
  position: absolute;
  top: 50px;
  left: 0;
  width: max-content; 
  min-width: 160px;
  background: #e2f6fe;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  border: 1px solid #ddd;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none; 
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.dropdown-nav.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-nav a {
  padding: 12px 25px;
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid #f0f0f0;
  white-space: nowrap;
}

.dropdown-nav a:hover { 
  background: #f8f8f8; 
}

/* ==========================================================================
   5. FORMS, HEADERS & CHECKOUT
   ========================================================================== */

.section-header { 
  background: #00217a; 
  color: white; 
  padding: 10px; 
  margin-top: 30px; 
  border-radius: 4px; 
}

.section2-header { 
  background: #0882b2; 
  color: white; 
  padding: 10px; 
  margin-top: 30px; 
  border-radius: 4px; 
}

.section3-header { 
  background: #d24818; 
  color: white; 
  padding: 10px; 
  margin-top: 30px; 
  border-radius: 4px; 
}

#epona-order-form table { 
  width: 100%; 
  border-collapse: collapse; 
  margin-bottom: 10px; 
}

#epona-order-form td { 
  padding: 12px 8px; 
  border-bottom: 1px solid #eee; 
}

.qty-input { 
  width: 50px; 
  padding: 8px; 
  text-align: center; 
  border: 1px solid #bbb; 
  border-radius: 4px; 
}

.price-tag { 
  color: #666; 
  font-size: 0.9em; 
}

.customer-info { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 15px; 
  background: #fdfdfd; 
  padding: 15px; 
  border: 1px solid #ddd; 
  border-radius: 8px; 
}

.full-width { 
  grid-column: span 2; 
}

label { 
  font-weight: bold; 
  font-size: 0.9em; 
}

input[type="text"], 
input[type="email"], 
select { 
  width: 100%; 
  padding: 10px; 
  box-sizing: border-box; 
  margin-top: 5px; 
  border: 1px solid #ccc; 
  border-radius: 4px; 
}

.market-notice { 
  background-color: #e8f4fd; 
  border-left: 5px solid #00217a; 
  padding: 20px; 
  border-radius: 4px; 
  margin-bottom: 30px; 
}

.pre-table { 
  width: 100%; 
  border-collapse: collapse; 
  margin-bottom: 10px; 
}

.pre-td { 
  padding: 12px 25px; 
  border-bottom: 1px solid #eee; 
}

/* ==========================================================================
   6. CHECKOUT REVIEW PAGE TWO-COLUMN LAYOUT
   ========================================================================== */

.checkout-wrapper {
  display: flex;
  flex-direction: row;
  gap: 30px;
  margin-bottom: 30px;
  align-items: flex-start;
}

.checkout-wrapper .column-left,
.checkout-wrapper .column-right {
  flex: 1;
  min-width: 300px;
}

#upsell-message h2 {
  color: #d9534f;
  text-align: left;
  margin-top: 0;
  font-size: 2.2em;
  font-weight: bold;
}

#upsell-message h3 {
  text-align: left;
  color: #333333;
}

@media (max-width: 768px) {
  .checkout-wrapper {
    flex-direction: column;
  }
}

/* Custom spacing for the market invitation block */
.text-block.market-invitation {
    margin-top: 30px;
    margin-bottom: 30px;
}

/* Prevents booth image from stretching and centers it */
.booth-img {
    max-width: 800px; /* Adjust this number to whatever size looks best */
    width: 100%;       /* Scales down gracefully on small mobile screens */
    height: auto;      /* Preserves natural aspect ratio without distortion */
    align-self: center; /* Prevents Flexbox from stretching the image container */
}

/* Center all content inside the social table cells */
.social-table td {
  text-align: center !important;
  padding: 15px;
}

/* Force paragraph tags inside the table cell to center their contents */
.social-table td p {
  text-align: center !important;
  margin: 10px 0;
}

/* Ensure social icon images align inline and stay centered */
.social-icons img {
  display: inline-block;
  margin: 4px 6px;
  vertical-align: middle;
}