body, html {
	background: #fffdc8 !important;
}

/* Force centering for step subtext elements */
#step-subtext-1 h3,
#step-subtext-1 p,
#step-subtext-2 h3,
#step-subtext-2 p,
#step-subtext-3 h3,
#step-subtext-3 p {
	text-align: center !important;
	margin-left: auto !important;
	margin-right: auto !important;
	display: block !important;
}

.tacogram {
	padding: 2rem 1rem;
	background: #fffdc8;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.tacogram .container {
	background: transparent;
}

.header-section {
	display: grid;
	grid-template-columns: 1fr 2fr 1fr;
	align-items: center;
	padding: 0 2rem;
	width: 100%;
}

.logo-section {
	display: flex;
	align-items: center;
	gap: 1rem;
	justify-self: start;
}

.logo-link {
	display: flex;
	align-items: center;
	text-decoration: none;
}

.hero-logo {
	width: 240px;
	height: auto;
	margin-bottom: 2.5rem;
}

.progress-container {
	margin: 0;
	max-width: none;
	justify-self: center;
}

.title-primary {
    font-size: 2rem;
    font-weight: 700;
    color: #2c2c2c;
    font-family: 'Raleway', Arial, sans-serif;
}

.title-secondary {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 0.5rem;
    font-family: 'Raleway', Arial, sans-serif;
    text-align: center;
    width: 100%;
}

/* Hero Section Styles */
.hero-section {
	padding: 4rem 2rem 0rem 2rem;
	background: #fffdc8;
}

.hero-content {
	max-width: 55%;
	min-width: 1100px;
	margin: 0 auto;
	padding: 0 1rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}


.text-description {
    font-size: 1rem;
    color: #2c2c2c;
    line-height: 1.4;
    margin: 0;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
    margin: 0 auto;
    width: 100%;
}

.tacogram .message-container {
    min-height: 13rem;
	width: 100%;
}

/* Step Subtext Section Styles */
.step-subtext-section {
    text-align: center;
    padding: 1rem;
    background: #fffdc8;
    width: 100%;
}

.step-subtext {
    display: none;
    margin: 0 auto;
}

.step-subtext.active {
    display: block;
    text-align: center !important;
}

.step-subtext.active h3,
.step-subtext.active p,
.step-subtext.active .title-secondary,
.step-subtext.active .text-description {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.back-arrow-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
}


.progress-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem 0;
    position: relative;
    width: 70%;
}

.progress-steps {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    gap: 1rem;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.progress-step-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
 }

.progress-step img {
    width: 64px;
    height: auto;
    opacity: .4;
    transition: opacity 0.3s ease;
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

.progress-step.active .progress-step-icon img{
    filter: grayscale(0%);
    opacity: 1;
    }

.progress-step.completed .progress-step-icon img{
    filter: grayscale(0%);
    opacity: 1;
    }
    
.progress-step-title {
    visibility: hidden;
    min-height: 64px;
}

.progress-step.active .progress-step-title {
    visibility: visible;
    font-weight: bold;
    font-size: 1rem;
    color: black;
    font-family: 'Raleway', Arial, sans-serif;
    min-height: 64px;
    line-height: normal;
}

.progress-line-fill {
    width: 6rem;
    height: 4px;
    background: #E8E8E8;
    border-radius: 2px;
    position: relative;
    z-index: 1;
}

.progress-line-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    border-radius: 2px;
    transition: width 0.8s ease;
    z-index: 2;
}

.progress-line-fill.completed::after {
    width: 100%;
}

.step-content {
    display: none;
}

.step-content.active{
    display: block;
}

.tacogram-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
}

.tacogram-shell {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
    width: 100%;
    padding: 1rem;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.tacogram-shell:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
}

.tacogram-shell.selected {
    background: #FFE315 !important;
    border-color: #FFE315 !important;
}

.tacogram-shell-icon {
    width: 96px;
    height: 96px;
    flex-shrink: 0;  
    display: grid;
    place-items: center;  
    overflow: hidden;       
    position: relative;
}

.tacogram-shell-icon img{
    width: 96px;
    height: 96px;
    object-fit: contain;   
    display: block;
}

.tacogram-shell-content{
    flex: 1;
}

.tacogram-shell-content h3 {
    font-family: 'Raleway', sans-serif !important;
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0 0 0 0.25rem 0;
}

.tacogram-shell-content p {
    font-size: 0.75rem;
    color: #333;
    margin: 0;
    line-height: 1.4;
}

.tacogram-shell-btn {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
}

.taco-feature-container {
    display: flex;
    justify-content: center;
    align-items: stretch;   
    gap: 3rem;            
    max-width: 55%;      
    margin: 2.5rem auto; 
}

.taco-feature-container h2{
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 1rem;
}

.taco-feature-container p{
    font-size: 1rem;
    color: black;
    margin-top: 0;
    line-height: normal;
    font-family: 'Montserrat', sans-serif;
}

.left-column h2 {
  text-align: center;
  margin: 0 auto;
}

.left-column .btn-get-started {
  display: block;
  margin: 0 auto;
}

.steps-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  margin-top: 2rem;
}

.steps-container .step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 0 0 25%;
}

.steps-container .step .row {
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0;
}

.steps-container .step .col {
  padding: 0;
  max-width: 75%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.steps-container .step .col-auto {
  display: flex;
  justify-content: center;
  align-items: center;
}

.steps-container .step img {
  margin: 0 auto;
  display: block;
}

.right-column {
  flex: 0 0 60%; 
  display: flex;          /* needed for child to stretch */
}

.taco-feature-container .scroll-container img {
    width: 100%;             
    height: 100%;     
    object-fit: cover;    
    display: block;
}

.taco-feature-container .scroll-container {
    display: flex;
    align-items: flex-start;
}

.navigation-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1rem;
}

.nav-button-left {
    display: flex;
    justify-content: flex-start;
}

.nav-button-right {
    display: flex;
    justify-content: flex-end;
}

.navigation-section button {
    width: 12.5rem;
}

.navigation-section button:hover:not(:disabled) {
    background: #e9cf09 !important;
}

/* Success page achievement section */
.achievement-text {
    font-size: 1.15rem;
    color: #2c2c2c;
    margin: 1rem 0 0 0;
    font-weight: 400;
    text-align: center;
    line-height: 1.6;
}

/* Success page CTA section */
.success-cta-section {
    width: 100%;
    margin: 0;
    text-align: center;
}

.achievement-message {
    margin-bottom: 0;
    margin-top: 1.5rem;
    text-align: center;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    white-space: nowrap;
}

.secondary-content {
    margin-top: 1rem;
}

.secondary-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c2c2c;
    margin: 0;
}

.secondary-content p {
    font-size: 1.05rem;
    color: #666;
}

/* Override btn-secondary width in success page to be flexible */
.secondary-content .btn-secondary {
    width: auto !important;
    min-width: auto !important;
    max-width: none !important;
    padding: 1rem 2rem !important;
    margin-top: 1rem !important;
}

/* Override btn-primary margin in success page cta-buttons */
.cta-buttons .btn-primary {
    margin: 0 !important;
}

#prevBtn {
    width: 12.5rem; 
    justify-self: left;
}

#nextBtn {
    width: 12.5rem; 
    justify-self: end;
}

#nextBtn:disabled {
    background: #fff398 !important;
    border-color: #fff398 !important;
}

.tacogram-selected-header {
    margin-bottom: 1rem;
    padding: 1rem;
    border-bottom: 2px solid rgb(26, 26, 26);
}

.selected-shell-display {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

.selected-shell-image {
    width: 96px;
    height: 96px;
    object-fit: contain;
    padding: 8px;
}

.selected-shell-title {
    margin: 0;
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
}

.message-section {
    margin-bottom: 2rem;
}

.message-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.message-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.message-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.message-title {
    color: #2c2c2c;
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
    font-family: 'Raleway', Arial, sans-serif;
    line-height: 1.3;
}

.message-description {
    color: #555;
    margin-bottom: 1rem;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.6;
    font-family: 'Montserrat', sans-serif;
}

.input-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.input-group {
    flex: 1;
}

.input-group label {
    display: block;
    margin-bottom: 0.75rem;
    color: #2c2c2c;
    font-weight: 500;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    text-align: left;
}

.input-group input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e1e5e9;
    border-radius: 8px !important;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    text-align: left;
}

.input-group input:focus {
    outline: none;
    border-color: #e9cf09;
    box-shadow: 0 0 0 3px rgba(233, 207, 9, 0.15);
}

.tacogram-textarea-container{
    position: relative;
    width: 100%;
    margin: 0 auto;
    display: block;
    margin-bottom: 0.5rem;
}

.tacogram-textarea-container p {
    margin-bottom: 0.5rem;
    color: #2c2c2c;
    font-weight: 500;
    font-size: 1.1rem;
    font-family: 'Montserrat', sans-serif;
}

.tacogram-textarea {
    width: 100%;
    min-height: 200px;
    padding: 1.5rem;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    background: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    resize: vertical;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.tacogram-textarea:focus {
    border-color: #e9cf09;
    box-shadow: 0 0 0 3px rgba(233, 207, 9, 0.15);
}

.tacogram-textarea::placeholder {
    color: #999;
    font-style: italic;
}
.gif-search-container {
    margin-bottom: 1rem;
    padding: 0 1rem;
    position: sticky;
    top: 0;
    z-index: 10;
    background: #ffffff;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.gif-search-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
    background: #ffffff;
}

.gif-search-input:focus {
    outline: none;
    border-color: #e9cf09;
}

.gif-search-input::placeholder {
    color: #6c757d;
    font-style: italic;
}

.gif-picker {
    display: flex;
    flex-direction: column;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px solid #e1e5e9;
    margin-bottom: 1rem;
    overflow: hidden;
    margin-top: 0;
}

.gif-search-container {
    padding: 1rem;
    background: #f8f9fa;
    border-bottom: 1px solid #e1e5e9;
    margin-bottom: 0;
    margin-top: 0;
    box-shadow: 0 ;
}

.gif-search-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
    background: #ffffff;
}

.gif-search-input:focus {
    outline: none;
    border-color: #e9cf09;
    box-shadow: 0 0 0 3px rgba(233, 207, 9, 0.15);
}

.gif-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    padding: 1rem;
    max-height: 24rem;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #e9cf09 transparent;
    background: #f8f9fa;
    width: 100%;
    box-sizing: border-box;
    flex: 1;
}

.gif-option {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    max-width: 200px;
    margin: 0 auto;
}

.gif-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.gif-image-wrapper {
    flex: 1;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.gif-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gif-title {
    background: white;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    text-align: center;
    border-radius: 0 0 12px 12px;
    border-top: 1px solid #e9ecef;
    font-family: 'Raleway', Arial, sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gif-option:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border-color: #e9cf09;
}

.gif-option.selected {
    border-color: #e9cf09;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.gif-option.loading {
    background: linear-gradient(45deg, #f0f0f0 25%, transparent 25%), 
                linear-gradient(-45deg, #f0f0f0 25%, transparent 25%), 
                linear-gradient(45deg, transparent 75%, #f0f0f0 75%), 
                linear-gradient(-45deg, transparent 75%, #f0f0f0 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    animation: loading 1s linear infinite;
}

@keyframes loading {
    0% { background-position: 0 0, 0 10px, 10px -10px, -10px 0px; }
    100% { background-position: 20px 20px, 20px 30px, 30px 10px, 10px 20px; }
}

.gif-placeholder {
    color: #999;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.selected-gif-preview {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border-radius: 12px;
    border-left: 5px solid #e9cf09;
    display: none;
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.1);
}

.selected-gif-preview img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    margin-right: 20px;
    vertical-align: middle;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.selected-gif-preview span {
    color: #e9cf09;
    font-weight: 700;
    font-size: 1.1rem;
}

.gif-info {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
}

.form-container {
    width: 50%;
    margin: 0 auto;
}

.delivery-container {
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    align-items: stretch;
    flex-direction: row;
    width: 66%;
    margin: 0 auto;
}

.unified-container {
    width: 100%;
    margin: 0 auto;
    max-width: 1300px;
}

.unified-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-wrap: wrap;
    min-height: auto;
    overflow: hidden;
    align-items: stretch;
    height: auto;
}

.delivery-form-section {
    flex: 1;
    padding: 2rem;
    max-width: 550px;
}

.delivery-preview-section {
    flex: 1;
    padding: 2rem;
    max-width: 550px;
    background-color: #FFFDC8;
    margin: 1rem;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgb(233, 207, 9) transparent;
}

.toppings-form-section {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    min-width: 30rem;
}

.toppings-form-section h2 {
    margin-top: 0;
    margin-bottom: 1rem;
    padding-top: 0;
}

.toppings-gif-section {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: calc(240px + 1.5rem + 1.5rem + 1.5rem + 1.5rem); /* 2 GIF rows + gaps + padding */
    min-width: 30rem;
}

.toppings-gif-section .gif-picker {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
    height: 100%;
    flex: 1;
}

.toppings-gif-section .gif-picker h3 {
    margin-left: 0;
    padding-top: 0;
    padding-left: 1rem;
    margin-top: 1rem;
    color: #2c2c2c;
    font-size: 1.2rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    text-align: left;
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.preview-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.delivery-container h2{
    margin-bottom: 30px; 
    margin-top: 0px;
}

.delivery-container h3{
    color: #333; 
    margin-bottom: 30px;
}

.delivery-column {
    width: 50%;
    margin: 0 auto;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    background: white;
}

.preview-content-section {
    background: white;
    padding: 25px 30px;
}

/* Success page wrapper to fill viewport */
.success-page-wrapper {
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 0;
    min-height: 100vh;
}

/* Success Top Section - Full Width */
.success-top-section {
    width: 100%;
}

/* Success Layout Container */
.success-layout-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 80%;
    max-width: 1400px;
    margin: 0 auto;
    align-items: start;
    flex: 1;
    padding: 2rem 0;
}

.success-left-column {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.success-right-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    min-height: 100%;
}

.success-container {
    width: 80%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.success-text-section {
    width: 100%;
    display: flex;
    justify-content: center;
}

.success-image-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.success-taco-image {
    max-width: 380px;
    width: 100%;
    height: auto;
}

.success-bottom-section {
    width: 80%;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    padding: 1rem 0;
    min-height: auto;
}
.preview-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    max-height: 24rem;
}
.taco-messenger {
    width: 200px;
    height: auto;
    margin: 20px auto;
    display: block;
}

.delivery-section {
    flex: 1;
}

.preview-content {
    flex-direction: column;
    display: flex;
    align-items: start;
    gap: 10px;
    padding: 25px;
    width: 100%;
    background: white;
    border-radius: 12px;
}

.preview-content span{
    font-size: 1.1rem;
    color: #333;
}

.preview-message-box {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.preview-message-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background-color: #ffd700;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    z-index: 1;
}

.preview-message-box div {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    word-wrap: break-word;
    overflow-wrap: anywhere;
    word-break: break-word;
    margin: 0;
}

.preview-gif {
    background: #f0f0f0;
    border: 3px #ffd700 solid;
    border-radius: 10px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.gif-placeholder-text {
    color: #999;
    font-style: italic;
    font-size: 14px;
}

.preview-gif img {
    width: 144px;
    height: 144px;
    object-fit: cover;
    border-radius: 7px;
}

.preview-signature {
    text-align: right;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
    width: 100%;
}

.preview-signature span {
    font-size: 16px;
    color: #333;
}

.contact-form{
    flex: 1;
    align-items: start;
}

.contact-section {
    margin-bottom: 2rem;
}

.contact-section h3 {
    color: #333;
    margin-bottom: .75rem;
    font-size: 1.2em;
}

.checkbox-container {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.checkbox-container input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border-radius: 8px;
    margin: 0;
    vertical-align: middle;
}

.CTA-section {
    padding: 30px;
    text-align: center;
    border-top: 1px solid #e0e0e0;
    margin: 0 auto;
    align-items: center;
}

.user-text {
    font-size: 18px;
    color: #2d3436;
    margin-bottom: 20px;
}

.section-title {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    font-size: 3rem;
    font-weight: bold;
}

.section-subtitle {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    font-size: 1.2rem;
    font-weight: bold;
    line-height: normal;
}

.tacogram-image {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    justify-self: end;
}

.tacogram-image img {
    max-width: 100%;
    height: auto;
    }

/* Laptops and desktop screens */
@media (min-width: 1200px) {
    .tacogram-container, .unified-container {
        min-width: 1100px;
        max-width: 1300px;
    }
}

/* Tablets and medium screens */
@media (max-width: 992px) {
    .header-section {
        display: grid;
        grid-template-columns: 1fr 2fr 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
        align-items: center;
        width: 100%;
    }
    
    .logo-section {
        justify-self: start;
    }
    
    .progress-container {
        width: 100%;
        justify-content: center;
    }
    
    .progress-steps {
        justify-content: center;
    }
    
    .success-page-wrapper {
        height: auto;
        min-height: 100vh;
    }
    
    .success-layout-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        width: 90%;
        margin: 0 auto;
    }
    
    .success-right-column {
        gap: 1.5rem;
    }
    
    .success-bottom-section {
        width: 90%;
    }
    
    .achievement-message {
        margin-top: 2rem;
    }
    
    .progress-line-fill {
        width: 4rem;
        height: 4px;
    }
    
    .step-subtext-section {
        padding: 1.5rem 1rem;
        text-align: center;
    }
    
    .step-subtext {
        text-align: center !important;
    }
    
    .step-subtext h3,
    .step-subtext p,
    .step-subtext .title-secondary,
    .step-subtext .text-description {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .text-description {
        text-align: center !important;
    }
    
    .progress-line-fill {
        width: 2rem;
        height: 4px;
    }
    
    .hero-section {
        padding: 3rem 1.5rem 2rem 1.5rem;
    }
    
    .hero-content {
        min-width: 90%;
        max-width: 90%;
    }
    
    .hero-logo {
        width: 200px;
    }
    
    .title-primary {
        font-size: 1.5rem;
        margin-bottom: 1.25rem;
    }
    
    .title-secondary {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .text-description {
        font-size: 1rem;
        color: #2c2c2c;
        line-height: 1.4;
        margin: 0;
        font-weight: 400;
        font-family: 'Montserrat', sans-serif;
    }
    
    .btn-get-started {
        display: block;    
        width: 100%;     
        text-align: center;
        margin: 0 auto; 
    }
    .tacogram {
        padding: 1.5rem 0.75rem;
    }
    
    .progress-container {
        max-width: 60%;
    }
    
    .form-container {
        width: 85%;
    }
    
    .delivery-container {
        flex-direction: column;
        width: 90%;
        gap: 1.5rem;
    }
    
    .delivery-column {
        width: 100%;
        margin: 0;
    }
    
    
    
    .delivery-form-section {
        border-right: none;
        padding: 1.5rem;
    }
    
    .delivery-preview-section {
        padding: 1.5rem;
    }
    
    
    
    .toppings-form-section {
        padding: 1.5rem;
    }
    
    .toppings-gif-section {
        padding: 1.5rem;
    }
    
    
    
    .delivery-form-section {
        padding: 1.5rem;
    }
    
    .delivery-preview-section {
        padding: 1.5rem;
    }
    
    .preview-content {
        padding: 20px;
    }
    
    .preview-message-box {
        padding: 15px;
    }
    
    .taco-feature-container {
        gap: 1.5rem;
        flex-direction: column;
    }

    .steps-container {
        flex-direction: column !important;
        align-items: center;
    }

    .steps-container .step {
        margin: 1rem 0 !important;
        width: 100%;
    }

    .navBtn-container {
        flex: 1;
        justify-content: center;
        margin-top: 2rem;
    }
    
    .navigation-section {
        padding: 0 1rem;
        width: 100%;
        gap: 2rem;
        margin: 0 auto;
    }
    
    .navigation-section button {
        width: 50%;
    }

    #prevBtn {
        width: 10rem;
        justify-content: left;
    }

    #nextBtn {
        width: 10rem;
        justify-content: end;
    }
    
    .left-column,
    .right-column {
        flex: 1;
        text-align: center;
        align-items: center;
    }
    
    .gif-picker {
        flex-direction: column;
    }
    
    .gif-search-container {
        padding: 0.75rem;
    }
    
    .gif-search-input {
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
    }

}
/* Mobile phones */
@media (max-width: 600px) {
   .tacogram-container, .unified-container {
        width: 90%;
        max-width: none;
    }
    
    .unified-card {
        display: flex;
        flex-wrap: wrap;
        min-height: auto;
    }
    
    .toppings-form-section,
    .delivery-form-section {
        padding: 1.5rem;
    }
    
    .toppings-gif-section,
    .delivery-preview-section {
        padding: 1.5rem;
    }
    
    .header-section {
        display: flex;
        flex-direction: column;
        padding: 0 0.5rem;
        gap: 1rem;
        align-items: center;
        width: 100%;
    }
    
    .logo-section {
        align-self: center;
    }
    
    .logo-link img {
        width: 150px;
        height: auto;
    }
    
    .progress-container {
        width: 100%;
        justify-content: center;
    }
    
    .progress-steps {
        padding: 0 1rem;
    }
    
    .success-page-wrapper {
        height: auto;
        min-height: 100vh;
    }
    
    .success-layout-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        width: 90%;
        margin: 0 auto;
    }
    
    .success-right-column {
        gap: 1.5rem;
    }
    
    .success-taco-image {
        max-width: 150px;
    }
    
    .success-bottom-section {
        width: 90%;
    }
    
    .achievement-message {
        margin-top: 1.5rem;
    }
    
    .progress-line-fill {
        width: 2rem;
        height: 3px;
    }
    
    .step-subtext-section {
        padding: 1rem 0.75rem;
        text-align: center;
    }
    
    .step-subtext {
        text-align: center !important;
    }
    
    .step-subtext h3,
    .step-subtext p,
    .step-subtext .title-secondary,
    .step-subtext .text-description {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .text-description {
        font-size: 1rem;
        line-height: 1.5;
        text-align: center !important;
        font-weight: 600 !important;
    }
    
    .hero-section {
        padding: 2rem 1rem 1.5rem 1rem;
    }
    
    .hero-content {
        min-width: 90%;
        max-width: 90%;
    }
    
    .hero-logo {
        width: 160px;
    }

    .title-primary {
        font-size: 2rem;
        margin-bottom: 1rem;
        font-weight: 700 !important;
    }
    
    .title-secondary {
        font-size: 1.2rem;
        margin-bottom: 1.25rem;
        text-align: center;
    }
    
    .tacogram {
        margin-bottom: 3rem; 
    }

    .left-column {
        flex-direction: column !important;
        align-items: center;
    }

    .left-column .step {
        margin: 1rem 0 !important;
        width: 100%;
    }

    .steps-container {
        flex-direction: column !important;
        align-items: center;
    }

    .steps-container .step {
        margin: 1rem 0 !important;
        width: 100%;
    }

    .step.row {
        flex-direction: column !important;
        text-align: center;
        align-items: center !important;
    }

    .step .col {
        text-align: center;
    }

    .step .col img {
        margin: 0 auto;
        display: block;
    }

    .progress-container {
        max-width: 90%;
    }
    
    .progress-step-icon {
        width: 48px;
        height: 48px;
    }
    
    .progress-step img {
        width: 48px;
    }
    
    .progress-step.active .progress-step-title {
        font-size: 0.9rem;
    }
    
    .form-container {
        width: 90%;
    }
    
    .delivery-container {
        width: 90%;
        gap: 1rem;
    }
    
    
    
    .delivery-form-section {
        border-right: none;
        padding: 1rem;
    }
    
    .delivery-preview-section {
        padding: 1rem;
    }
    
    
    
    .toppings-form-section {
        padding: 1rem;
    }
    
    .toppings-gif-section {
        padding: 1rem;
    }
    
    
    
    .delivery-form-section {
        padding: 1rem;
    }
    
    .delivery-preview-section {
        padding: 1rem;
    }

    .delivery-container h2 {
        font-size: 1.5rem;
    }
    
    .toppings-gif-section .gif-picker h3 {
        padding-top: 1rem;
        padding-left: 0.75rem;
        font-size: 1.1rem;
    }
    
    .gif-search-container {
        padding: 0.75rem;
    }

    .delivery-container h3 {
        font-size: 1rem;
    }
    
    .preview-content {
        padding: 15px;
        gap: 8px;
    }
    
    .preview-message-box {
        padding: 12px;
    }
    
    .preview-gif {
        height: 120px;
    }
    
    .preview-gif img {
        width: 114px;
        height: 114px;
        border-radius: 7px;
    }
    
    .contact-section h3 {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .contact-section label {
        font-size: .8rem;
    }
    
    .preview-content span {
        font-size: 1rem;
    }
    
    .checkbox-container {
        align-items: baseline;
        gap: 8px;
    }
    
    .checkbox-container label {
        font-size: 16px !important;
        line-height: 1.2;
        margin: 0;
    }
    
.checkbox-container label {
    margin: 0;
    line-height: 1.2;
    vertical-align: middle;
}
    
    .delivery-column {
        width: 100%;
        margin: 0;
        padding: 20px;
    }
    
    .input-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .tacogram-shell {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .tacogram-shell-icon {
        width: 80px;
        height: 80px;
    }
    
    .tacogram-shell-icon img {
        width: 80px;
        height: 80px;
    }
    
    .tacogram-shell-content h3 {
        font-size: 1rem;
        margin: 0.5rem 0 0.25rem 0;
    }
    
    .message-section {
        margin-bottom: 1.5rem;
    }
    
    .message-header {
        align-items: center;
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
    .message-icon img {
        width: 60px;
        height: 60px;
    }
    
    .message-title {
        font-size: 1.3rem;
    }
    
    .message-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .input-row {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
    .input-group label {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .input-group input {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .tacogram-textarea {
        min-height: 200px;
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .gif-picker {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
        padding: 1rem;
    }
    
    .gif-search-container {
        padding: 0 0.5rem;
    }
    
    .gif-search-input {
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
    }
    
    .gif-picker {
        flex-direction: column;
    }
    
    .gif-search-container {
        padding: 0.5rem;
    }
    
    .gif-option {
        height: 240px;
    }
    
    .selected-shell-display {
        text-align: center;
    }
    
    .selected-shell-title {
        font-size: 1.5rem;
    }
    
    .selected-shell-image {
        width: 64px;
        height: 64px;
    }
    
    .tacogram-selected-header {
        padding: 0.75rem;
    }
    
    .tacogram-textarea {
        min-height: 200px;
        padding: 15px;
    }
    
    .preview-content {
        padding: 20px;
    }
    
    .preview-content-section {
        padding: 20px 25px;
    }
    
    .preview-message-box {
        padding: 15px;
    }
    
    .preview-gif {
        height: 120px;
    }
    
    .preview-gif img {
        width: 114px;
        height: 114px;
        border-radius: 7px;
    }
    
    .navBtn-container {
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
    }
    
    .navBtn-container:first-child {
        margin-top: 2rem;
    }
    
    .navBtn-container button {
        width: 8rem;
        font-size: 14px;
        padding: 10px 15px;
    }

    .progress-step.active .progress-step-title {
        font-size: 1rem;
    }
    
    .progress-line-fill {
        width: 2rem;
        height: 3px;
    }

    /* Success page responsive styling */
    .success-container {
        margin-bottom: 2rem !important;
        width: 100% !important;
    }
    
    .success-cta-section {
        width: 100% !important;
    }
    
    .achievement-text {
        font-size: 0.95rem !important;
        font-weight: 600 !important;
    }
    
    .secondary-content h4 {
        font-size: 1.15rem !important;
        font-weight: 600 !important;
    }
    
    .secondary-content p {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
    }
    
    .cta-buttons {
        gap: 1rem !important;
    }
    
    .success-btn {
        font-size: 1rem !important;
        padding: 0.7rem 1.2rem !important;
    }
}