/* Fuzion Donuts Brand Colors */
:root {
    --primary-color: #E85A2A;
    --secondary-color: #FFFFFF;
    --tertiary-color: #1A1A1A;
    --fourth-color: #666666;
    --heading-font: 'Quicksand', sans-serif;
    --paragraph-font: 'Open Sans', sans-serif;
}

/* Visually hidden for accessibility - hides content visually but keeps it accessible to screen readers */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

body {
    font-family: var(--paragraph-font);
    line-height: 1.6;
    color: var(--tertiary-color);
    background-color: var(--secondary-color);
}

/* Heading styles - Quicksand Bold */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
}

/* Paragraph and text styles - Open Sans */
p {
    font-family: var(--paragraph-font);
}

header {
    position: relative;
    width: 100%;
    background-color: var(--tertiary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
    padding: 1rem 2rem;
    background-color: var(--tertiary-color);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--tertiary-color);
}

.logo-btn {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo-btn:hover {
    transform: scale(1.05);
}

.logo {
    height: 80px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.nav-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.hamburger-btn span {
    width: 100%;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.order-btn {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.order-btn:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

main {
    min-height: 60vh;
}

footer {
    background: linear-gradient(135deg, var(--tertiary-color) 0%, var(--tertiary-color) 70%, var(--primary-color) 100%);
    color: var(--secondary-color);
    padding: 3rem 2rem 1rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
}

.footer-logo-img {
    height: 120px;
    width: auto;
    transition: transform 0.3s ease;
}

.footer-logo-img:hover {
    transform: scale(1.05);
}

.footer-section h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-order-btn {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1rem;
    width: 75%;
    align-self: center;
}

.footer-order-btn:hover {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--primary-color);
}

/* Blog Hero Section */
.blog-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #FFB800 100%);
    padding: 4rem 2rem;
    text-align: center;
    color: var(--secondary-color);
}

.blog-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.blog-hero-title {
    font-family: var(--heading-font);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.blog-hero-subtitle {
    font-family: var(--paragraph-font);
    font-size: 1.25rem;
    color: var(--secondary-color);
    opacity: 0.95;
}

/* Blog Container */
.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

/* Blog Post */
.blog-post {
    background-color: var(--secondary-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(232, 90, 42, 0.15);
}

.blog-post-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-post:hover .blog-post-image img {
    transform: scale(1.05);
}

.blog-post-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--fourth-color);
}

.blog-post-date {
    font-family: var(--paragraph-font);
}

.blog-post-category {
    font-family: var(--paragraph-font);
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-post-title {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--tertiary-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-post-excerpt {
    font-family: var(--paragraph-font);
    font-size: 1rem;
    color: var(--fourth-color);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.blog-post-link {
    font-family: var(--paragraph-font);
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    margin-top: auto;
    position: relative;
    z-index: 1;
}

.blog-post-link:hover {
    color: var(--tertiary-color);
    transform: translateX(5px);
}

.blog-post-link::after {
    content: '→';
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.blog-post-link:hover::after {
    transform: translateX(3px);
}

/* Individual Blog Post Page Styles */
.blog-post-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.blog-post-full {
    background-color: var(--secondary-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.blog-post-top-nav {
    padding: 2rem 3rem 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.blog-back-link-top {
    font-family: var(--paragraph-font);
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.blog-back-link-top:hover {
    color: var(--tertiary-color);
    transform: translateX(-5px);
}

.blog-post-header {
    padding: 3rem 3rem 2rem;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.blog-post-title-full {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--tertiary-color);
    margin-top: 1rem;
    line-height: 1.2;
}

.blog-post-image-full {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.blog-post-image-full img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-post-content-full {
    padding: 3rem;
    font-family: var(--paragraph-font);
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--tertiary-color);
}

.blog-post-content-full h2 {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-post-content-full h3 {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    color: var(--tertiary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.blog-post-content-full p {
    margin-bottom: 1.5rem;
}

.blog-post-content-full ul,
.blog-post-content-full ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.blog-post-content-full li {
    margin-bottom: 0.5rem;
}

.blog-post-content-full a {
    color: var(--primary-color);
    text-decoration: underline;
    text-decoration-color: var(--primary-color);
    text-underline-offset: 3px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.blog-post-content-full a:hover {
    color: var(--tertiary-color);
    text-decoration-color: var(--tertiary-color);
}

/* Internal linking styles */
.blog-internal-link {
    color: var(--primary-color);
    text-decoration: underline;
    text-decoration-color: var(--primary-color);
    text-underline-offset: 3px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.blog-internal-link:hover {
    color: var(--tertiary-color);
    text-decoration-color: var(--tertiary-color);
    background-color: rgba(232, 90, 42, 0.1);
    padding: 0 2px;
    border-radius: 3px;
}

.blog-post-content-full img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
}

.blog-post-cta {
    margin: 3rem 0;
    padding: 3rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #FFB800 100%);
    border-radius: 12px;
    text-align: center;
    color: var(--secondary-color);
}

.blog-cta-title {
    font-family: var(--heading-font);
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.blog-cta-text {
    font-family: var(--paragraph-font);
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    opacity: 0.95;
}

.blog-cta-button {
    padding: 1rem 2.5rem;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--secondary-color);
    border-radius: 50px;
    font-family: var(--heading-font);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-cta-button:hover {
    background-color: transparent;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.blog-related-posts {
    margin: 4rem 0 2rem;
    padding: 3rem 0;
    border-top: 2px solid #e0e0e0;
}

.blog-related-title {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--tertiary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.blog-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.blog-related-item {
    background-color: var(--secondary-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.blog-related-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(232, 90, 42, 0.15);
}

.blog-related-image {
    width: 100%;
    height: 140px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.blog-related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-related-item:hover .blog-related-image img {
    transform: scale(1.05);
}

.blog-related-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-related-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    color: var(--fourth-color);
}

.blog-related-date {
    font-family: var(--paragraph-font);
}

.blog-related-category {
    font-family: var(--paragraph-font);
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-related-item-title {
    font-family: var(--heading-font);
    font-size: 1rem;
    font-weight: 700;
    color: var(--tertiary-color);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

    .blog-related-excerpt {
    font-family: var(--paragraph-font);
    font-size: 0.85rem;
    color: var(--fourth-color);
    line-height: 1.4;
    margin-bottom: 0.75rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-related-link {
    font-family: var(--paragraph-font);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    margin-top: auto;
}

.blog-related-link:hover {
    color: var(--tertiary-color);
    transform: translateX(5px);
}

.blog-post-footer {
    padding: 2rem 3rem;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

.blog-back-link {
    font-family: var(--paragraph-font);
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.blog-back-link:hover {
    color: var(--tertiary-color);
    transform: translateX(-5px);
}

/* Pagination Styles */
.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
    padding: 2rem 0;
    flex-wrap: wrap;
}

.blog-pagination:first-of-type {
    margin-top: 0;
    margin-bottom: 3rem;
}

.blog-pagination:last-of-type {
    margin-top: 4rem;
    margin-bottom: 0;
}

.pagination-btn {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
    padding: 10px 20px;
    border-radius: 50px;
    font-family: var(--paragraph-font);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pagination-btn:hover:not(.disabled) {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(232, 90, 42, 0.3);
}

.pagination-btn.disabled {
    background-color: #e0e0e0;
    color: #999;
    border-color: #e0e0e0;
    cursor: not-allowed;
    opacity: 0.6;
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pagination-number {
    background-color: transparent;
    color: var(--tertiary-color);
    border: 2px solid #e0e0e0;
    padding: 8px 16px;
    border-radius: 8px;
    font-family: var(--paragraph-font);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 44px;
}

.pagination-number:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.pagination-number.active {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
    cursor: default;
}

.pagination-ellipsis {
    color: var(--fourth-color);
    padding: 0 0.5rem;
    font-family: var(--paragraph-font);
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
        padding-top: 0.75rem;
    }
    
    .hamburger-btn {
        display: flex;
    }
    
    .logo-btn {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: 0.5rem;
    }
    
    .logo-btn:hover {
        transform: translateX(-50%) scale(1.05);
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--tertiary-color);
        padding: 1rem;
        z-index: 1000;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    
    .order-btn {
        font-size: 14px;
        padding: 10px 20px;
    }
    
    .logo {
        height: 60px;
    }
    
    .blog-hero {
        padding: 3rem 1.5rem;
    }
    
    .blog-hero-title {
        font-size: 2.2rem;
    }
    
    .blog-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .blog-container {
        padding: 3rem 1.5rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .blog-pagination {
        gap: 0.5rem;
        padding: 1.5rem 0;
    }

    .pagination-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .pagination-number {
        padding: 6px 12px;
        font-size: 0.9rem;
        min-width: 40px;
    }
    
    .footer-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .footer-logo-img {
        height: 100px;
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.8rem;
    }
    
    .logo {
        height: 50px;
    }
    
    .order-btn {
        font-size: 12px;
        padding: 8px 16px;
    }
    
    .blog-hero-title {
        font-size: 1.8rem;
    }
    
    .blog-hero-subtitle {
        font-size: 1rem;
    }
    
    .blog-container {
        padding: 2rem 1rem;
    }

    .blog-pagination {
        gap: 0.25rem;
        padding: 1rem 0;
    }

    .pagination-btn {
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    .pagination-number {
        padding: 5px 10px;
        font-size: 0.85rem;
        min-width: 36px;
    }

    .pagination-ellipsis {
        padding: 0 0.25rem;
    }
    
    .blog-post-content {
        padding: 1.5rem;
    }
    
    .blog-post-title {
        font-size: 1.3rem;
    }
    
    .blog-post-top-nav {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .blog-post-header {
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .blog-post-title-full {
        font-size: 1.8rem;
    }
    
    .blog-post-content-full {
        padding: 2rem 1.5rem;
        font-size: 1rem;
    }
    
    .blog-post-content-full h2 {
        font-size: 1.5rem;
    }
    
    .blog-post-content-full h3 {
        font-size: 1.3rem;
    }
    
    .blog-post-cta {
        padding: 2rem 1.5rem;
        margin: 2rem 0;
    }
    
    .blog-cta-title {
        font-size: 1.5rem;
    }
    
    .blog-cta-text {
        font-size: 1rem;
    }
    
    .blog-cta-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    .blog-related-posts {
        margin: 3rem 0 1.5rem;
        padding: 2rem 0;
    }
    
    .blog-related-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .blog-related-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .blog-related-image {
        height: 180px;
    }
    
    .blog-related-content {
        padding: 1.25rem;
    }
    
    .blog-related-item-title {
        font-size: 1.1rem;
    }
    
    .blog-related-excerpt {
        font-size: 0.9rem;
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }
    
    .blog-post-footer {
        padding: 1.5rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .footer-logo-img {
        height: 80px;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .footer-links a,
    .social-link {
        font-size: 0.9rem;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
    }
}

/* Order Modal Styles */
.order-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.order-modal-overlay.active {
    display: flex;
}

.order-modal {
    background-color: var(--secondary-color);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

.order-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--fourth-color);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.order-modal-close:hover {
    color: var(--primary-color);
}

.order-modal-step {
    text-align: center;
}

.order-modal-title {
    font-family: var(--heading-font);
    font-size: 1.75rem;
    color: var(--tertiary-color);
    margin-bottom: 2rem;
    font-weight: 700;
}

.order-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.order-option-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), #FFB800);
    color: var(--secondary-color);
    border: none;
    border-radius: 12px;
    font-family: var(--heading-font);
    font-size: 1.25rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(232, 90, 42, 0.3);
}

.order-option-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(232, 90, 42, 0.4);
}

.order-option-icon {
    font-size: 1.5rem;
}

.order-option-text {
    font-size: 1.25rem;
}

.order-helper-text {
    font-family: var(--paragraph-font);
    font-size: 0.95rem;
    color: var(--fourth-color);
    margin: 0;
}

.order-address-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.order-address-input {
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: var(--paragraph-font);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.order-address-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Google Maps Autocomplete dropdown - ensure it appears above modal */
.pac-container {
    z-index: 10001 !important;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-top: 4px;
}

.pac-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    border-top: 1px solid #e0e0e0;
}

.pac-item:first-child {
    border-top: none;
}

.pac-item:hover,
.pac-item-selected {
    background-color: #f5f5f5;
}

.pac-icon {
    margin-right: 0.5rem;
}

.order-location-btn {
    padding: 0.75rem 1.5rem;
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 8px;
    font-family: var(--paragraph-font);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.order-location-btn:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.order-continue-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), #FFB800);
    color: var(--secondary-color);
    border: none;
    border-radius: 8px;
    font-family: var(--heading-font);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.order-continue-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(232, 90, 42, 0.3);
}

.order-error-message {
    margin-top: 1rem;
    padding: 1rem;
    background-color: #fee;
    border: 1px solid #fcc;
    border-radius: 8px;
    color: #c33;
    font-family: var(--paragraph-font);
    font-size: 0.95rem;
}

.pickup-stores-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 200px;
}

.pickup-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    text-align: center;
}

.pickup-loading p {
    font-family: var(--paragraph-font);
    font-size: 1rem;
    color: var(--fourth-color);
    margin-top: 1rem;
}

.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.pickup-error {
    font-family: var(--paragraph-font);
    font-size: 1rem;
    color: var(--fourth-color);
    text-align: center;
    padding: 2rem;
}

.pickup-location-prompt {
    text-align: center;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, rgba(232, 90, 42, 0.05), rgba(255, 184, 0, 0.05));
    border: 2px solid var(--primary-color);
    border-radius: 12px;
}

.pickup-location-text {
    font-family: var(--paragraph-font);
    font-size: 0.95rem;
    color: var(--tertiary-color);
    margin-bottom: 1rem;
}

.pickup-store-item {
    padding: 1.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.pickup-store-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(232, 90, 42, 0.2);
}

.pickup-store-item.closest {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(232, 90, 42, 0.05), rgba(255, 184, 0, 0.05));
}

.pickup-store-name {
    font-family: var(--heading-font);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--tertiary-color);
    margin-bottom: 0.5rem;
}

.pickup-store-name .closest-badge {
    display: inline-block;
    margin-left: 0.5rem;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, var(--primary-color), #FFB800);
    color: var(--secondary-color);
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.pickup-store-address {
    font-family: var(--paragraph-font);
    font-size: 0.95rem;
    color: var(--fourth-color);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.pickup-store-action {
    font-family: var(--paragraph-font);
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 0.5rem;
}

.pickup-store-distance {
    font-family: var(--paragraph-font);
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
}

.order-out-of-range-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.order-secondary-btn {
    padding: 1rem 2rem;
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 8px;
    font-family: var(--paragraph-font);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.order-secondary-btn:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}
