/* ===================================================================
   Consolidated Stylesheet - Combined and Cleaned by File Agent
   Original files: R50.css, NAV.css, FOOTER.css, SOCIAL.css
   Date: September 28, 2025
   ================================================================== */

/* ===== VARIABLES (from R50.css) ===== */
:root {
  --primary-color: #4a90e2;
  --secondary-color: #93C1FF;
  --text-color: #333;
  --background-color: #f5f5f5;
  --accent-color: #DDE9FF;
  --shadow-color: #25221F;
  --extras-color: #add8e6; /* Light blue for extras */
  --success-color: #4CAF50;
  --warning-color: #f44336;
  --footer-bg: #2c3e50;
}

/* ===== BASE & TYPOGRAPHY (from NAV.css - Overrides R50.css) ===== */
body {
    font-family: "Handlee", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 18px;
    line-height: 1.4;
    color: #0F2A26;
    background-color: #f5f5dc; /* Fallback color - beige */
    background-image: url(/00img/layout/backgrounds/Background.jpg);
    background-attachment: fixed;
    background-repeat: repeat-y;
    background-size: 100%;
    scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, h6 {
    font-family: "Overlock", Impact, Palatino, 'Times New Roman', serif;
    font-style: italic;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #2c3e50;
}
h1, .h1 { font-size: 36px; }
h2, .h2 { font-size: 30px; }
h3, .h3 { font-size: 24px; }
h4, .h4 { font-size: 22px; }
p { font-size: 14pt; line-height: 24pt; }

/* ===== MAIN FORM STYLES (from R50.css) ===== */
main.container {
  padding: 2rem 0;
  min-height: calc(100vh - 180px);
}

.page-title {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 1rem;
}

.page-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 3px;
}

.page-subtitle {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 1.2rem;
  color: #666;
}

.order-form {
  background-color: var(--panel-bg);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  overflow: visible;
  position: relative;
}

.panel-container {
  display: flex;
  flex-direction: column;
  max-width: 1600px;
  margin: 0 auto;
  padding: 20px;
  max-width: 100vw;
  overflow-x: hidden;
  overflow-y: visible;
  position: relative;
}

.panel {
  padding: 2rem;
  border-bottom: 1px solid #eee;
  transition: all 0.5s ease;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: visible;
  box-sizing: border-box;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  position: relative;
}

.panel-header > div {
  flex-wrap: wrap !important;
}

.panel-content {
  margin-bottom: 0;
}

.step-oval {
  background-color: #007bff;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  font-weight: bold;
  margin-left: 10px;
}

.step-oval .step-text {
  font-variant: small-caps;
  margin-right: 4px;
}

.back-button {
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 5px;
  padding: 5px 10px;
  margin-right: 15px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

/* ===== PRODUCT & FRAME SELECTION (from R50.css) ===== */
.filter-section { margin-bottom: 2rem; }
.filter-row { margin-bottom: 1rem; }
.filter-title { font-size: 1.2rem; margin-bottom: 0.5rem; color: var(--text-color); }
.product-groups { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; justify-content: center; }
.group-button { background-color: white; border: 2px solid var(--accent-color); border-radius: 8px; padding: 0.5rem 1rem; font-size: 0.9rem; font-weight: bold; color: var(--text-color); cursor: pointer; transition: all 0.3s ease; }
.group-button:hover { background-color: var(--accent-color); transform: translateY(-2px); box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1); }
.group-button.active { background-color: var(--primary-color); border-color: var(--primary-color); color: white; }
.product-types { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1rem; justify-content: center; }
.product-types .product-type { background-color: var(--accent-color); border: 3px solid transparent; border-radius: 8px; padding: 1rem 1.5rem; cursor: pointer; transition: all 0.3s ease; font-weight: 500; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); min-width: 150px; text-align: center; }
.product-info .product-type { font-size: 1rem; color: #ffffff; text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8); margin: 0; }
.product-types .product-type:hover { background-color: var(--secondary-color); transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); }
.product-types .product-type.selected { border-color: var(--primary-color); background-color: var(--secondary-color); font-weight: bold; transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15); }
.product-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2rem; }
.product-card { background-color: white; border-radius: 10px; border: 2px solid #DDE9FF; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); overflow: visible; transition: all 0.4s ease; cursor: pointer; position: relative; width: 306px; height: 264px; margin: 10px; }
.product-item-id { position: absolute; top: 0; right: 0; margin: 0; background-color: rgba(255, 250, 205, 0.95); color: rgba(0, 0, 0, 0.8); padding: 3px 8px; border-radius: 0 0 0 15px; font-size: 14px; font-weight: bold; font-family: 'Enchanted', 'Handlee', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif; z-index: 3; box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3); }
.product-card:hover { width: 373px; height: 264px; margin: -5px -33px -5px -34px; z-index: 5; border: 3px solid #DDE9FF; box-shadow: 0 0 20px 5px rgba(37, 34, 31, 0.7); transform: scale(1.1); }
.product-card.selected { border: 3px solid var(--primary-color); transform: scale(1.05); box-shadow: 0 0 20px 5px rgba(74, 144, 226, 0.7); }
.product-card.selected::after { content: ''; position: absolute; top: -25px; right: -25px; width: 75px; height: 75px; background-image: url('https://www.meaning.name/00img/SLIDES/01_MENU/Checkmark.png'); background-size: contain; background-repeat: no-repeat; z-index: 100; box-shadow: none; overflow: visible; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 1.2rem; }
.product-image-container { width: 100%; height: 100%; overflow: visible; position: relative; }
.product-image { width: 100%; height: 100%; object-fit: cover; transition: opacity 1s ease; }
.product-image.thumbload { position: absolute; top: 0; left: 0; z-index: 1; }
.product-image.thumbover { position: absolute; top: 0; left: 0; z-index: 0; display: block !important; opacity: 0; }
.product-card:hover .product-image.thumbload { opacity: 0; width: 100%; height: 100%; }
.product-card:hover .product-image.thumbover { opacity: 1; width: 100%; height: 100%; }
.product-info { padding: 1rem; flex-grow: 1; display: flex; flex-direction: column; justify-content: flex-end; position: absolute; bottom: 0; left: 0; width: 100%; background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.5) 70%, rgba(0,0,0,0) 100%); z-index: 2; }
.product-title { font-size: 1.2rem; margin-bottom: 0.3rem; color: #ffffff; text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8); font-weight: bold; }
.preview-section { display: flex; flex-direction: column; gap: 0; margin-bottom: 0; max-width: 100%; overflow-x: hidden; overflow-y: visible; }
.item-title-area { margin-bottom: 0; padding: 1rem; background-color: #DDE9FF; border-radius: 8px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); text-align: left; }
.item-title-area h3 { display: inline-block; margin-right: 10px; margin-bottom: 5px; }
.item-title-area p { display: inline-block; color: #333; }
.preview-container { position: relative; margin-bottom: 0; border-radius: 12px; overflow: visible; margin-right: 25px; box-shadow: none; max-width: 100%; overflow-x: hidden; overflow-y: visible; }
.image-wrapper { position: relative; width: 100%; height: auto; display: flex; align-items: flex-start; justify-content: center; min-height: 400px; background-color: #f9f9f9; max-width: 100%; overflow-x: hidden; overflow-y: visible; }
.preview-image { width: 100%; height: auto; display: block; max-width: 100%; }
.preview-overlay { position: absolute; top: 0; left: 0; width: 100%; height: auto; pointer-events: none; z-index: 2; max-width: 100%; }
.frame-options-container { display: flex; flex-direction: column; margin-bottom: 0; }
.frame-options-title { font-size: 1.2rem; margin-bottom: 15px; color: #2c3e50; text-align: center; }
.frame-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 1rem; margin-bottom: 15px; }
.frame-option { border: 3px solid transparent; border-radius: 8px; overflow: visible; cursor: pointer; transition: all 0.3s ease; position: relative; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); }
.frame-option:hover { transform: scale(1.05); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15); }
.frame-option.selected { border-color: var(--success-color); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); }
.frame-image { width: 100%; height: auto; }
.frame-info { padding: 0.75rem; text-align: center; background-color: var(--accent-color); }
.frame-title { font-size: 0.9rem; margin: 0; font-weight: 500; }
.frame-option.selected::after { content: ''; position: absolute; top: -25px; right: -25px; width: 75px; height: 75px; background-image: url('https://www.meaning.name/00img/SLIDES/01_MENU/Checkmark.png'); background-size: contain; background-repeat: no-repeat; z-index: 100; box-shadow: none; overflow: visible; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 1.2rem; }

/* ===== EXTRAS, FORMS, & BUTTONS (from R50.css) ===== */
.music-options-area { background-color: #e3f2fd; border-radius: 8px; padding: 1.5rem; margin-top: 1.5rem; display: none; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); animation: fadeIn 0.5s ease; }
.music-options-area h3 { margin-bottom: 1rem; color: #1565c0; }
.greeting-card-area { background-color: #e8f5e9; border-radius: 8px; padding: 1.5rem; margin-top: 1.5rem; display: none; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); animation: fadeIn 0.5s ease; }
.greeting-card-area h3 { margin-bottom: 1rem; color: #2e7d32; }
.extras-section { margin-bottom: 2rem; }
.extras-title { font-size: 1.2rem; margin-bottom: 1rem; color: #2c3e50; }
.extras-options { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin: 0 auto 1.5rem; width: 100%; max-width: 100%; align-items: flex-start; }
.extras-option { flex-shrink: 0; margin-bottom: 1rem; background-color: var(--extras-color); border: 3px solid transparent; border-radius: 8px; padding: 5px; cursor: pointer; transition: all 0.3s ease; position: relative; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); display: flex; flex-direction: column; align-items: center; text-align: center; height: auto; }
.extras-option-bookmark { max-width: 174px !important; width: 100% !important; height: auto; }
.extras-option-namecard { flex-basis: 280px; width: 280px; height: auto; }
.extras-option-greeting-card { flex-basis: 280px; width: 280px; height: auto; }
.extras-option-proof { flex-basis: 204px; width: 204px; height: auto; }
.extras-option-inscription { flex-basis: 204px; width: 204px; height: auto; }
.extras-checkbox { position: absolute; opacity: 0; width: 1px; height: 1px; overflow: visible; }
.extras-image { display: block; margin: 0 auto 10px; max-width: 100%; height: auto; border-radius: 5px; }
.extras-image-bookmark { max-height: 100%; object-fit: contain; }
.extras-option:hover { background-color: #9ac5d3; transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15); }
.extras-option.selected { border-color: var(--success-color); background-color: #7ab5c7; font-weight: bold; transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15); }
.extras-option.selected::after { content: ''; position: absolute; top: -25px; right: -25px; width: 75px; height: 75px; background-image: url('https://www.meaning.name/00img/SLIDES/01_MENU/Checkmark.png'); background-size: contain; background-repeat: no-repeat; z-index: 100; box-shadow: none; overflow: visible; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 1.2rem; }
#inscription-container { background-color: #e8f5e9; border-radius: 8px; padding: 1.5rem; margin: 1rem auto 1.5rem; display: none; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); animation: fadeIn 0.5s ease; width: 100%; }
#options-container { width: 100%; margin: 0 auto; }
.form-group { margin-bottom: 1.5rem; }
#name-input { font-size: 2em; text-align: center; padding: 10px; width: 100%; max-width: 500px; margin: 0 auto; display: block; }
label { display: block; margin-bottom: 0.5rem; font-weight: 500; color: #2c3e50; }
input[type="text"], textarea, select { width: 100%; padding: 0.75rem 1rem; border: 1px solid #ddd; border-radius: 6px; font-family: inherit; font-size: 1rem; transition: all 0.3s ease; box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1); }
input[type="text"]:focus, textarea:focus, select:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2), inset 0 1px 3px rgba(0, 0, 0, 0.1); }
select { appearance: none; background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E"); background-repeat: no-repeat; background-position: right 0.7rem top 50%; background-size: 0.65rem auto; padding-right: 2rem; }
.character-count { font-size: 0.85rem; color: #666; text-align: right; margin-top: 0.25rem; }
.name-input-section { background-color: #f1f8ff; border-radius: 8px; padding: 1.5rem; margin: 1.5rem auto 0; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); width: 100%; }
.name-input-title { font-size: 1.3rem; margin-bottom: 1rem; color: #2c3e50; text-align: center; }
.btn { display: inline-block; background-color: var(--primary-color); color: white; border: none; border-radius: 6px; padding: 0.75rem 1.5rem; font-size: 1rem; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); font-weight: 500; }
.btn:hover { background-color: #3a80d2; transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); }

.btn-next {
  background-color: var(--success-color);
  color: white;
  border: none;
  border-radius: 6px;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  display: inline-block;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.btn-next:hover {
  background-color: #3d8b40;
  transform: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.add-to-cart-container {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.warning {
  color: var(--warning-color);
  font-size: 0.9rem;
  margin-top: 0.5rem;
  display: none;
  background-color: rgba(244, 67, 54, 0.1);
  padding: 0.5rem;
  border-radius: 5px;
  border-left: 3px solid var(--warning-color);
}

#et-warning {
  color: #28a745;
  background-color: rgba(40, 167, 69, 0.1);
  border-left: 3px solid #28a745;
}

.loading-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
}

.loading-spinner {
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-left-color: var(--primary-color);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.error-message {
  color: #dc3545;
  padding: 1rem;
  border: 1px solid #dc3545;
  border-radius: 6px;
  margin-bottom: 1rem;
  background-color: rgba(220, 53, 69, 0.1);
}

  /* Custom styles for highlighting the active product type in the dropdown menu */
  .dropdown-menu > li > a.navblue-item {
    background-color: #337ab7 !important; /* Blue for PL */
    color: #fff !important;
  }
  .dropdown-menu > li > a.navteal-item {
    background-color: #52a8a8 !important; /* Teal for ET & NC */
    color: #fff !important;
  }
  .dropdown-menu > li > a.navyellow-item {
    background-color: #f0ad4e !important; /* Yellow for MG */
    color: #fff !important;
  }
  .dropdown-menu > li > a.navpurple-item {
    background-color: #8e44ad !important; /* Purple for MB */
    color: #fff !important;
  }
  .dropdown-menu > li > a.navtan-item {
    background-color: #c2a686 !important; /* Tan for BM */
    color: #fff !important;
  }
  .dropdown-menu > li > a.navdarkblue-item {
    background-color: #2c3e50 !important; /* Dark Blue for GC */
    color: #fff !important;
  }


.horizontal-menu-container { width: 100%; max-width: 100%; margin-bottom: 15px; padding: 0 10px; box-sizing: border-box; position: relative; overflow: visible; contain: layout style; }
.horizontal-menu-wrapper { position: relative; width: 100%; overflow: visible; }
.horizontal-menu-scroll { width: 100%; overflow-x: auto; overflow-y: visible; scrollbar-width: none; scrollbar-color: #ddd #f5f5f5; padding: 30px 0; }
.horizontal-menu-scroll::-webkit-scrollbar { height: 6px; }
.horizontal-menu-scroll::-webkit-scrollbar-track { background: #f5f5f5; border-radius: 3px; }
.horizontal-menu-scroll::-webkit-scrollbar-thumb { background: #ddd; border-radius: 3px; }
.horizontal-menu { display: inline-flex; gap: 10px; padding: 10px 0; white-space: nowrap; min-width: 100%; }
.horizontal-menu-item { border-radius: 5px; display: inline-block; width: 169px; height: 121px; border: 3px solid transparent; transition: all 0.3s ease; background: white; cursor: pointer; overflow: visible; flex-shrink: 0; position: relative; z-index: 1; }
.horizontal-menu-item img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.horizontal-menu-item:hover { transform: none; z-index: 25; box-shadow: 0 4px 8px rgba(0,0,0,0.2); margin: 0 5px; }
.horizontal-menu-item.selected { border: 3px solid #4CAF50; transform: none; z-index: 20; box-shadow: 0 4px 12px rgba(0,255,0,0.3); position: relative; margin: 0 10px; }
.horizontal-menu-item.selected::after { content: ''; position: absolute; top: -15px; right: -15px; width: 50px; height: 50px; background-image: url('https://www.meaning.name/00img/SLIDES/01_MENU/Checkmark.png'); background-size: contain; background-repeat: no-repeat; background-position: center; z-index: 100; pointer-events: none; border-radius: 50%; }
.scroll-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0, 0, 0, 0.5); color: white; border: 1px solid black; border-radius: 50%; width: 40px; height: 40px; font-size: 20px; cursor: pointer; z-index: 30; display: flex; align-items: center; justify-content: center; }
.scroll-arrow:hover { background: rgba(0, 0, 0, 0.7); }
.scroll-left { left: 0; }
.scroll-right { right: 0; }
.description-container { max-height: 24px; overflow: hidden; transition: max-height 1s ease-in-out; position: relative; }
.description-container.expanded { max-height: 1000px; }
.description-text { color: #333; font-size: 16px; line-height: 1.5; transition: opacity 1s ease-in-out; opacity: 0.8; }
.description-container:not(.expanded) .description-text { opacity: 0.8; }
.description-container.expanded .description-text { opacity: 1; }
.description-toggle { color: #007cba; cursor: pointer; font-size: 14px; margin-top: 8px; text-decoration: underline; font-weight: bold; display: inline-block; transition: color 0.3s ease; }
.description-toggle:hover { color: #005a87; }
.hidden { display: none; }
.next-step-container { margin-top: 25px; padding: 15px; text-align: right; position: relative; order: 999; }

/* ===== MODAL STYLES (from R50.css) ===== */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); display: flex; justify-content: center; align-items: center; z-index: 10000; }
.modal-content { background: white; padding: 25px; border-radius: 10px; box-shadow: 0 5px 20px rgba(0,0,0,0.3); text-align: center; max-width: 90%; width: 600px; }
#modal-message { font-size: 1.2rem; margin-bottom: 20px; color: #333; }
#modal-discount-info { background-color: #f1f8ff; border: 1px solid #b8daff; border-radius: 8px; padding: 15px; margin-bottom: 20px; text-align: left; font-size: 0.9rem; color: #004085; }
#modal-discount-info h3 { margin-top: 0; font-size: 1.1rem; color: #004085; font-weight: bold; }
.modal-buttons { display: flex; justify-content: center; gap: 15px; }

/* ===== NAVIGATION STYLES (from NAV.css) ===== */
.nav-theme { -webkit-box-shadow: inset 0 1px 29px rgba(66,66,67,0.40); box-shadow: inset 0 1px 29px rgba(66,66,67,0.40); border-left: 0px ridge rgba(255,255,255,1.00); border-right: 0px ridge rgba(255,255,255,1.00); border-bottom: 3px ridge rgba(255,255,255,1.00); border-top: 3px ridge rgba(255,255,255,1.00); }
.navblue { background-color: rgba(182,213,233,1.00); }
.navgreen { background-color: rgba(161,212,140,1.00); }
.navteal { background-color: rgba(134,223,216,1.00); }
.navpurple { background-color: rgba(233,190,237,1.00); }
.navtan { background-color: rgba(215,198,148,1.00); }
.navdarkblue { -webkit-box-shadow: inset 0 1px 15px rgba(19,48,115,0.85); box-shadow: inset 0 1px 15px rgba(0,13,45,0.85); background-color: rgba(204,220,240,1.00); }
.navdarkblue a { color: #000000; }
.nav > li > a, .navbar-nav > li > a, .dropdown-menu > li > a, .nav-tabs > li > a, .navbar-brand { color: #000000 !important; }
.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus { color: #000000 !important; background-color: transparent; border: 1px solid #ddd; border-bottom-color: transparent; }
.dropdown-menu > li > a { font-size: 22px; }
.dropdown-menu { border: none; box-shadow: 0 5px 15px rgba(0,0,0,0.2); z-index: 9997 !important; position: absolute !important; left: 0 !important; right: auto !important; }
.dropdown-menu-right, #Research + .dropdown-menu, .navbar-right .dropdown-menu { left: auto !important; right: 0 !important; }
#myTabDrop2 + .dropdown-menu { left: 50% !important; right: auto !important; transform: translateX(-50%) !important; }
.tab-content { background: white; border: 1px solid #ddd; border-top: none; padding: 0px; min-height: auto; }
.tab-pane, .container, .container-fluid { overflow: visible !important; }
.nav-tabs { border-bottom: 2px solid #ddd; }
.nav-tabs > li > a { border-radius: 4px 4px 0 0; color: white; font-weight: bold; font-size: 22px; }
.ct_topnav { position: relative; display: flex; align-items: center; justify-content: flex-end; padding: 10px; background-image: url("/00img/layout/backgrounds/logmenu1.jpg"); box-shadow: inset 0 6px 37px rgba(24,37,67,.4); border-radius: 5px 0px 5px 30px / 10px 0px 10px 30px; margin-top: -10px; margin-left: 28%; z-index: 1000; width: 72%;}
.ct_nav_items { display: flex; align-items: center; }
.ct_cart_btn { display: inline-block; padding: 8px 15px; background-color: #5bc0de; color: white; border-radius: 4px; text-decoration: none; margin: 0 10px; font-size: 20px; font-family: Cambria, 'Hoefler Text', 'Liberation Serif', Times, 'Times New Roman', serif; }
.ct_cart_icon { margin-right: 5px; }
.ct_phone_btn { display: inline-block; padding: 8px 15px; background-color: rgba(134,223,216,1.00); color: #000; border-radius: 4px; text-decoration: none; margin: 0 10px; font-size: 20px; font-family: Cambria, 'Hoefler Text', 'Liberation Serif', Times, 'Times New Roman', serif; }
.ct_dropdown { position: relative; display: inline-block; }
.ct_dropdown_btn { padding: 8px 15px; background-color: transparent; color: #000; border: none; cursor: pointer; font-size: 20px; font-family: Cambria, 'Hoefler Text', 'Liberation Serif', Times, 'Times New Roman', serif; }
.ct_arrow_down { font-size: 12px; margin-left: 5px; }
.ct_dropdown_content { display: none; position: absolute; right: 0; background-color: #fff; min-width: 200px; box-shadow: 0 8px 16px rgba(0,0,0,0.2); z-index: 1001; border-radius: 4px; border: 1px solid #ddd; }
.ct_dropdown_content.ct_show { display: block; }
.ct_dropdown_header { padding: 10px; text-align: center; font-size: 18px; font-family: Cambria, 'Hoefler Text', 'Liberation Serif', Times, 'Times New Roman', serif; }
.ct_phone_container { text-align: center; padding-bottom: 10px; }
.ct_phone_number { display: inline-block; padding: 8px 15px; background-color: #5cb85c; color: white; border-radius: 4px; text-decoration: none; font-size: 26px; font-family: Cambria, 'Hoefler Text', 'Liberation Serif', Times, 'Times New Roman', serif; }
.ct_dropdown_item { display: block; padding: 10px 15px; color: #333; text-decoration: none; font-size: 18px; font-family: Cambria, 'Hoefler Text', 'Liberation Serif', Times, 'Times New Roman', serif; }
.ct_dropdown_item:hover { background-color: #f5f5f5; }
.ct_dropdown_divider { height: 1px; background-color: #ddd; margin: 5px 0; }
.ct_very_small_only { display: none; }

/* ===== FOOTER & SOCIAL STYLES (from FOOTER.css & SOCIAL.css) ===== */
.footer-info-cards { margin-top: 40px; margin-bottom: 40px; }
.info-card { background-color: #f8f9fa; border-radius: 8px; padding: 20px; height: 100%; box-shadow: 0 2px 5px rgba(0,0,0,0.1); transition: transform 0.3s ease; margin-bottom: 20px; }
.info-card:hover { transform: translateY(-5px); }
.info-card h3 { color: #3da5d9; margin-top: 0; margin-bottom: 15px; font-weight: bold; }
.info-card p { color: #333; line-height: 1.6; }
.phone-tooltip { color: #3da5d9; text-decoration: underline; cursor: help; }
#newsletter-signup-btn { background-color: #3da5d9; border: none; padding: 8px 16px; margin: 10px 0; font-weight: bold; }
.small-print { font-size: 12px; color: #666; margin-top: 10px; }
.product-slideshow-card { padding: 10px; }
#product-slideshow { border-radius: 8px; overflow: hidden; }
.carousel-inner img { width: 100%; border-radius: 8px; }
#newsletter-modal .modal-content { border-radius: 8px; }
#newsletter-modal .modal-header { background-color: #3da5d9; color: white; border-top-left-radius: 8px; border-top-right-radius: 8px; }
#newsletter-modal .modal-title { font-weight: bold; }
#mc_embed_signup { background: #fff; clear: left; font: 14px Helvetica, Arial, sans-serif; width: 100%; max-width: 100%; }
.mc-field-group { padding-bottom: 15px; }
#mc-embedded-subscribe { background-color: #3da5d9 !important; }
.social-share-container { display: flex; align-items: center; margin-top: 15px; padding: 10px; background: #f8f9fa; border-radius: 5px; border: 1px solid #e9ecef; }
.share-text { margin-right: 10px; font-size: 14px; color: #555; font-weight: 500; }
.social-share-btn { width: 36px; height: 36px; border-radius: 50%; border: none; margin: 0 5px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: transform 0.2s; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.social-share-btn:hover { transform: scale(1.1); }
.facebook-btn { background-color: #3b5998; color: white; }
.pinterest-btn { background-color: #bd081c; color: white; }
.social-share-btn i { font-size: 18px; }

/* --- Multi-Color Pastel Dropdown Menu Styling --- */
#myTabDrop1-contents > li > a {
  color: #000 !important; /* Make text black on all colored buttons */
  font-weight: normal; /* Changed from bold to normal */
}

/* 1. 5x7 NamePlaques™ (PL) - Pastel Blue */
#myTabDrop1-contents > li:nth-child(1) > a { background-color: #a9d6e5 !important; }

/* 2. 8x10 Plaques (ET) - Pastel Teal */
#myTabDrop1-contents > li:nth-child(2) > a { background-color: #bce2d6 !important; }

/* 3. Coffee Mugs (MG) - Pastel Yellow */
#myTabDrop1-contents > li:nth-child(3) > a { background-color: #fdeec9 !important; }

/* 4. Music Boxes (MB) - Pastel Purple */
#myTabDrop1-contents > li:nth-child(4) > a { background-color: #d8bde2 !important; }

/* 5. NameCards™ (NC) - Pastel Teal */
#myTabDrop1-contents > li:nth-child(5) > a { background-color: #bce2d6 !important; }

/* 6. Bookmarks (BM) - Pastel Tan */
#myTabDrop1-contents > li:nth-child(6) > a { background-color: #e9e0d6 !important; }

/* 7. Greeting Cards (GC) - Pastel Slate Blue */
#myTabDrop1-contents > li:nth-child(7) > a { background-color: #d4e6f1 !important; }

/* --- Hover Effects for Pastel Buttons --- */
/* A slightly darker shade for better UX on hover */
#myTabDrop1-contents > li:nth-child(1) > a:hover { background-color: #93c1d1 !important; }
#myTabDrop1-contents > li:nth-child(2) > a:hover { background-color: #a9d1c3 !important; }
#myTabDrop1-contents > li:nth-child(3) > a:hover { background-color: #f8e3b3 !important; }
#myTabDrop1-contents > li:nth-child(4) > a:hover { background-color: #c3a6d2 !important; }
#myTabDrop1-contents > li:nth-child(5) > a:hover { background-color: #a9d1c3 !important; }
#myTabDrop1-contents > li:nth-child(6) > a:hover { background-color: #d8c9b7 !important; }
#myTabDrop1-contents > li:nth-child(7) > a:hover { background-color: #b9d7e9 !important; }


/* ===== RESPONSIVE STYLES (Consolidated) ===== */
@media (min-width: 768px) {
  .panel-container { flex-direction: row; flex-wrap: wrap; }
  .panel { flex: 1 1 100%; }
  #inscription-container, #options-container, .name-input-section { width: 50%; }
}
@media (min-width: 992px) {
  .panel-2 .panel-header { order: 1; margin-bottom: 1rem; }
  .panel-2 .next-step-container { order: 999; margin-top: 25px; width: 100%; }
  .panel-2 .horizontal-menu-container { order: 2; }
  .panel-2 .preview-section { order: 3; display: flex; flex-direction: row; gap: 0; }
  .panel-2 .panel-content { display: flex; flex-direction: column; }
  .panel-2 .preview-container { flex: 3; }
  .panel-2 .frame-options-container { flex: 2; display: flex; flex-direction: column; }
  .panel-2 .item-title-area { order: -1; margin-bottom: 0px; }
  .preview-section { flex-direction: row; align-items: flex-start; }
  .preview-container { flex: 3; }
  .frame-options-container { flex: 2; display: flex; flex-direction: column; }
  .ct_topnav {margin-left: 60%;width: 40%;}
}
@media (max-width: 991px) {
  .panel-2 .panel-header { margin-bottom: 1rem; }
  .panel-2 .horizontal-menu-container { order: 1; }
  .panel-2 .preview-section { order: 2; flex-direction: column; }
  .panel-2 .item-title-area { order: 3; margin-bottom: 0px; }
  .panel-2 .frame-options-container { order: 4; }
  .product-card { width: auto; height: auto; flex-basis: calc(50% - 1rem); max-width: calc(50% - 1rem); aspect-ratio: 306 / 264; margin: 0; }
  .product-card:hover { width: auto; height: auto; margin: 0; transform: scale(1.1); z-index: 5; }
  .extras-option { flex-basis: calc(50% - 0.5rem) !important; width: calc(50% - 0.5rem) !important; max-width: none !important; }
  .product-types .product-type { flex-basis: calc(50% - 0.5rem); min-width: 120px; padding: 0.8rem 1rem; }
}
@media (max-width: 775px) {
  .panel { padding-left: 15px; padding-right: 15px; }
}
@media (max-width: 767px) {
  .horizontal-menu-item { flex: 0 0 120px; height: 85px; }
  .scroll-arrow { width: 35px; height: 35px; font-size: 18px; }
  .extras-options { justify-content: space-between; }
  .extras-option-bookmark, .extras-option-namecard, .extras-option-greeting-card, .extras-option-proof, .extras-option-inscription { flex-basis: 48%; width: 48%; max-width: 180px; }
  .product-slideshow-card { margin-top: 20px; }
  .ct_nav_items { display: flex !important; flex-direction: row !important; width: auto !important; margin-top: 0 !important; }
  .ct_menu_toggle { display: none !important; }
  .ct_dropdown { display: block !important; width: auto !important; position: static !important; margin: 5px 10px !important; }
  .ct_dropdown_btn { display: inline-block !important; padding: 8px 15px !important; font-size: 18px !important; }
  .ct_dropdown_content { position: absolute !important; width: 200px !important; box-shadow: 0 8px 16px rgba(0,0,0,0.2) !important; border: 1px solid #ddd !important; border-left: none !important; margin-left: 0 !important; }
  .ct_cart_btn { display: inline-block !important; padding: 6px 12px !important; margin: 5px !important; }
}
@media (max-width: 576px) {
  .panel-container { padding: 0; margin: 0; max-width: 100%; width: 100%; }
  .horizontal-menu-item { width: min(120px, 30vw); height: min(85px, 21vw); }
  .extras-option-bookmark, .extras-option-namecard, .extras-option-greeting-card, .extras-option-proof, .extras-option-inscription { flex-basis: 48%; width: 48%; max-width: 48%; }
.ct_topnav {margin-left: 0%;width: 100%;}
.ct_nav_items { display: flex; align-items: center; }
}
@media (max-width: 544px) {
  main.container, .order-form, .panel-container { width: 100% !important; padding-left: 0 !important; padding-right: 0 !important; margin-left: 0 !important; margin-right: 0 !important; }
}
@media (max-width: 499px) {
  .product-card { flex-basis: 90%; max-width: 90%; }
}
@media (max-width: 480px) {
  .ct_cart_text { display: none !important; }
  .ct_very_small_only { display: inline-block; }
}
@media (max-width: 460px) {
  .extras-option { flex-basis: 100% !important; width: 100% !important; }
}
@media (max-width: 400px) {
  .product-types .product-type { flex-basis: 100%; }
}
