:root {
    --product-info-width: 500px;
}

body {
    font-family: "brown-pro", sans-serif;
    font-weight: 200;
    font-style: normal;
    background-color: #f0f0f0;
    margin: 0;
    padding: 0;
    padding-top: 180px; /* Increased padding for more space */
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #e0e0e0;
    text-align: center;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header img {
    display: block;
    justify-content: center;
    margin: 0 auto;
    max-width: 200px;
}

.nav-container {
    width: 100%;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: transparent;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 600px;
    max-width: 100%;
    margin: 0 auto;
}

.nav-left, .nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: transparent;
}

.nav-right {
    margin-left: auto;
    background: transparent;
}

nav a {
    margin: 0 10px;
    text-decoration: none;
    color: black;
    font-family: "brown-pro", sans-serif;
    font-weight: 200;
    font-style: normal;
    font-size: 16px;
    background: transparent;
}

nav a.active {
    color: #EE3E38;
}

.catalog {
    display: grid;
    grid-template-columns: repeat(2, 300px);
    gap: 40px;
    max-width: 640px;
    margin: 0 auto;
    padding: 0;
}


@media (max-width: 700px) {
    .catalog {
        grid-template-columns: 1fr;
        max-width: 300px;
    }
}

.catalog-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
    border: 1px solid #000;
}


.catalog-grid {
    display: grid;
    grid-template-columns: repeat(2, 300px);
    gap: 40px;
    max-width: 640px;
    margin: 0 auto;
    padding: 0;
}

.catalog-item {
    padding: 10px;
    text-align: center;
    border: 1px solid #000;
}

.catalog-item img {
    max-width: 100%;
    height: auto;
    border: 1px solid #000;
}

.catalog-header {
    text-align: center;
    padding: 20px;
    border-bottom: 1px solid #000;
}

.product {
    text-align: center;
    width: 300px;
    padding: 0;
    margin: 0;
}

.product img {
    width: 300px;
    height: 300px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    background: #f8f8f8;
}

.product-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 10px 0;
    padding: 0 8px;
    box-sizing: border-box;
}

.product-title {
    font-size: 12px;
    font-family: "brown-pro", sans-serif;
font-weight: 200;
font-style: normal;
    margin: 0;
    color: black;
    padding: 5px 0;
    letter-spacing: 0.5px;
    text-transform: lowercase;
}

.product-price {
    font-size: 12px;
    font-family: "brown-pro", sans-serif;
font-weight: 200;
font-style: normal;
    margin: 0;
    color: black;
    padding: 0;
    font-weight: 200;
}

.product-card {
    position: relative;
    background: white;
    width: 300px;
    padding: 10px;
    text-align: center;
    border: 1px solid #000;
}

.product-card img {
    width: 300px;
    height: 300px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    background: #f8f8f8;
    max-width: 100%;
    border: 1px solid #000;
}

.product-card.loading .product-image-placeholder {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

.product-card.loading .product-title-placeholder,
.product-card.loading .product-price-placeholder {
    height: 20px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    margin: 5px 0;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.add-to-cart {
    width: 100%;
    padding: 15px;
    background-color: #000;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 16px;
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.add-to-cart:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.add-to-cart:not(:disabled):hover {
    background-color: #333;
}

.button-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.checkout-now {
    width: 100%;
    padding: 15px;
    background: #000;
    color: white;
    border: none;
    cursor: pointer;
    font-family: "brown-pro", sans-serif;
font-weight: 200;
font-style: normal;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: background-color 0.2s;
    margin-top: 10px;
}

.checkout-now:hover {
    background: #333;
}

.checkout-now:disabled {
    background: #f5f5f5;
    border-color: #ccc;
    color: #ccc;
    cursor: not-allowed;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    gap: 20px;
}

h1 {
    text-align: center;
    color: #333;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
}

.product-card {
    position: relative;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-card .image-container {
    width: 300px;
    height: 300px;
    flex: 0 0 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f8f8;
}

.product-card img {
    max-width: 100%;
    /* max-height: 100%; */
    object-fit: contain;
}

.product-image-container {
    width: 300px;
    height: 300px;
    flex: 0 0 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f8f8;
}

.product-images {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    overflow: hidden;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-image {
    position: absolute;
    max-width: 100%;
    /*max-height: 500px;*/
    object-fit: contain;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    /* Make all images visible but stacked */
    opacity: 1;
    /* Hide all by default except the first */
    z-index: 1;
    transition: opacity 0.3s ease;
}

/* Make the first image visible by default */
.product-image:first-of-type {
    z-index: 5;
}

.product-slide {
    width: 100%;
    height: auto;
    display: none;
}

.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 18px;
}

.prev-slide {
    left: 10px;
}

.next-slide {
    right: 10px;
}

.product-thumbnails {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.5rem 0;
}

.product-thumbnail {
    width: 80px;
    height: 80px;
    flex: 0 0 80px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.product-thumbnail.active {
    opacity: 1;
}

.product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-container {
    display: flex;
    gap: 20px;
    padding: 20px;
    margin-top: 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.product-images {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    position: relative;
}

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

.landing-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
    border: 1px solid #000;
}

.product-info-details {
    flex: 0 0 400px;
    position: sticky;
    top: 200px;
    align-self: flex-start;
    padding: 20px;
    text-align: center;
        font-family: "brown-pro", sans-serif;
    font-weight: 200;
    font-style: normal;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 1px solid #000;
    box-sizing: border-box;
}

.product-info-details h1,
.product-info-details p,
.product-info-details div {
    text-align: center;
        font-family: "brown-pro", sans-serif;
    font-weight: 200;
    font-style: normal;
}

.product-info-details h1 {
    font-family: "brown-pro", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 24px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price {
    font-family: "brown-pro", sans-serif;
font-weight: 200;
font-style: normal;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 300;
}

.description {
    font-family: "brown-pro", sans-serif;
    font-weight: 200;
    font-style: normal;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 30px;
    font-weight: 300;
    text-align: center;
}

.option {
    margin-bottom: 30px;
}

.option h3 {
    font-family: "brown-pro", sans-serif;
font-weight: 400;
font-style: normal;
    font-size: 14px;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.option-values {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.option-value {
    padding: 10px 20px;
    border: 1px solid #000;
    background: none;
    cursor: pointer;
    font-family: "brown-pro", sans-serif;
font-weight: 200;
font-style: normal;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    text-transform: uppercase;
}

.option-value:hover {
    background: #000;
    color: #fff;
}

.option-value.selected {
    background: #000;
    color: #fff;
}

.add-to-cart {
    width: 100%;
    padding: 15px;
    background-color: #000;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 16px;
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.add-to-cart:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.add-to-cart:not(:disabled):hover {
    background-color: #333;
}

.checkout-now {
    width: 100%;
    padding: 15px;
    background: #000;
    color: white;
    border: none;
    cursor: pointer;
    font-family: "brown-pro", sans-serif;
font-weight: 200;
font-style: normal;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: background-color 0.2s;
    margin-top: 10px;
}

.checkout-now:hover {
    background: #333;
}

.checkout-now:disabled {
    background: #f5f5f5;
    border-color: #ccc;
    color: #ccc;
    cursor: not-allowed;
}

.slideshow-container {
    width: 100%;
    max-width: 500px;
    position: relative;
    margin: auto;
}

@media (max-width: 1200px) {
    .product-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
    }

    .product-info-details {
        width: min(800px, 100% - 40px);
        min-width: 600px;
        margin: 10px auto;
        position: static;
        box-sizing: border-box;
    }

    .product-images {
        width: min(800px, 100% - 40px);
        margin: 0 auto;
        position: relative;
    }

    .slideshow-container {
        width: 100%;
        height: 500px;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        border: 1px solid #000;
    }

    .product-image {
        display: none;
        position: absolute;
        width: 100%;
        height: 100%;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        border: none;
        margin: 0;
        object-fit: contain;
        /* max-height: 100%; */
        max-width: 100%;
    }

    .product-image:first-of-type {
        display: block;
    }

    .mobile-nav {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        pointer-events: none;
        z-index: 2;
    }

    .mobile-prev,
    .mobile-next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        padding: 15px;
        cursor: pointer;
        font-size: 24px;
        pointer-events: auto;
        color: #000;
        opacity: 0.3;
        transition: opacity 0.2s;
    }

    .mobile-prev:hover,
    .mobile-next:hover {
        opacity: 0.8;
    }

    .mobile-prev {
        left: 10px;
    }

    .mobile-next {
        right: 10px;
    }
}

@media (max-width: 850px) {
    .product-container {
        padding: 10px;
    }
    
    .product-images {
        height: 500px;
    }
}


@media (max-width: 600px) {
    .nav-left, .nav-right {
        gap: 0.5rem;
    }

    nav a {
        margin: 0 7px;
        font-size: 13px;
        background: transparent;
    }
}

@media (max-width: 480px) {
    nav {
        justify-content: center;
        text-align: center;
        padding: 0.25rem;
    }

    .nav-left, .nav-right {
        width: 100%;
        justify-content: center;
        gap: 0.25rem;
        margin: 0.25rem 0;
    }

    nav a {
        margin: 0 5px;
        font-size: 12px;
        background: transparent;
    }
}

.product-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.product-link img {
    width: 300px;
    min-height: 300px;
    object-fit: cover;
    display: block;
}

.cart-count {
    display: inline-block;
    margin-left: 5px;
    font-size: 12px;
    font-family: "brown-pro", sans-serif;
font-weight: 200;
font-style: normal;
}

.cart-count:empty {
    display: none;
}

@media (max-width: 1200px) {
    .product-image {
        display: none;
        position: absolute;
        width: 100%;
        height: 100%;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
}

.mobile-nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    z-index: 10;
    pointer-events: none; /* Allow clicks to pass through to images */
}

.mobile-prev,
.mobile-next {
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    pointer-events: auto; /* Make buttons clickable */
}

.mobile-prev:hover,
.mobile-next:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.5);
}

.about-content, .contact-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.about-content p, .contact-content p {
    font-family: 'Brown Pro Light', sans-serif;
}

.large-letter {
    font-size: 4rem;
    font-weight: bold;
    display: block;
    text-align: center;
    margin-bottom: 1rem;
    color: #333;
    font-family: serif;
}

.option-values {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.option-value {
    padding: 10px 20px;
    border: 1px solid #000;
    background: none;
    cursor: pointer;
    font-family: "brown-pro", sans-serif;
font-weight: 200;
font-style: normal;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    text-transform: uppercase;
}

.option-value:hover {
    background: #000;
    color: #fff;
}

.option-value.selected {
    background: #000;
    color: #fff;
}

.option h3 {
    font-size: 14px;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mobile screens */
@media (max-width: 768px) {
    #products {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1rem;
    }

    .product-card .image-container {
        width: 150px;
        height: 150px;
        flex: 0 0 150px;
    }

    .product-image-container {
        width: 150px;
        height: 150px;
        flex: 0 0 150px;
    }
}

/* Force single column on slim screens */
@media (max-width: 500px) {
    #products {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

#products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
}

/* Force 2 columns: 300px (card) * 2 + 2rem (gap) + 2rem (padding) * 2 = 668px */
@media (max-width: 968px) {
    #products {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 1.5rem;
    }
}

/* Mobile screens */
@media (max-width: 768px) {
    #products {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1rem;
    }

    .product-card .image-container {
        width: 150px;
        height: 150px;
        flex: 0 0 150px;
    }

    .product-image-container {
        width: 150px;
        height: 150px;
        flex: 0 0 150px;
    }
}

/* Force single column on slim screens */
@media (max-width: 650px) {
    #products {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

img[src="Pose.jpg"] {
    width: 600px;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

nav {
    width: 600px;
    max-width: 100%;
    margin:  auto;
}

.nav-text {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    border-top: 1px solid #000;
}

@media (min-width: 1200px) {
    .product-container {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
    }

    .product-images {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        min-width: 0; /* Allows flex item to shrink below min-content */
    }

    .product-info-details {
        flex: 1 1 auto; /* Allow to expand */
        min-width: var(--product-info-width);
        max-width: var(--product-info-width);
        border: 1px solid #000;
        padding: 20px;
        box-sizing: border-box;
        z-index: 2;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        text-align: center;
    }

    .product-slideshow {
        display: block;
        height: auto;
    }

    .product-slideshow img {
        width: 100%;
        height: auto;
        margin-bottom: 20px;
    }
}

@media (max-width: 1200px) {
    .catalog {
        grid-template-columns: 1fr;
        max-width: 300px;
        gap: 30px;
    }

    .product {
        margin: 0 auto;
    }
}


/* Cart and Bag Styles */
.cart-count {
    display: inline-block;
    margin-right: 3px;
}

.bag-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.bag-items {
    margin-bottom: 30px;
}

.empty-bag-message {
    text-align: center;
    padding: 40px 0;
    font-size: 16px;
    color: #666;
}

.bag-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
    position: relative;
}

.bag-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin-right: 20px;
    border: 1px solid #eee;
}

.bag-item-details {
    flex-grow: 1;
}

.bag-item-details h3 {
    margin: 0;
    font-size: 16px;
    font-weight: normal;
}

.bag-item-details p {
    margin: 5px 0;
    font-size: 14px;
    color: #666;
}

.remove-item {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 20px;
    padding: 5px;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

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

.bag-summary {
    padding: 20px 0;
    border-top: 1px solid #eee;
}

.bag-total {
    font-size: 16px;
    margin-bottom: 15px;
}

.checkout-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #000;
    color: #fff;
    border: none;
    cursor: pointer;
    font-family: "brown-pro", sans-serif;
font-weight: 200;
font-style: normal;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.checkout-btn:hover {
    background: #333;
}


@media (max-width: 660px) {
    nav {
        justify-content: center;
        text-align: center;
        padding: 0.25rem;
    }

    .nav-left, .nav-right {
        width: 100%;
        justify-content: center;
        gap: 0.25rem;
        margin: 0.25rem 0;
    }

    nav a {
        margin: 0 5px;
        font-size: 12px;
        font-family: "brown-pro", sans-serif;
        font-weight: 200;
        background: transparent;
    }
}


@media (max-width: 660px) {
    .catalog-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
    }
    
    .catalog-item {
        max-width: 100%;
    }
}

.marquee-container {
  width: 100%;
  overflow: hidden;
  background: transparent;
  border-bottom: 1px solid #000;
}

.marquee-text {
  display: inline-block;
  white-space: nowrap;
  will-change: transform;
  padding-left: 100%;
  animation: marquee 20s linear infinite;
  font-weight: bold;
  letter-spacing: 0.2em;
  color: #ff2a2a;
  font-size: 1.1em;
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* Orders paused banner */
.orders-paused {
    width: 100%;
    padding: 0.6rem 0;
    background: #666; /* neutral grey */
    color: #fff;
    text-align: center;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-bottom: 1px solid #000;
}

/* Helper: when orders paused, dim interactive checkout controls */
.orders-paused-active .checkout-btn,
.orders-paused-active .checkout-now {
    background: #f5f5f5 !important;
    color: #bdbdbd !important;
    border-color: #e0e0e0 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

.product-details img,
.product-container img,
.full-image,
.main-image {
  display: block;
  margin: 0 auto;
  height: auto;
}