:root {
    --color-primary: #000;
    --color-secondary: #666;
    --color-background: #f5eedb;
    --color-border: #e5e5e5;
    --max-width: 100%;
    --spacing: 1rem;
    --font-primary:
        "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        sans-serif;
    --font-secondary: "Eczar", Georgia, serif;
}

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

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

/* Body scroll lock */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
}


.navbar-wrapper {
    background: var(--navbar-bg);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 0 1em;
    position: relative;
}

.navbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    justify-content: space-between;
    align-items: center;
    height: 66px;
    padding: 0;
    max-width: 100%;
    margin: 0;
}

/* Hamburger menu button */
.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--navbar-text);
    margin-right: 1rem;
}

.hamburger-menu:hover {
    opacity: 0.8;
}

.hamburger-menu svg {
    width: 32px;
    height: 32px;
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

/* Ensure only one icon shows at a time */
.hamburger-menu #hamburger-icon {
    display: block;
}

.hamburger-menu #close-icon {
    display: none;
}

.hamburger-menu.menu-open #hamburger-icon {
    display: none;
}

.hamburger-menu.menu-open #close-icon {
    display: block;
}

.hamburger-menu.menu-open {
    transform: rotate(180deg);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: var(--navbar-text);
    transition: opacity 0.2s ease;
}

.logo img {
    height: 40px;
    width: auto;
    vertical-align: middle;
}

.logo:hover {
    opacity: 0.8;
}

main {
    max-width: 100%;
    margin: 0;
    padding: calc(var(--spacing) * 2) 0;
    min-height: 80vh;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    background-color: var(--color-background);
}

footer {
    text-align: center;
    color: var(--color-secondary);
}

.search-box {
    position: relative;
}

.search-box input::placeholder {
    color: var(--navbar-text);
    opacity: 0.7;
}

.search-box input {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--navbar-text);
    width: 300px;
}

.search-box input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.search-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 90vw;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
}

.search-result {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    text-decoration: none;
    color: var(--color-primary);
    border-bottom: 1px solid var(--color-border);
}

.search-result:hover {
    background: #f5f5f5;
}

.search-result img {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

.hero {
    text-align: center;
    background: var(--color-background);
    color: var(--color-primary);
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    min-height: 70vh;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}
.hero-content-border {

    border: 3px solid var(--color-primary);
    border-radius: 70px;
    box-shadow: 0px 6px 0 var(--color-primary);
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 100%;
    margin: 1em;
    /*border: 3px solid var(--color-primary);*/
    /*border-radius: 50px;*/
    max-width: 500px;
}

.hero-title {
    font-family: var(--font-secondary);
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    line-height: 1.4;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 180px;
    text-align: center;
    font-family: var(--font-secondary);
}

.hero-button.primary {
    background: white;
    color: var(--color-primary);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.hero-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
    background: #f8f8f8;
}

.hero-button:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.6);
    outline-offset: 2px;
}

.hero-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.hero-button.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: white;
    opacity: 0.7;
    animation: bounce 2s infinite;
    cursor: pointer;
}

.scroll-indicator:hover {
    opacity: 1;
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.products-section {
    padding: calc(var(--spacing) * 4) 0;
}

.section-header {
    text-align: center;
    margin-bottom: calc(var(--spacing) * 3);
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-secondary);
    line-height: 1.6;
    margin: 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: calc(var(--spacing) * 2);
}

.product-card {
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-card img {
    transform: scale(1.05);
}

.product-card a {
    text-decoration: none;
    color: var(--color-primary);
}

.product-card img,
.placeholder-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.placeholder-image {
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
}

.product-card h3 {
    padding: var(--spacing);
    font-size: 1.125rem;
}

.product-card .price {
    padding: 0 var(--spacing) var(--spacing);
    font-size: 1.25rem;
    font-weight: bold;
}

.no-products {
    text-align: center;
    padding: calc(var(--spacing) * 4);
    color: var(--color-secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.no-products svg {
    opacity: 0.3;
}

.no-products p {
    font-size: 1.125rem;
    margin: 0;
}

.product-card-enter {
    opacity: 0;
    transform: translateY(20px);
}

.product-card-enter-active {
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}

.product-card:nth-child(1) {
    animation-delay: 0s;
}
.product-card:nth-child(2) {
    animation-delay: 0.1s;
}
.product-card:nth-child(3) {
    animation-delay: 0.2s;
}
.product-card:nth-child(4) {
    animation-delay: 0.3s;
}
.product-card:nth-child(5) {
    animation-delay: 0.4s;
}
.product-card:nth-child(6) {
    animation-delay: 0.5s;
}

.announcement-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: calc(var(--spacing) * 3) 0;
    margin: calc(var(--spacing) * 4) 0;
}

.announcement-section .announcement-content {
    max-width: 100%;
    margin: 0;
    text-align: center;
}

.announcement-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.announcement-section p {
    font-size: 1.125rem;
    color: var(--color-secondary);
    line-height: 1.6;
    margin: 0;
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(var(--spacing) * 3);
    margin-bottom: calc(var(--spacing) * 3);
}

@media (max-width: 768px) {
    .product-detail {
        grid-template-columns: 1fr;
    }
}

.product-images img {
    width: 100%;
    height: auto;
    margin-bottom: var(--spacing);
}

.product-images img:not(.active) {
    display: none;
}

.product-info h1 {
    margin-bottom: var(--spacing);
}

.description {
    margin-bottom: calc(var(--spacing) * 2);
    color: var(--color-secondary);
}

.variant-selector,
.quantity-selector {
    margin-bottom: calc(var(--spacing) * 1.5);
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

select,
input[type="number"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-size: 1rem;
}

.add-to-cart {
    width: 100%;
    padding: 1rem;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1.125rem;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
}

.add-to-cart:hover {
    opacity: 0.8;
}

.add-to-cart:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.cart-button {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--navbar-text);
    transition: opacity 0.2s ease;
}

.cart-button svg {
    width: 28px;
    height: 28px;
}

.cart-button:hover {
    opacity: 0.7;
}

#cart-count {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1;
}

#cart-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

#cart-container.active {
    visibility: visible;
    opacity: 1;
}

#cart-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

#cart-backdrop.active {
    opacity: 1;
}

.cart-drawer {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background: var(--color-background);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

#cart-container.active .cart-drawer {
    transform: translateX(0);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--color-border);
    background: var(--color-background);
}

.cart-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--color-primary);
}

.close-cart {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--color-secondary);
    transition: color 0.2s;
}

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

.cart-content {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.cart-items {
    flex: 1;
    padding: 1rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border);
    align-items: start;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    overflow: hidden;
    border-radius: 4px;
    background: #f5f5f5;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-image .placeholder-image {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
    font-size: 0.875rem;
}

.cart-item-details h4 {
    margin: 0 0 0.25rem 0;
    font-size: 0.875rem;
    line-height: 1.4;
}

.cart-item-details .variant-title {
    margin: 0 0 0.5rem 0;
    color: var(--color-secondary);
    font-size: 0.75rem;
}

.cart-item-details .price {
    margin: 0;
    font-weight: 600;
    color: var(--color-primary);
    font-size: 0.875rem;
}

.cart-item-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: end;
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    overflow: hidden;
}

.quantity-controls input {
    width: 50px;
    text-align: center;
    border: none;
    padding: 0.25rem;
    font-size: 0.875rem;
    background: white;
}

.quantity-controls input:focus {
    outline: none;
    background: #f9f9f9;
}

.qty-btn {
    background: white;
    border: none;
    width: 28px;
    height: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: background-color 0.2s;
}

.qty-btn:hover {
    background: #f5f5f5;
}

.qty-btn:first-child {
    border-right: 1px solid var(--color-border);
}

.qty-btn:last-child {
    border-left: 1px solid var(--color-border);
}

.remove-item {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-secondary);
    padding: 0.25rem;
    transition: color 0.2s;
}

.remove-item:hover {
    color: #dc2626;
}

.cart-footer {
    border-top: 1px solid var(--color-border);
    background: var(--color-background);
}

.cart-summary {
    padding: 1.5rem;
}

.cart-total {
    margin-bottom: 1rem;
    text-align: right;
    font-size: 1.125rem;
}

.cart-note {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    resize: vertical;
    font-family: inherit;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.cart-note:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

.checkout-button {
    width: 100%;
    margin-bottom: 0.75rem;
    background: var(--color-primary);
    color: var(--color-primary-foreground, white);
}

.continue-shopping {
    width: 100%;
    background: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-border);
}

.continue-shopping:hover {
    background: #f5f5f5;
    transform: none;
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    text-align: center;
    color: var(--color-secondary);
    height: 100%;
}

.cart-empty svg {
    margin-bottom: 1rem;
    opacity: 0.5;
}

.cart-empty p {
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.mini-cart {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 280px;
}

.mini-cart-items {
    padding: 1rem;
    max-height: 200px;
    overflow-y: auto;
}

.mini-cart-item {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.mini-cart-item:last-child {
    margin-bottom: 0;
}

.mini-cart-item img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
}

.mini-cart-item-details {
    flex: 1;
}

.mini-cart-item-details .title {
    display: block;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.mini-cart-item-details .quantity {
    font-size: 0.75rem;
    color: var(--color-secondary);
}

.more-items {
    text-align: center;
    color: var(--color-secondary);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.mini-cart-footer {
    border-top: 1px solid var(--color-border);
    padding: 1rem;
    background: #f9f9f9;
}

.mini-cart-total {
    text-align: center;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.mini-cart-empty {
    padding: 2rem;
    text-align: center;
    color: var(--color-secondary);
}

#notifications {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.notification {
    background: #4caf50;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: slideIn 0.3s ease-out;
}

.notification.error {
    background: #dc2626;
}

.notification.warning {
    background: #f59e0b;
}

.notification.info {
    background: #3b82f6;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification button {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.htmx-indicator {
    display: none;
    color: var(--navbar-text);
    opacity: 0.8;
    font-size: 0.875rem;
    margin-left: 0.5rem;
}

.htmx-request .htmx-indicator {
    display: inline;
}

.htmx-request.add-to-cart {
    opacity: 0.6;
}

.back-link {
    margin-top: calc(var(--spacing) * 2);
}

.back-link a {
    color: var(--color-secondary);
    text-decoration: none;
}

.back-link a:hover {
    text-decoration: underline;
}

.logo img {
    height: 40px;
    width: auto;
    vertical-align: middle;
}

.store-slogan {
    color: var(--navbar-text);
    opacity: 0.8;
    font-size: 0.875rem;
    font-style: italic;
    margin-left: 1rem;
}

.navbar .store-slogan {
    display: none;
}

@media (min-width: 768px) {
    .navbar .store-slogan {
        display: inline;
    }
}

footer {
    background: #f8f8f8;
}

.footer-content {
    position: relative;
}

.footer-section {
    color: var(--color-secondary);
}

.footer-section p {
    margin-bottom: 0.5rem;
}

.store-description {
    font-size: 0.875rem;
    line-height: 1.6;
    margin-top: 0.5rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: var(--color-primary);
}

.footer-logo img {
    height: 100%;
    object-fit: contain;
    width: 100%;
    transform: scale(1.5);
}
.footer-logo-container {
    position: absolute;
    bottom: 0%;
    left: 50%;
    transform: translate(-50%, 0%);
    width: 100%;
    padding: 1em;
    margin-bottom: 15px;
    justify-content: space-between;
    align-items: center;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
.footer-logo:hover {
    opacity: 0.8;
}

.footer-links-section {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    padding: 1em

}

.footer-links {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    text-align: left;
    white-space: nowrap;
}

.footer-links a {
    color: var(--color-primary);
    font-size: 16px !important;
    text-decoration: none;
    font-weight: 600;
}

.payment-methods {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.payment-badge {
    background: white;
    border: 1px solid var(--color-border);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.announcement-bar {
    background: var(--color-secondary);
    color: var(--color-secondary-foreground);
    text-align: center;
    padding: 0.2rem 0;
    font-size: 0.875rem;
    position: relative;
    z-index: 50;
}

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

.nav-link {
    color: var(--navbar-text);
    text-decoration: none;
    padding: 0.5rem;
    font-weight: 500;
    font-size: 20px;
    font-family: var(--font-secondary);
    transition: opacity 0.2s;
}

.nav-link:hover {
    opacity: 0.8;
}

.nav-item.dropdown {
    position: relative;
}

/* Extend hover area downward to prevent dropdown from closing */
.nav-item.dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 30px;
    background: transparent;
    z-index: 999;
}

.dropdown-content {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    background: var(--navbar-bg);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 0;
    overflow: hidden;
    z-index: 1000;
    padding: 2rem;
    margin-top: 0;
}

/* Invisible bridge to maintain hover state */
.dropdown-content::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
    background: transparent;
}

.dropdown-content a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--navbar-text);
    text-decoration: none;
    transition: background 0.2s ease;
    margin-bottom: 0.5rem;
    text-align: center;
    font-size: 1rem;
    opacity: 0.9;
    background: rgba(255, 255, 255, 0.05);
    margin: 0 auto 0.5rem;
    border-radius: 8px;
    max-width: 600px;
    display: block;
    width: 100%;
}

.dropdown-content a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-item.dropdown:hover .dropdown-content {
    display: block;
}

/* Page Content */
.page-content {
    max-width: 100%;
    margin: 3rem 0;
    padding: 0;
    line-height: 1.8;
}

.page-content h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--color-primary);
}

.page-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.collection-header {
    padding: 2rem var(--spacing);
}

.collection-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.collection-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.collection-header p {
    font-size: 1.1rem;
    color: var(--color-text);
    line-height: 1.6;
}

.announcement-content {
    max-width: var(--max-width);
    margin: 0 auto;
}

/* Desktop override for nav-items to ensure visibility */
@media (min-width: 769px) {
    .nav-items {
        display: flex !important;
        position: static !important;
        top: auto !important;
        height: auto !important;
        background: transparent !important;
        padding: 0 !important;
        box-shadow: none !important;
        overflow: visible !important;
    }
}

/* Buttons */
.button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--color-primary);
    color: var(--color-primary-foreground);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition:
        background 0.2s,
        transform 0.2s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    font-family: var(--font-secondary);
}

.button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.button:active {
    transform: translateY(0);
}

/* Pill Button with 3D Shadow */
.button-pill {
    background-color: #ffdd82;
    color: #003865;
    border-radius: 50px;
    border: 1px solid #003865;
    font-weight: 500;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 8px 12px 0 #003865;
    transition: all 0.2s ease;
    display: inline-block;
    padding: 0.5rem 1rem;
    position: relative;
    text-decoration: none;
    font-family: var(--font-secondary);
}

.dropdown-content .button-pill {
    display: block;
    width: 100%;
    margin-top: 0.5rem;
}

.button-pill:hover {
    transform: translate(2px, 2px);
    box-shadow: 6px 10px 0 #003865;
}

.button-pill:active {
    transform: translate(4px, 4px);
    box-shadow: 4px 8px 0 #003865;
}
.button-pill-primary {
    background-color: var(--color-background);
    color: var(--color-primary);
    border-radius: 50px;
    border: 1px solid var(--color-primary);
    font-weight: 500;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 8px 12px 0 var(--color-primary);
    transition: all 0.2s ease;
    display: inline-block;
    padding: 0.5rem 1rem;
    position: relative;
    text-decoration: none;
    font-family: var(--font-secondary);
}

.chip-button-pill-primary {
    background-color: var(--color-background);
    color: var(--color-primary);
    border-radius: 50px;
    border: 1px solid var(--color-primary);

    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 4px 6px 0 var(--color-primary);
    transition: all 0.2s ease;
    display: inline-block;
    position: relative;
    text-decoration: none;
    font-family: var(--font-secondary);
}

.dropdown-content .button-pill-primary {
    display: block;
    width: 100%;
    margin-top: 0.5rem;
}
.chip-button-pill-primary:hover {
    transform: translate(2px, 2px);
    box-shadow: 6px 10px 0 var(--color-primary);
}

.chip-button-pill-primary:active {
    transform: translate(4px, 4px);
    box-shadow: 4px 8px 0 var(--color-primary);
}
.button-pill-primary:hover {
    transform: translate(2px, 2px);
    box-shadow: 6px 10px 0 var(--color-primary);
}

.button-pill-primary:active {
    transform: translate(4px, 4px);
    box-shadow: 4px 8px 0 var(--color-primary);
}

.image-shadow {
    display: block;
    box-shadow: 8px 12px 0 var(--color-primary);
}

.image-shadow:hover {
}

.email-signup-box {
    position: relative;
    background-color: #ffdd82;
    border-radius: 22px;
    border: 1px solid #003865;
    padding: 1rem;

    box-shadow: 8px 12px 0 #003865;
    margin-top: 1rem;
    transition: all 0.2s ease;
}

.email-signup-mascot {
    position: absolute;
    top: -126px;
    right: -31px;
    height: 191px;
}

.email-signup-mascot img {
    height: 100%;
    object-fit: cover;
}

.email-signup-content {
    position: relative;
    z-index: 1;
}

.email-signup-text {
    font-size: 14px;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.5;
    text-align: left;
}

.email-signup-form {
    position: relative;
    display: flex;
    align-items: center;
}

.email-signup-input {
    width: 100%;
    padding: 0.75rem 140px 0.75rem 1.5rem;
    background-color: var(--color-background);
    color: var(--color-primary);
    border-radius: 50px;
    border: 1px solid var(--color-primary);
    font-weight: 600;
    font-size: 18px;
    /*box-shadow: 8px 12px 0 var(--color-primary);*/
    transition: all 0.2s ease;
}

.email-signup-input:focus {
    outline: none;
    transform: translate(2px, 2px);
    box-shadow: 0px 2px 0 var(--color-primary);
}

.email-signup-input::placeholder {
    color: var(--color-primary);
    opacity: 0.7;
}

.email-signup-button {
    padding: 0.75rem 1.5rem;
    background-color: var(--color-background);
    color: var(--color-primary);
    border-radius: 50px;
    border: 1px solid var(--color-primary);
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    font-family: var(--font-secondary);
}

.email-signup-button:hover {
}

.email-signup-button:active {
}

.email-signup-form button {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    padding: 0.5rem 1.5rem;
    font-size: 16px;
        border: none;
        border-radius: 50px;
        background-color: transparent;
        color: var(--color-primary);
        font-weight: 600;
        font-size: 18px;
        cursor: pointer;
        font-family: var(--font-secondary);
    }

    /* Newsletter result styling */
    #email-signup-result {
        margin-top: 1rem;
        text-align: center;
    }

    .newsletter-success {
        background-color: #e8f5e9;
        border: 1px solid #4caf50;
        border-radius: 8px;
        color: #2e7d32;
        font-size: 0.9rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        justify-content: center;
    }

    .newsletter-success svg {
        width: 20px;
        height: 20px;
        stroke: #4caf50;
        flex-shrink: 0;
    }

    .newsletter-error {
        padding: 1rem;
        background-color: #ffebee;
        border: 1px solid #f44336;
        border-radius: 8px;
        color: #c62828;
        font-size: 0.9rem;
    }

    /* Wholesale Form Styles */
    .wholesale-form-container {
        max-width: 800px;
        margin: 0 auto;
        padding: 2rem;
    }

    .wholesale-form-header {
        text-align: center;
        margin-bottom: 3rem;
    }

    .wholesale-title {
        font-size: 2.5rem;
        color: var(--color-primary);
        margin-bottom: 1rem;
        font-family: var(--font-secondary);
    }

    .wholesale-subtitle {
        font-size: 1.2rem;
        color: var(--color-secondary);
        opacity: 0.9;
    }

    .wholesale-form {
        background: var(--color-background);
        border-radius: 12px;
        padding: 2.5rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .form-section {
        margin-bottom: 2.5rem;
    }

    .form-section h3 {
        font-size: 1.3rem;
        color: var(--color-primary);
        margin-bottom: 1.5rem;
        font-family: var(--font-secondary);
    }

    .form-group {
        margin-bottom: 1.5rem;
    }

    .form-group label {
        display: block;
        font-weight: 600;
        color: var(--color-primary);
        margin-bottom: 0.5rem;
        font-size: 0.95rem;
    }

    .form-input,
    .form-select,
    .form-textarea {
        width: 100%;
        padding: 0.75rem 1rem;
        border: 1px solid var(--color-border);
        border-radius: 8px;
        font-size: 1rem;
        font-family: var(--font-primary);
        background: white;
        transition: border-color 0.2s ease;
    }

    .form-input:focus,
    .form-select:focus,
    .form-textarea:focus {
        outline: none;
        border-color: var(--color-primary);
    }

    .form-textarea {
        resize: vertical;
        min-height: 100px;
    }

    .form-row {
        display: grid;
        gap: 1.5rem;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .checkbox-label {
        display: flex;
        align-items: start;
        gap: 0.5rem;
        cursor: pointer;
    }

    .checkbox-label input[type="checkbox"] {
        margin-top: 0.25rem;
    }

    .checkbox-label span {
        font-size: 0.95rem;
        line-height: 1.4;
    }

    .form-actions {
        margin-top: 2rem;
        text-align: center;
    }

    .wholesale-submit {
        position: relative;
        min-width: 200px;
    }

    .wholesale-loading {
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
    }

    .loading-spinner {
        animation: spin 1s linear infinite;
    }

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

    .form-disclaimer {
        text-align: center;
        font-size: 0.85rem;
        color: var(--color-secondary);
        margin-top: 1.5rem;
        font-style: italic;
    }

    .wholesale-success {
        text-align: center;
        padding: 3rem 2rem;
        background: #e8f5e9;
        border-radius: 12px;
        margin-top: 2rem;
    }

    .wholesale-success svg {
        width: 48px;
        height: 48px;
        stroke: #4caf50;
        margin-bottom: 1rem;
    }

    .wholesale-success h3 {
        font-size: 1.8rem;
        color: #2e7d32;
        margin-bottom: 1rem;
        font-family: var(--font-secondary);
    }

    .wholesale-success p {
        font-size: 1.1rem;
        color: #2e7d32;
        line-height: 1.6;
        margin-bottom: 1rem;
    }

    .wholesale-success a {
        color: #2e7d32;
        font-weight: 600;
    }

    .wholesale-error {
        padding: 1.5rem;
        background-color: #ffebee;
        border: 1px solid #f44336;
        border-radius: 8px;
        color: #c62828;
        text-align: center;
        margin-top: 1rem;
    }

    @media (max-width: 768px) {
        .chip-button-pill-primary {
            width: fit-content;
            padding: 0.5em 1em;
        }
        .navbar {
            flex-wrap: wrap;
            justify-content: flex-start;
            grid-template-columns: auto auto 1fr;
        }

        .logo {
            margin-bottom: 0;
            flex: 1;
            text-align: center;
            margin-right: auto;
        }

        .store-slogan {
            display: none;
        }

        /* Show hamburger menu on mobile */
        .hamburger-menu {
            display: flex;
        }

        .nav-items {
            display: none;
            position: fixed;
            top: 66px;
            left: 0;
            right: 0;
            bottom: 0;
            background: var(--navbar-bg);
            flex-direction: column;
            padding: 2rem;
            box-shadow: none;
            z-index: 90;
            width: 100%;
            margin: 0;
            justify-content: flex-start;
            gap: 1.5rem;
            overflow-y: auto;
            overflow-x: hidden;
            height: calc(100vh - 66px);
            -webkit-overflow-scrolling: touch;
        }

        .nav-items.nav-items-open {
            display: flex;
        }

        .nav-link {
            font-size: 1.2rem;
            width: 100%;
            text-align: center;
            padding: 1rem;
            display: block;
            border-radius: 8px;
            transition: background 0.2s ease;
        }

        .nav-link:hover {
            background: rgba(255, 255, 255, 0.1);
        }

        .search-box {
            width: 100%;
            order: 4;
            margin-bottom: 1rem;
        }

        .search-box input {
            width: 100%;
        }

        .cart-button {
            order: 2;
            position: absolute;
            right: 1rem;
            top: 50%;
            transform: translateY(-50%);
        }

        .cart-button svg {
            width: 28px;
            height: 28px;
        }

        .cart-button #cart-count {
            font-size: 1rem;
        }

        /* Hero responsive */
        .hero-overlay {
            min-height: 50vh;
            background-attachment: scroll;
        }

        .hero-title {
            font-size: 2.5rem;
        }

        .hero-subtitle {
            font-size: 1.125rem;
        }

        .hero-actions {
            flex-direction: column;
            align-items: center;
        }

        .hero-button {
            width: 100%;
            max-width: 300px;
        }

        .section-header h2 {
            font-size: 2rem;
        }

        /* Mobile dropdown */
        .nav-item.dropdown {
            width: 100%;
            flex-direction: column;
        }

        .dropdown-content {
            display: block !important;
            position: static;
            transform: none;
            width: 100%;
            max-width: none;
            margin-top: 0.5rem;
            background: rgba(255, 255, 255, 0.05);
            box-shadow: none;
            padding: 0.5rem 0;
            border-radius: 8px;
        }

        .dropdown-content a {
            padding: 0.75rem 1.5rem;
            font-size: 1rem;
            opacity: 0.9;
            display: block;
            text-align: center;
            transition: background 0.2s ease;
        }

        .dropdown-content a:hover {
            background: rgba(255, 255, 255, 0.1);
        }

        .collection-header h1 {
            font-size: 2rem;
        }

        .page-content {
            margin: 2rem auto;
            padding: 0 1rem;
        }

        .footer-links-section {
            flex-wrap: wrap;
            gap: 2rem;
        }

        .footer-logo-section {
            margin-bottom: calc(var(--spacing) * 2);
        }

        .footer-logo {
            font-size: 1.5rem;
        }

        .footer-logo img {
            transform: scale(1.3);
        }
        .footer-logo-container {
            transform: translate(-50%, 0%);
            margin-bottom: 0px;
        }
        .footer-links {
            gap: 0.5rem;
        }

        .footer-links a {
            font-size: 16px;
            padding: 0.25rem 0;
        }

        .email-signup-box {
            padding: 1.5rem;
        }

        .email-signup-form {
            position: relative;
        }
    }

    .email-signup-input {
        padding-right: 120px;
    }

    .email-signup-form .chip-button-pill-primary {
        padding: 0.4rem 1rem;
        font-size: 14px;
    }

    .email-signup-mascot {
        height: 191px;
        top: -146px;
        right: -28px;
    }
}

@media (max-width: 480px) {
    .nav-items {
        gap: 0.5rem;
        padding: 1.5rem;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 0.75rem;
    }

    /* Mobile hero adjustments */
    .hero-overlay {
        min-height: 40vh;
        padding: calc(var(--spacing) * 2) 0;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    .scroll-indicator {
        display: none;
    }

    /* Mobile cart adjustments */
    .cart-drawer {
        max-width: 100vw;
    }

    .cart-item {
        grid-template-columns: 50px 1fr;
        gap: 0.75rem;
    }

    .cart-item-actions {
        grid-column: 2;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-top: 0.5rem;
    }

    .quantity-controls input {
        width: 40px;
    }

    .mini-cart {
        min-width: 90vw;
        max-width: 90vw;
    }
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Enhanced button styles */
.button-secondary {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.button-secondary:hover {
    background: var(--color-primary);
    color: var(--color-primary-foreground, white);
}

/* Loading states */
.hero-button:active {
    transform: scale(0.98);
}

/* Focus states for accessibility */
.hero-button:focus {
    outline: 3px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

/* Hero background overlay enhancement */
.hero-overlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.3) 100%
    );
    z-index: 1;
}

.hero-content {
    z-index: 2;
}

/* Parallax effect support */
@media (prefers-reduced-motion: no-preference) {
    .hero-overlay {
        background-attachment: fixed;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-overlay {
        background-attachment: scroll;
    }

    .scroll-indicator {
        animation: none;
    }

    .hero-button:hover {
        transform: none;
    }
}

/* Wavy Section Blocks */
.wavy-section {
    position: relative;
    padding: calc(var(--spacing) * 4) 0;
    overflow: hidden;
}

.wavy-section::before,
.wavy-section::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 100px;
    background-repeat: no-repeat;
    z-index: 1;
}

.wavy-section::before {
    top: -80px;
    background-image: url("/asd.svg");
    background-size: 100% 100%;
    height: 100px;
}

.wavy-section::after {
    display: none; /* Only using one wobble for now */
}

/* Wave Variants - simplified for PNG */
.wavy-section.wave-top-only::after {
    display: none;
}

.wavy-section.wave-bottom-only::before {
    display: none;
}

.wavy-section.wave-bottom-only::after {
    display: block;
    bottom: -80px;
    background-image: url("/asd.svg");
    transform: scaleY(-1);
    height: 100px;
    background-size: 100% 100%;
}

.wavy-section.wave-steep::before {
    height: 150px;
    top: -120px;
}

/* Color Block Variants */
.wavy-section.color-primary {
    background-color: var(--color-primary);
    color: var(--color-primary-foreground);
}

.wavy-section.color-secondary {
    background-color: var(--color-secondary);
    color: var(--color-secondary-foreground);
}

.wavy-section.color-background {
    background-color: var(--color-background);
    color: var(--color-primary);
}

.wavy-section.color-navbar {
    background-color: var(--navbar-bg);
    color: var(--navbar-text);
}

/* Content Container for Wavy Sections */
.wavy-section .section-content {
    max-width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 1;
}

/* Responsive Waves */
@media (max-width: 768px) {
    .wavy-section::before,
    .wavy-section::after {
        height: 80px;
        background-size: 800px 80px;
    }

    .wavy-section::before {
        top: -40px;
    }

    .wavy-section::after {
        bottom: -40px;
    }

    .wavy-section {
        padding: calc(var(--spacing) * 3) 0;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .wavy-section::before,
    .wavy-section::after {
        transition: transform 0.3s ease;
    }

    .wavy-section:hover::before {
        transform: translateY(calc(-100% - 2px));
    }

    .wavy-section:hover::after {
        transform: translateY(calc(100% + 2px));
    }
}
