@font-face {
    font-family: 'Acumin Variable Concept';
    src: url('AcuminVariableConcept.otf') format('opentype');
    font-weight: 1 1000;
    font-style: normal;
}

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

body {
    font-family: 'Acumin Variable Concept', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 12pt;
    font-weight: 500;
    line-height: 1.2;
    color: #000;
    background-color: #acada8;
    height: 100vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.container {
    display: flex;
    height: 100vh;
    width: 100%;
}

.sidebar {
    width: 220px;
    background-color: #acada8;
    padding: 20px 40px 40px 20px;
    display: flex;
    flex-direction: column;
    gap: 0;
    flex-shrink: 0;
}

.sidebar-header {
    display: block;
    order: 1;
}

.menu-toggle {
    display: none;
}

.mobile-menu {
    display: flex;
}

.brand-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: opacity 0.2s;
}

.brand-link:hover {
    text-decoration: none;
    opacity: 0.6;
}

.brand-link:visited {
    text-decoration: none;
}

.brand-link:active {
    text-decoration: none;
}

.brand {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-name {
    font-size: 14pt;
    font-weight: 500;
    color: #000;
    margin: 0;
}

.location {
    font-size: 12pt;
    font-weight: 500;
    color: #000;
    margin: 0;
}

.navigation {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
    order: 2;
}

.nav-item {
    display: flex;
    flex-direction: column;
}

.nav-link {
    font-size: 14pt;
    font-weight: 500;
    color: #000;
    text-decoration: none;
    transition: opacity 0.2s;
}

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

.nav-item > .nav-link::after {
    content: ' [+]';
}

.nav-item.active-dropdown > .nav-link::after {
    content: ' [-]';
}

.dropdown {
    display: none;
    flex-direction: column;
    padding-left: 20px;
    margin-top: 12px;
}

.nav-item.active-dropdown .dropdown {
    display: flex;
}

.dropdown-link {
    font-size: 14pt;
    font-weight: 500;
    color: #000;
    text-decoration: none;
    transition: opacity 0.2s;
}

.dropdown-link:hover {
    opacity: 0.6;
}

.cart {
    order: 3;
    margin-top: auto;
}

.cart-link {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}

.cart-link:hover {
    opacity: 0.6;
}

.cart-text {
    font-size: 14pt;
    font-weight: 500;
    color: #000;
}

/* Cart page styles */
.cart-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 16px;
    max-width: 600px;
}

.cart-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-item-content {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.cart-item-image {
    width: 240px;
    height: auto;
    max-width: 240px;
    flex-shrink: 0;
    object-fit: cover;
    border: 1px solid #000;
}

.cart-item-right {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    justify-content: space-between;
    align-items: flex-start;
}

.cart-item-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cart-item-name {
    font-size: 12pt;
    font-weight: 500;
    color: #000;
    margin: 0;
}


.cart-item-total {
    font-size: 12pt;
    font-weight: 500;
    color: #000;
    margin: 0;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-quantity-btn {
    font-size: 12pt;
    font-weight: 500;
    color: #000;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-family: 'Acumin Variable Concept', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    transition: opacity 0.2s;
}

.cart-quantity-btn:hover {
    opacity: 0.6;
}

.cart-quantity {
    font-size: 12pt;
    font-weight: 500;
    color: #000;
}

.cart-remove-btn {
    font-size: 12pt;
    font-weight: 500;
    color: #000;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-family: 'Acumin Variable Concept', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    text-decoration: none;
    transition: opacity 0.2s;
}

.cart-remove-btn:hover {
    opacity: 0.6;
}

.cart-notes {
    margin-top: 24px;
    max-width: 600px;
}

.cart-notes-label {
    font-size: 12pt;
    font-weight: 500;
    color: #000;
    margin-bottom: 8px;
    display: block;
}

.cart-notes-input {
    width: 100%;
    min-height: 100px;
    padding: 12px;
    font-family: 'Acumin Variable Concept', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 12pt;
    font-weight: 500;
    color: #000;
    background-color: #acada8;
    border: 1px solid #000;
    resize: vertical;
    box-sizing: border-box;
}

.cart-notes-input:focus {
    outline: none;
    border-color: #000;
}

.cart-notes-input::placeholder {
    color: #999;
    font-weight: 400;
}

.cart-total {
    margin-top: 24px;
    max-width: 600px;
}

.checkout-section {
    margin-top: 16px;
    max-width: 600px;
}

.page-content .page-text {
    max-width: none;
    font-size: 10pt;
}

/* Cart Overlay */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    visibility: hidden;
    transition: visibility 0s linear 0.4s;
}

.cart-overlay.active {
    visibility: visible;
    transition: visibility 0s linear 0s;
}

.cart-overlay-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.cart-overlay-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    max-width: 90vw;
    height: 100%;
    background-color: #acada8;
    display: flex;
    flex-direction: column;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-overlay.active .cart-overlay-panel {
    transform: translateX(0);
}

.cart-overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px;
    border-bottom: 1px solid #000;
    flex-shrink: 0;
}

.cart-close-btn {
    font-size: 12pt;
    font-weight: 500;
    color: #000;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-family: 'Acumin Variable Concept', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    text-decoration: none;
    transition: opacity 0.2s;
}

.cart-close-btn:hover {
    opacity: 0.6;
}

.cart-overlay-content {
    flex: 1;
    padding: 40px;
    overflow-y: auto;
}

.cart-overlay-content .cart-items {
    max-width: 100%;
}

.cart-overlay-content .cart-item-image {
    width: 180px;
    max-width: 180px;
}

.cart-overlay-content .cart-total,
.cart-overlay-content .checkout-section,
.cart-overlay-content .cart-notes {
    max-width: 100%;
}

.divider {
    width: 1px;
    min-width: 1px;
    background-color: #000;
    height: 100%;
    flex-shrink: 0;
}

.content {
    flex: 1;
    background-color: #acada8;
    overflow-y: auto;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 400px;
}

.content.page-content {
    align-items: flex-start;
    justify-content: flex-start;
}

.home-image-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 100%;
}

.home-image {
    max-width: 93.5%;
    height: auto;
    max-height: calc(93.5vh - 74.8px);
    object-fit: contain;
    border: 1px solid #000;
}


.home-image-caption {
    font-size: 9pt;
    font-weight: 500;
    color: #000;
    margin-top: 12px;
    text-align: left;
}


/* Active navigation link styling */
.nav-link.active,
.dropdown-link.active {
    text-decoration: underline;
}

/* Product page layout */
.product-image-first {
    display: none !important;
}

.product-image-duplicate {
    display: block !important;
}

.product-images {
    flex: 1;
    background-color: #acada8;
    padding: 40px;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    gap: 40px;
    min-height: 0;
    max-height: 100vh;
    height: 100vh;
    min-width: 400px;
}

.product-sidebar {
    width: 420px;
    background-color: #acada8;
    padding: 40px;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}


.product-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    flex-shrink: 0;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border: 1px solid #000;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-title {
    font-size: 14pt;
    font-weight: 500;
    color: #000;
    margin: 0;
}

.product-price {
    font-size: 12pt;
    font-weight: 500;
    color: #000;
    margin: 0;
}

.product-description,
.product-features,
.product-origin {
    font-size: 10pt;
    font-weight: 500;
    color: #000;
    margin: 0;
    line-height: 1.4;
}

.product-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.product-link-spaced {
    margin-top: 16px;
}


.product-link {
    font-size: 10pt;
    font-weight: 500;
    color: #000;
    text-decoration: none;
    transition: opacity 0.2s;
}

.product-link:hover {
    opacity: 0.6;
}

/* Page content styling (About, Contact) */
.page-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.page-content .page-title {
    margin-bottom: 16px;
}

.page-title {
    font-size: 14pt;
    font-weight: 500;
    color: #000;
    margin: 0;
}

.about-title {
    font-size: 14pt;
}

.page-text {
    font-size: 12pt;
    font-weight: 500;
    color: #000;
    margin: 0;
    line-height: 1.4;
    max-width: none;
}

.team-names {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 16px;
    max-width: none;
}

.team-names p {
    font-size: 10pt;
    font-weight: 500;
    color: #000;
    margin: 0;
}

.email-link {
    color: blue;
    text-decoration: underline;
    transition: opacity 0.2s;
}

.email-link:hover {
    opacity: 0.6;
}

/* Mobile styles */
@media (max-width: 900px) {
    body {
        overflow-y: auto;
        height: auto;
        min-height: 100vh;
    }

    .container {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }

    .sidebar {
        width: 100%;
        padding: 10px 16px;
        gap: 0;
        order: 1;
    }

    .sidebar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        min-height: 28px;
        padding: 0;
        order: 1;
    }

    .brand-name {
        line-height: 1;
        display: flex;
        align-items: center;
    }

    .brand-link {
        display: flex;
        align-items: center;
        min-height: 28px;
    }

    .menu-toggle {
        position: relative;
        display: block;
        width: 24px;
        height: 14px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 10;
        margin-top: 0;
        flex-shrink: 0;
    }

    .menu-toggle-line {
        position: absolute;
        left: 0;
        width: 100%;
        height: 1px;
        background-color: #000;
        transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
        transform-origin: center;
    }

    .menu-toggle-line:nth-child(1) {
        top: 0;
    }

    .menu-toggle-line:nth-child(2) {
        top: 50%;
        transform: translateY(-50%);
    }

    .menu-toggle-line:nth-child(3) {
        top: 100%;
        transform: translateY(-100%);
    }

    .menu-toggle.active .menu-toggle-line:nth-child(1) {
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
    }

    .menu-toggle.active .menu-toggle-line:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .menu-toggle-line:nth-child(3) {
        top: 50%;
        transform: translateY(-50%) rotate(-45deg);
    }

    .mobile-menu {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        background-color: #acada8;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .mobile-menu.active {
        max-height: 500px;
    }

    .mobile-menu > * {
        opacity: 0;
        transition: opacity 0.1s ease-out;
    }

    .mobile-menu.active > * {
        opacity: 1;
        transition: opacity 0.2s ease-in 0.1s;
    }

    .mobile-menu .nav-item:hover .dropdown {
        display: none;
    }

    .mobile-menu .nav-item.active-dropdown .dropdown {
        display: flex;
    }

    .mobile-menu .nav-link:hover {
        opacity: 1;
    }

    .mobile-menu .dropdown-link:hover {
        opacity: 1;
    }

    .brand {
        gap: 0;
        flex: 1;
        display: flex;
        justify-content: center;
        flex-direction: column;
    }

    .cart.cart-always {
        order: 2;
        display: none;
        width: 100%;
        margin-top: 4px;
        max-height: none;
        overflow: visible;
        opacity: 1;
    }

    body.cart-has-items .cart.cart-always {
        display: block;
    }

    .navigation.mobile-menu {
        order: 3;
        gap: 8px;
        margin-top: 0;
    }

    .navigation.mobile-menu.active {
        margin-top: 8px;
        margin-bottom: 8px;
    }

    .divider {
        width: 100%;
        height: 1px;
        order: 2;
        display: none;
    }

    .divider:first-of-type {
        display: block;
        margin-bottom: 16px;
    }

    /* Homepage only: pull image up under the header */
    body.page-home .divider:first-of-type {
        margin-bottom: 0;
    }

    .content {
        order: 3;
        padding: 20px;
        width: 100%;
        min-height: auto;
        min-width: 0;
    }

    body.page-home .content {
        padding: 16px 16px 20px;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .content.page-content {
        padding: 20px;
    }

    .home-image-container {
        width: 100%;
        align-items: stretch;
        margin-top: 0;
    }

    .home-image {
        max-width: 100%;
        width: 100%;
        max-height: none;
        margin: 0;
        display: block;
    }

    .home-image-caption {
        font-size: 8pt;
        margin-top: 8px;
        text-align: left;
        width: 100%;
    }

    /* Product page mobile */
    .product-image-first {
        display: block !important;
        order: 3;
        padding: 0;
        width: calc(100% - 40px);
        margin-left: 20px;
        margin-right: 20px;
        margin-top: 0;
        margin-bottom: 0;
        box-sizing: border-box;
        max-width: 100%;
        height: auto;
        object-fit: contain;
        border: 1px solid #000;
    }

    .product-images {
        order: 5;
        padding: 0;
        width: 100%;
        height: auto;
        max-height: none;
        min-height: auto;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .product-image-duplicate {
        display: none !important;
    }

    .product-sidebar {
        order: 4;
        width: 100%;
        padding: 20px;
        margin-top: 0;
    }

    .product-image:not(.product-image-duplicate) {
        padding: 0;
        width: calc(100% - 40px);
        margin-left: 20px;
        margin-right: 20px;
        margin-top: 0;
        margin-bottom: 0;
        box-sizing: border-box;
        max-width: 100%;
        height: auto;
        object-fit: contain;
        border: 1px solid #000;
    }

    .product-image {
        max-width: 100%;
        margin: 0;
    }

    /* About/Contact mobile */
    .page-content {
        padding: 20px;
        gap: 12px;
    }

    /* Cart overlay mobile */
    .cart-overlay-panel {
        width: 100%;
        max-width: 100%;
    }

    .cart-overlay-header {
        padding: 20px;
    }

    .cart-overlay-content {
        padding: 20px;
    }

    .cart-overlay-content .cart-item-image {
        width: 120px;
        max-width: 120px;
    }
}

