/* Reset and Fonts */
@font-face {
    font-family: 'MyArialNarrow';
    src: url('fonts/Arial%20Narrow.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'MyArial';
    src: url('fonts/Arial.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Circe';
    src: url('fonts/circe-extra-light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

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

body {
    font-family: 'MyArialNarrow', 'Arial Narrow', sans-serif;
    overflow: hidden;
    color: white;
    background-color: black;
}

/* Background */
#background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

#background-container .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 1s ease-in-out;
    transform: translateX(0);
}

#background-container .slide.next {
    transform: translateX(100%);
}

#background-container .slide.prev {
    transform: translateX(-100%);
}

/* Navigation */
header {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

/* Header Right Items */
.header-right {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    white-space: nowrap;
}

.header-right-link {
    font-family: 'MyArialNarrow', 'Arial Narrow', sans-serif;
    font-size: 20px;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    color: #9b9b9b;
    text-decoration: none;
    transition: color 0.2s;
    transform: scaleY(1.47);
    transform-origin: center;
}

.header-right-link:hover {
    color: #ffffff;
}

.cart-link {
    position: relative;
    display: inline-flex;
    align-items: flex-end;
    gap: 4px;

}

.cart-badge {
    position: absolute;
    bottom: -20px;
    right: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid #9b9b9b;
    font-family: 'Hiragino Kaku Gothic Pro', 'HiraKakuPro-W3', sans-serif;
    font-size: 15px;
    font-weight: bold;
    color: #9b9b9b;
    line-height: 1;
}

.header-datetime {
    font-family: 'MyArialNarrow', 'Arial Narrow', sans-serif;
    font-size: 20px;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    color: #9b9b9b;
    transform: scaleY(1.47);
    transform-origin: center;
}

/* Invert header-right for light pages (reverted to light gray) */
body.shop-page .header-right-link,
body.shop-page .cart-badge,
body.shop-page .header-datetime {
    color: #9b9b9b !important;
}

body.shop-page .header-right-link:hover {
    color: #000000;
}

body.shop-page .cart-badge {
    border-color: #9b9b9b !important;
}

body.product-page .header-right-link,
body.product-page .cart-badge,
body.product-page .header-datetime {
    color: #9b9b9b !important;
}

body.product-page .header-right-link:hover {
    color: #000000;
}

body.product-page .cart-badge {
    border-color: #9b9b9b !important;
}

nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.top-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-row a {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

/* Nav text styles (contact-page style) */
.nav-text {
    font-family: 'MyArialNarrow', 'Arial Narrow', sans-serif;
    font-size: 20px;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    color: #9b9b9b;
    text-decoration: none;
    transform: scaleY(1.47);
    transform-origin: center;
    transition: opacity 0.2s;
}

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

/* Submenu text styles */
.nav-sub-text {
    font-family: 'MyArialNarrow', 'Arial Narrow', sans-serif;
    font-size: 16px;
    letter-spacing: -0.05em;
    color: #b0b0b0;
    text-decoration: none;
    transform: scaleY(1.47);
    transform-origin: center;
    transition: color 0.2s;
}

.nav-sub-text:hover {
    color: #9b9b9b;
}

/* Invert nav for light pages (reverted to light gray) */
body.shop-page a.nav-text,
body.shop-page .nav-text {
    color: #9b9b9b !important;
}

body.shop-page .nav-sub-text {
    color: #b0b0b0 !important;
}

body.shop-page .nav-sub-text:hover {
    color: #9b9b9b !important;
}

body.product-page a.nav-text,
body.product-page .nav-text {
    color: #9b9b9b !important;
}

body.product-page .nav-sub-text {
    color: #b0b0b0 !important;
}

body.product-page .nav-sub-text:hover {
    color: #9b9b9b !important;
}

/* Shop Dropdown */
.shop-dropdown {
    position: relative;
}

.shop-dropdown>a {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.sub-menu {
    display: none;
    flex-direction: column;
    gap: 2px;
    padding-left: 0;
    position: absolute;
    top: 100%;
    left: 0;
    padding-top: 5px;
}

@media (min-width: 601px) {
    .shop-dropdown:hover .sub-menu {
        display: flex;
    }
}

.sub-menu a {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

/* Search input styling (text-based) */
@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.search-wrapper-text {
    margin-top: 5px;
    animation: blink 1.5s infinite;
}

.search-input-text {
    background: transparent;
    border: none;
    border-bottom: 1px solid #b0b0b0;
    color: #b0b0b0;
    font-family: 'MyArialNarrow', 'Arial Narrow', sans-serif;
    font-size: 16px;
    letter-spacing: -0.05em;
    transform: scaleY(1.47);
    transform-origin: center;
    outline: none;
    padding: 2px 0;
    width: 180px;
}

.search-input-text::placeholder {
    color: #b0b0b0;
    text-align: right;
}

body.shop-page .search-input-text {
    border-bottom-color: #666;
    color: #666;
}

body.shop-page .search-input-text::placeholder {
    color: #666;
}

body.product-page .search-input-text {
    border-bottom-color: #666;
    color: #666;
}

body.product-page .search-input-text::placeholder {
    color: #666;
}

/* Popup */
#newsletter-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ff0000;
    opacity: 0.451;
    width: 623px;
    height: 411px;
    max-width: 90%;
    text-align: center;
    box-shadow: none;
    z-index: 100;
    color: black;
    overflow: visible;
    padding: 30px 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    line-height: 0;
}

.close-btn img {
    height: 25px;
    width: auto;
    display: block;
}

#newsletter-popup h2 {
    margin: 0;
    font-family: 'MyArialNarrow', 'Arial Narrow', sans-serif;
    font-size: 36px;
    font-weight: normal;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    transform: scaleY(1.7);
    transform-origin: center;
    text-align: center;
    color: #010101;
}

#newsletter-popup p {
    margin: 5px 0;
    line-height: 0;
}

#newsletter-popup p img {
    width: 100%;
    max-width: 583px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.signup-form {
    margin-top: 5px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

/* Email Input Styling */
.input-group {
    position: relative;
    width: 100%;
    max-width: 377px;
    margin: 0 auto;
}

.email-svg-bg {
    width: 100%;
    height: auto;
    display: block;
    pointer-events: none;
}

.email-input {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) scale(0.7, 1.3);
    transform-origin: left center;
    left: 22%;
    /* Start after "EMAIL" text */
    width: 112%;
    /* Compensate for horizontal compression (78% / 0.7) */
    background: transparent;
    border: none;
    color: black;
    font-family: 'MyArialNarrow', 'Arial Narrow', sans-serif;
    font-size: 32px;
    /* Increased size to match EMAIL text */
    /* Increased size to match EMAIL text */
    text-transform: uppercase;
    /* Match the style of the label */
    outline: none;
    padding: 0;
    margin-top: -2px;
    /* Adjusted visual alignment */
}

.signup-form button[type="submit"] {
    background: transparent;
    border: none;
    cursor: pointer;
    margin-top: 15px;
    padding: 0;
    line-height: 0;
    border-bottom: 2px solid transparent;
}

.signup-form button[type="submit"] img {
    height: 47px;
    width: auto;
    display: block;
}

.signup-form button[type="submit"]:hover {
    border-bottom: 2px solid black;
}

/* --- SHOP PAGE STYLES --- */

body.shop-page {
    overflow-y: auto;
    background-color: white;
    color: black;
}

body.shop-page #background-container {
    display: none;
}




.shop-container {
    display: flex;
    justify-content: center;
    margin-top: 100px;
    padding-left: 50px;
    padding-right: 50px;
}

.shop-main {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    padding-top: 0;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1600px;
    width: 100%;
}

.product-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.product-item a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.product-item:hover {
    transform: translateY(-5px);
}

.product-item img {
    width: 100%;
    height: 320px;
    object-fit: contain;
    margin-bottom: 30px;
}

.product-info {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.product-name {
    font-family: 'MyArial', Arial, sans-serif;
    font-weight: bold;
    font-size: 13px;
    text-transform: uppercase;
    color: black;
    letter-spacing: 0.5px;
}

.product-price {
    font-family: 'MyArial', Arial, sans-serif;
    font-weight: normal;
    font-size: 13px;
    color: black;
}

/* Responsive Grid */
@media (max-width: 1200px) {
    .shop-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .shop-container {
        flex-direction: column;
        padding-left: 20px;
        padding-right: 20px;
    }

    .shop-sidebar {
        width: 100%;
        margin-bottom: 30px;
        text-align: center;
        /* Center categories on mobile */
    }

    .category-list {
        display: flex;
        flex-wrap: wrap;
        /* Allow wrapping */
        justify-content: center;
        /* Center items */
        gap: 20px;
    }

    .shop-main {
        padding-left: 0;
        justify-content: center;
    }

    .shop-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .shop-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .product-item img {
        height: 200px;
    }

    .product-name {
        font-size: 11px;
    }

    .product-price {
        font-size: 11px;
    }
}

/* --- PRODUCT PAGE STYLES --- */

/* --- SHOP NEWSLETTER & FOOTER --- */
.shop-newsletter {
    text-align: center;
    padding: 60px 30px;
    border-top: 1px solid #e5e5e5;
    margin-top: 60px;
}

.shop-newsletter h2 {
    font-family: 'MyArialNarrow', 'Arial Narrow', sans-serif;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    transform: scaleY(1.47);
    transform-origin: center;
    margin: 0 0 10px 0;
    color: black;
}

.shop-newsletter p {
    font-family: 'MyArialNarrow', 'Arial Narrow', sans-serif;
    font-size: 14px;
    color: #666;
    margin: 0 0 20px 0;
}

.shop-newsletter-form {
    display: flex;
    max-width: 400px;
    margin: 0 auto;
    border: 1px solid #ccc;
}

.shop-newsletter-form input {
    flex: 1;
    padding: 14px 16px;
    border: none;
    font-family: 'MyArialNarrow', 'Arial Narrow', sans-serif;
    font-size: 14px;
    outline: none;
    background: transparent;
}

.shop-newsletter-form button {
    padding: 14px 20px;
    background: black;
    color: white;
    border: none;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s;
}

.shop-newsletter-form button:hover {
    background: #333;
}

.shop-footer {
    text-align: center;
    padding: 30px;
    border-top: 1px solid #e5e5e5;
}

.shop-footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.shop-footer-links a {
    font-family: 'MyArialNarrow', 'Arial Narrow', sans-serif;
    font-size: 12px;
    color: #999;
    text-decoration: none;
}

.shop-footer-links a:hover {
    color: #333;
    text-decoration: underline;
}

.shop-footer-copy {
    font-family: 'MyArialNarrow', 'Arial Narrow', sans-serif;
    font-size: 11px;
    color: #bbb;
    margin: 0;
}

/* --- Checkout Quantity Badge --- */
.checkout-summary-item {
    position: relative;
}

.checkout-summary-item .item-qty-badge {
    position: absolute;
    top: -6px;
    left: 52px;
    background: #555;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
}

/* --- Contact Hover --- */
.contact-text-overlay a:hover {
    text-decoration: underline !important;
}

body.product-page {
    overflow-y: auto;
    background-color: white;
    color: black;
}

body.product-page #background-container {
    display: none;
}



.product-main {
    padding-top: 110px;
    padding-left: 50px;
    padding-right: 50px;
    padding-bottom: 50px;
    display: flex;
    justify-content: center;
}

/* Instagram Post Card */
.ig-post {
    display: flex;
    width: 100%;
    max-width: 1300px;
    height: 845px;
    border: 2px solid #dbdbdb;
    background: white;
}

.ig-image-section {
    flex: 1.2;
    position: relative;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 845px;
}

.ig-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

.ig-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.ig-arrow:hover {
    opacity: 1;
}

.ig-arrow-left {
    left: 12px;
}

.ig-arrow-right {
    right: 12px;
}

/* Right Info Section */
.ig-info-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    border-left: 2px solid #dbdbdb;
    max-width: 400px;
    position: relative;
}




/* Profile Header */
.ig-profile-header {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 2px solid #dbdbdb;
    gap: 10px;
}

.ig-avatar img,
.ig-avatar-small img {
    border-radius: 50%;
    object-fit: cover;
}

.ig-avatar img {
    width: 42px;
    height: 42px;
}

.ig-avatar-small img {
    width: 36px;
    height: 36px;
}

.ig-username-header {
    font-family: 'MyArial', Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #262626;
    flex: 1;
}

.ig-follow-btn {
    background: none;
    border: none;
    color: #262626;
    font-family: 'MyArial', Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
}

.ig-follow-btn:hover {
    color: #000;
}

/* Post Content (scrollable area) */
.ig-post-content {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    padding-right: 0;
}

/* Scrollbar on post content */
.ig-post-content::-webkit-scrollbar {
    width: 12px;
}

.ig-post-content::-webkit-scrollbar-track {
    background: transparent;
    border-left: 2px solid #dbdbdb;
}

.ig-post-content::-webkit-scrollbar-thumb {
    background: #c7c7c7;
    border-radius: 100px;
    border-left: 4px solid transparent;
    border-right: 2px solid transparent;
    background-clip: padding-box;
}

.ig-post-content::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
    background-clip: padding-box;
}

/* Caption */
.ig-caption {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    align-items: flex-start;
}

.ig-caption .ig-avatar-small {
    display: block;
}

.ig-caption-text {
    font-family: 'MyArial', Arial, sans-serif;
    font-size: 18px;
    line-height: 1.3;
    color: #262626;
    font-weight: 400;
}

.ig-caption-text p {
    margin: 0 0 2px 0;
}



.ig-caption-text strong {
    font-weight: 600;
}

.ig-time-ago {
    display: inline;
    color: #000000;
    margin-left: 4px;
}

.ig-product-title {
    font-weight: 400;
    font-size: 18px;
    display: block;
    margin-top: 2px;
    text-transform: uppercase;
    color: #262626 !important;
}

.ig-sizes {
    color: #262626;
    font-size: 18px;
    display: block !important;
    margin-top: 14px !important;
}

.ig-price {
    font-weight: 400;
    color: #262626;
}

.ig-add-to-cart {
    display: inline-block;
    margin-top: 12px;
    padding: 0;
    background: none;
    border: none;
    color: #262626;
    font-family: 'MyArial', Arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    text-transform: uppercase;
    cursor: pointer;
    letter-spacing: 0.02em;
    width: auto;
    max-width: none;
    text-decoration: none;
}

.ig-add-to-cart:hover {
    color: #000;
    text-decoration: underline;
}

/* Sizes hover */
.ig-sizes span:hover {
    text-decoration: underline;
    font-weight: 600;
}

/* Comments */
.ig-comments {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-right: 16px;
}

.ig-comment {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.ig-comment-text {
    font-family: 'MyArial', Arial, sans-serif;
    font-size: 18px;
    line-height: 1.3;
    color: #262626;
}

.ig-comment-text p {
    margin: 0 0 2px 0;
}

.ig-comment-meta {
    font-size: 15px;
    font-weight: 600;
    color: #262626;
    display: flex;
    gap: 16px;
    margin-top: 2px;
}

/* Engagement Bar */
.ig-engagement {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px 20px 16px;
    border-top: 2px solid #dbdbdb;
}

.ig-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.ig-action {
    font-family: 'MyArial', Arial, sans-serif;
    font-size: 15px;
    color: #262626;
    cursor: pointer;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ig-action:hover {
    opacity: 0.6;
}

.ig-icon {
    width: 31px;
    height: 31px;
    object-fit: contain;
    vertical-align: middle;
}

.ig-icon-save {
    width: 26px;
    height: 31px;
}

.ig-bookmark {
    cursor: pointer;
    transition: transform 0.2s;
    display: flex;
    align-items: center;
}

.ig-bookmark:hover {
    transform: scale(1.15);
}

.ig-follow-btn:hover {
    color: #00376b;
    text-decoration: underline;
}

.ig-date {
    padding: 0 16px 4px;
    font-family: 'MyArial', Arial, sans-serif;
    font-size: 15px;
    color: #262626;
    text-transform: none;
}


/* --- IG Text Tracking (Photoshop VA values) --- */

/* VA -30 for product text: title, sizes, price, add-to-cart, comment body, caption body */
.ig-product-title,
.ig-sizes,
.ig-price,
.ig-add-to-cart,
.ig-caption-text,
.ig-comment-text,
.ig-date {
    font-family: 'MyArial', Arial, sans-serif !important;
    letter-spacing: -0.03em !important;
    font-weight: 400 !important;
}

/* VA -50 for profile names (usernames) */
.ig-username-header,
.ig-caption-text strong,
.ig-comment-text strong {
    font-family: 'MyArial', Arial, sans-serif !important;
    letter-spacing: -0.05em !important;
    font-weight: 600 !important;
}

/* VA -50 for Follow button */
.ig-follow-btn {
    font-family: 'MyArial', Arial, sans-serif !important;
}

/* VA -50 for engagement counts (likes, comments, shares) */
.ig-action {
    font-family: 'MyArial', Arial, sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: -0.05em !important;
}


/* Newsletter Popup Modal */
.newsletter-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

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

/* When popup is inside overlay, prevent opacity compounding */
.newsletter-modal-overlay #newsletter-popup.product-popup {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    opacity: 1;
    background-color: rgba(255, 0, 0, 0.451);
}

.newsletter-modal {
    background: #ff0000;
    padding: 50px 60px;
    max-width: 500px;
    width: 90%;
    position: relative;
    text-align: center;
}

.newsletter-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: black;
    font-weight: bold;
}

.newsletter-modal h2 {
    font-family: 'MyArialNarrow', 'Arial Narrow', sans-serif;
    font-size: 32px;
    font-weight: bold;
    text-transform: uppercase;
    transform: scaleY(1.47);
    transform-origin: center;
    margin: 0 0 16px 0;
    color: black;
}

.newsletter-modal p {
    font-family: 'MyArialNarrow', 'Arial Narrow', sans-serif;
    font-size: 20px;
    transform: scaleY(1.47);
    transform-origin: center;
    margin: 0 0 30px 0;
    color: black;
    text-transform: uppercase;
    line-height: 1.3;
}

.newsletter-modal-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.newsletter-modal-form label {
    font-family: 'MyArialNarrow', 'Arial Narrow', sans-serif;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    transform: scaleY(1.47);
    transform-origin: center;
    color: black;
    display: flex;
    align-items: center;
    gap: 10px;
}

.newsletter-modal-form input[type="email"] {
    border: none;
    border-bottom: 2px solid black;
    background: transparent;
    font-family: 'MyArialNarrow', 'Arial Narrow', sans-serif;
    font-size: 16px;
    padding: 4px 0;
    outline: none;
    width: 200px;
    color: black;
}

.newsletter-modal-form input[type="email"]::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.newsletter-modal-form button {
    font-family: 'MyArialNarrow', 'Arial Narrow', sans-serif;
    font-size: 22px;
    font-weight: bold;
    text-transform: uppercase;
    transform: scaleY(1.47);
    transform-origin: center;
    background: none;
    border: none;
    cursor: pointer;
    color: black;
    margin-top: 10px;
}

.newsletter-modal-form button:hover {
    text-decoration: underline;
}

/* Hidden size selector (used by JS) */
.ig-size-selector {
    display: none;
}

/* Responsive Product Page */
@media (max-width: 900px) {
    .ig-post {
        flex-direction: column;
        max-width: 100%;
        height: auto;
        border: 1px solid #dbdbdb;
        border-radius: 4px;
        background: white;
    }

    .ig-image-section {
        width: 100%;
        flex: none;
        height: auto;
        min-height: auto;
        aspect-ratio: 1 / 1;
        order: 2;
        border-bottom: 1px solid #dbdbdb;
        border-right: none;
        background: transparent;
    }

    .ig-info-section {
        display: contents;
    }

    .ig-profile-header {
        order: 1;
        border-bottom: 1px solid #efefef;
    }

    .ig-engagement {
        order: 3;
        border-top: none;
        padding-top: 16px;
    }

    .ig-post-content {
        order: 4;
        padding-top: 0;
    }

    .ig-date {
        order: 5;
    }

    .product-main {
        padding: 60px 10px 40px 10px;
    }

    .ig-caption {
        margin-bottom: 10px;
    }

    .ig-comments {
        display: none;
    }

    .ig-engagement {
        padding: 6px 16px 4px;
    }

    .ig-date {
        padding: 2px 16px 8px;
    }

    .ig-add-to-cart {
        margin-top: 10px;
        margin-bottom: 4px;
    }
}

/* --- CART PAGE STYLES --- */

body.cart-page {
    overflow-y: auto;
    background-color: white;
    color: black;
}

body.cart-page #background-container {
    display: none;
}

body.cart-page a.nav-text,
body.cart-page .nav-text {
    color: #9b9b9b !important;
}

body.cart-page .nav-sub-text {
    color: #b0b0b0 !important;
}

body.cart-page .nav-sub-text:hover {
    color: #9b9b9b !important;
}

body.cart-page .header-right-link,
body.cart-page .cart-badge,
body.cart-page .header-datetime {
    color: #555555;
}

body.cart-page .header-right-link:hover {
    color: #000000;
}

body.cart-page .cart-badge {
    border-color: #555555;
}

body.cart-page .search-input-text {
    border-bottom-color: #666;
    color: #666;
}

body.cart-page .search-input-text::placeholder {
    color: #666;
}

.cart-main {
    padding-top: 80px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 40px;
}

.cart-header-row {
    display: flex;
    align-items: center;
    padding: 20px 0;
    font-family: 'MyArialNarrow', 'Arial Narrow', sans-serif;
    font-size: 16px;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    transform: scaleY(1.47);
    transform-origin: left center;
    color: #333;
    margin-bottom: 10px;
}

.cart-col-product {
    flex: 1;
}

.cart-col-quantity {
    width: 300px;
    text-align: left;
}

.cart-col-total {
    width: 200px;
    text-align: right;
}

/* Cart Item Row */
.cart-item {
    display: flex;
    align-items: center;
    padding: 25px 0;
    border-top: none;
}

.cart-item-product {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 25px;
}

.cart-item-image {
    width: 150px;
    height: 150px;
    object-fit: contain;
    background-color: transparent;
}

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

.cart-item-name {
    font-family: 'MyArialNarrow', 'Arial Narrow', sans-serif;
    font-size: 16px;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    transform: scaleY(1.47);
    transform-origin: left center;
    color: black;
    font-weight: normal;
}

.cart-item-size {
    font-family: 'MyArialNarrow', 'Arial Narrow', sans-serif;
    font-size: 16px;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    transform: scaleY(1.47);
    transform-origin: left center;
    color: black;
}

.cart-item-quantity {
    width: 300px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.qty-btn {
    background: none;
    border: none;
    font-family: 'MyArialNarrow', 'Arial Narrow', sans-serif;
    font-size: 18px;
    cursor: pointer;
    color: black;
    padding: 0 4px;
    transform: scaleY(1.47);
    transform-origin: center;
}

.qty-btn:hover {
    opacity: 0.5;
}

.qty-value {
    font-family: 'MyArialNarrow', 'Arial Narrow', sans-serif;
    font-size: 16px;
    min-width: 20px;
    text-align: center;
    transform: scaleY(1.47);
    transform-origin: center;
}

.remove-btn {
    background: none;
    border: none;
    font-family: 'MyArialNarrow', 'Arial Narrow', sans-serif;
    font-size: 14px;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    cursor: pointer;
    color: black;
    text-decoration: underline;
    transform: scaleY(1.47);
    transform-origin: center;
    margin-left: 20px;
}

.remove-btn:hover {
    opacity: 0.5;
}

.cart-item-total {
    width: 200px;
    text-align: right;
    font-family: 'MyArialNarrow', 'Arial Narrow', sans-serif;
    font-size: 16px;
    letter-spacing: -0.05em;
    transform: scaleY(1.47);
    transform-origin: right center;
    color: black;
}

/* Cart Footer */
.cart-divider {
    width: 100%;
    height: 1px;
    background-color: #ccc;
    margin: 30px 0;
}

.cart-total-section {
    display: flex;
    justify-content: flex-end;
}

.cart-total-info {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.cart-total-row {
    display: flex;
    align-items: center;
    gap: 30px;
}

.cart-total-label {
    font-family: 'MyArialNarrow', 'Arial Narrow', sans-serif;
    font-size: 18px;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    transform: scaleY(1.47);
    transform-origin: right center;
    font-weight: bold;
    color: black;
}

.cart-total-price {
    font-family: 'MyArialNarrow', 'Arial Narrow', sans-serif;
    font-size: 18px;
    letter-spacing: -0.05em;
    transform: scaleY(1.47);
    transform-origin: right center;
    color: black;
}

.cart-total-note {
    font-family: 'MyArialNarrow', 'Arial Narrow', sans-serif;
    font-size: 12px;
    color: #666;
    margin-top: 4px;
    transform: scaleY(1.47);
    transform-origin: right center;
}

.checkout-btn {
    margin-top: 12px;
    padding: 14px 60px;
    background: transparent;
    border: 1px solid black;
    font-family: 'MyArialNarrow', 'Arial Narrow', sans-serif;
    font-size: 16px;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    transform: scaleY(1.47);
    transform-origin: center;
    cursor: pointer;
    transition: all 0.2s;
}

.checkout-btn:hover {
    background-color: black;
    color: white;
}

/* Cart Empty */
.cart-empty {
    text-align: center;
    padding: 80px 0;
}

.cart-empty p {
    font-family: 'MyArialNarrow', 'Arial Narrow', sans-serif;
    font-size: 24px;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    transform: scaleY(1.47);
    transform-origin: center;
    color: #999;
    margin-bottom: 20px;
}

.continue-shopping {
    font-family: 'MyArialNarrow', 'Arial Narrow', sans-serif;
    font-size: 16px;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    transform: scaleY(1.47);
    transform-origin: center;
    color: black;
    text-decoration: underline;
    display: inline-block;
}

/* Cart Bottom */
.cart-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 60px;
    padding-top: 20px;
}

.country-label {
    font-family: 'MyArialNarrow', 'Arial Narrow', sans-serif;
    font-size: 12px;
    color: #666;
    display: block;
    margin-bottom: 6px;
}

.country-select {
    font-family: 'MyArialNarrow', 'Arial Narrow', sans-serif;
    font-size: 14px;
    padding: 8px 12px;
    border: 1px solid #ccc;
    background: white;
    color: black;
    cursor: pointer;
}

.cart-payment-icons {
    display: flex;
    gap: 6px;
    align-items: center;
}

.payment-icon {
    height: 24px;
    width: auto;
}

/* Cart Site Footer */
.cart-site-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.cart-site-footer p {
    font-family: 'MyArialNarrow', 'Arial Narrow', sans-serif;
    font-size: 12px;
    color: #999;
}

/* Responsive Cart */
@media (max-width: 900px) {
    .cart-main {
        padding-left: 20px;
        padding-right: 20px;
    }

    .cart-item {
        flex-direction: row;
        align-items: center;
        gap: 12px;
        flex-wrap: wrap;
    }

    .cart-item-image {
        width: 90px;
        height: 90px;
    }

    .cart-item-info {
        flex: 1;
        min-width: 0;
    }

    .cart-item-quantity {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .cart-col-quantity,
    .cart-col-total {
        display: none;
    }

    .cart-bottom {
        flex-direction: column;
        gap: 20px;
    }
}

/* --- ARCHIVE PAGE STYLES --- */

body.archive-page {
    overflow-y: auto;
    background-color: white;
    color: black;
}

body.archive-page #background-container {
    display: none;
}

body.archive-page a.nav-text,
body.archive-page .nav-text {
    color: #9b9b9b !important;
}

body.archive-page .nav-sub-text {
    color: #b0b0b0 !important;
}

body.archive-page .nav-sub-text:hover {
    color: #9b9b9b !important;
}

body.archive-page .header-right-link,
body.archive-page .cart-badge,
body.archive-page .header-datetime {
    color: #555555;
}

body.archive-page .header-right-link:hover {
    color: #000000;
}

body.archive-page .cart-badge {
    border-color: #555555;
}

body.archive-page .search-input-text {
    border-bottom-color: #666;
    color: #666;
}

body.archive-page .search-input-text::placeholder {
    color: #666;
}

.archive-main {
    padding-top: 80px;
    padding-left: 50px;
    padding-right: 50px;
    padding-bottom: 60px;
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.archive-item a {
    text-decoration: none;
    color: black;
    display: block;
}

.archive-image-wrapper {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background-color: #f0f0f0;
}

.archive-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.archive-item a:hover .archive-image {
    transform: scale(1.05);
}

.archive-caption {
    display: block;
    margin-top: 12px;
    font-family: 'MyArialNarrow', 'Arial Narrow', sans-serif;
    font-size: 14px;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    transform: scaleY(1.47);
    transform-origin: left center;
    color: black;
    text-align: center;
}

/* Responsive Archive */
@media (max-width: 1100px) {
    .archive-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .archive-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .archive-main {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 480px) {
    .archive-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

/* --- CHECKOUT PAGE STYLES --- */

body.checkout-page {
    overflow-y: auto;
    background-color: white;
    color: black;
}

body.checkout-page #background-container {
    display: none;
}

body.checkout-page a.nav-text,
body.checkout-page .nav-text {
    color: #9b9b9b !important;
}

body.checkout-page .nav-sub-text {
    color: #b0b0b0 !important;
}

body.checkout-page .nav-sub-text:hover {
    color: #9b9b9b !important;
}

body.checkout-page .header-right-link,
body.checkout-page .cart-badge,
body.checkout-page .header-datetime {
    color: #555;
}

body.checkout-page .header-right-link:hover {
    color: #000;
}

body.checkout-page .cart-badge {
    border-color: #555;
}

body.checkout-page .search-input-text {
    border-bottom-color: #666;
    color: #666;
}

body.checkout-page .search-input-text::placeholder {
    color: #666;
}

.checkout-main {
    padding-top: 80px;
    padding-bottom: 60px;
    max-width: 1100px;
    margin: 0 auto;
    padding-left: 30px;
    padding-right: 30px;
}

.checkout-container {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.checkout-form-section {
    flex: 1.4;
}

.checkout-summary {
    flex: 1;
    background: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 24px;
    position: sticky;
    top: 80px;
}

/* Express Checkout */
.express-checkout {
    text-align: center;
    margin-bottom: 20px;
}

.express-checkout h3 {
    font-family: 'MyArialNarrow', 'Arial Narrow', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #666;
    margin-bottom: 16px;
}

.express-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.express-btn {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'MyArialNarrow', 'Arial Narrow', sans-serif;
}

.paypal-btn {
    background: #FFC439;
    color: #003087;
}

.applepay-btn {
    background: #000;
    color: white;
}

.gpay-btn {
    background: #1a1a1a;
    color: white;
}

.express-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    color: #999;
    font-size: 13px;
}

.express-divider::before,
.express-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #ddd;
}

/* Checkout Sections */
.checkout-section {
    margin-bottom: 30px;
}

.checkout-section h2 {
    font-family: 'MyArialNarrow', 'Arial Narrow', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 16px 0;
    color: #1a1a1a;
}

.checkout-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.checkout-section-header h2 {
    margin: 0;
}

.checkout-signin {
    font-family: 'MyArialNarrow', 'Arial Narrow', sans-serif;
    font-size: 14px;
    color: #1a1a1a;
    text-decoration: underline;
}

/* Floating Label Fields */
.checkout-field {
    position: relative;
    margin-bottom: 14px;
}

.checkout-field input,
.checkout-field select {
    width: 100%;
    padding: 20px 14px 8px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    font-family: 'MyArialNarrow', 'Arial Narrow', sans-serif;
    font-size: 15px;
    outline: none;
    background: white;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.checkout-field input:focus,
.checkout-field select:focus {
    border-color: #1a1a1a;
}

.checkout-field label {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'MyArialNarrow', 'Arial Narrow', sans-serif;
    font-size: 15px;
    color: #999;
    pointer-events: none;
    transition: all 0.2s;
}

.checkout-field input:focus+label,
.checkout-field input:not(:placeholder-shown)+label,
.checkout-field select+label {
    top: 10px;
    font-size: 11px;
    transform: translateY(0);
    color: #666;
}

.checkout-row {
    display: flex;
    gap: 14px;
}

.checkout-row .checkout-field {
    flex: 1;
}

.checkout-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'MyArialNarrow', 'Arial Narrow', sans-serif;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    margin-top: 10px;
}

.checkout-checkbox input {
    width: 16px;
    height: 16px;
}

.checkout-hint {
    font-family: 'MyArialNarrow', 'Arial Narrow', sans-serif;
    font-size: 13px;
    color: #999;
    margin: 0 0 14px 0;
}

/* Shipping Options */
.shipping-options {
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    overflow: hidden;
}

.shipping-option {
    display: flex;
    align-items: center;
    padding: 16px;
    cursor: pointer;
    gap: 12px;
    border-bottom: 1px solid #e5e5e5;
    font-family: 'MyArialNarrow', 'Arial Narrow', sans-serif;
    font-size: 14px;
    transition: background 0.15s;
}

.shipping-option:last-child {
    border-bottom: none;
}

.shipping-option:hover {
    background: #fafafa;
}

.shipping-option.selected {
    background: #f0f8ff;
}

.shipping-option input[type="radio"] {
    accent-color: #1a1a1a;
}

.shipping-label {
    flex: 1;
}

.shipping-price {
    font-weight: 600;
}

/* Payment Options */
.payment-options {
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    overflow: hidden;
}

.payment-option {
    display: flex;
    align-items: center;
    padding: 16px;
    cursor: pointer;
    gap: 12px;
    font-family: 'MyArialNarrow', 'Arial Narrow', sans-serif;
    font-size: 14px;
    border-bottom: 1px solid #e5e5e5;
}

.payment-option.selected {
    background: #f0f8ff;
}

.card-fields {
    padding: 16px;
    background: #fafafa;
    border-bottom: 1px solid #e5e5e5;
}

/* Submit */
.checkout-submit-btn {
    width: 100%;
    padding: 18px;
    background: #1a1a1a;
    color: white;
    border: none;
    border-radius: 6px;
    font-family: 'MyArialNarrow', 'Arial Narrow', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 10px;
}

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

/* Summary */
.checkout-summary h2 {
    font-family: 'MyArialNarrow', 'Arial Narrow', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 20px 0;
}

.checkout-summary-item {
    display: flex;
    gap: 14px;
    margin-bottom: 16px;
    align-items: center;
}

.checkout-summary-item img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #e5e5e5;
}

.checkout-summary-item-info {
    flex: 1;
    font-family: 'MyArialNarrow', 'Arial Narrow', sans-serif;
    font-size: 14px;
}

.checkout-summary-item-info .item-name {
    font-weight: 600;
    display: block;
}

.checkout-summary-item-info .item-variant {
    color: #666;
    font-size: 12px;
}

.checkout-summary-item-price {
    font-family: 'MyArialNarrow', 'Arial Narrow', sans-serif;
    font-size: 14px;
    font-weight: 600;
}

.checkout-summary-totals {
    border-top: 1px solid #e5e5e5;
    padding-top: 16px;
    margin-top: 16px;
}

.checkout-summary-row {
    display: flex;
    justify-content: space-between;
    font-family: 'MyArialNarrow', 'Arial Narrow', sans-serif;
    font-size: 14px;
    margin-bottom: 8px;
    color: #333;
}

.checkout-summary-row.total {
    font-size: 18px;
    font-weight: 700;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e5e5e5;
    color: #1a1a1a;
}

/* Responsive */
@media (max-width: 900px) {
    .checkout-container {
        flex-direction: column-reverse;
        gap: 30px;
    }

    .checkout-summary {
        position: static;
        width: 100%;
    }
}

/* === GLOBAL MOBILE === */
@media (max-width: 600px) {

    /* Header mobile */
    header {
        top: 8px;
        left: 8px;
        right: 8px;
        flex-wrap: nowrap;
        gap: 0;
    }

    nav {
        gap: 3px;
    }

    .top-row {
        gap: 4px;
        align-items: baseline;
    }

    .shop-dropdown {
        display: inline-flex;
        align-items: baseline;
    }

    .nav-text {
        font-size: 12px !important;
        transform: scaleY(1.3) !important;
        letter-spacing: -0.06em;
    }

    .header-right {
        gap: 4px;
    }

    .header-right-link {
        font-size: 12px;
        transform: scaleY(1.3);
        letter-spacing: -0.06em;
    }

    .header-datetime {
        font-size: 12px !important;
        transform: scaleY(1.3) !important;
        letter-spacing: -0.06em;
    }

    .cart-badge {
        position: absolute;
        width: 15px;
        height: 15px;
        font-size: 8px;
        bottom: -15px;
        right: 0;
        transform: none;
    }

    .cart-link {
        align-items: flex-end;
    }

    .sub-menu {
        left: 0;
    }

    .shop-dropdown.open .sub-menu {
        display: flex;
    }

    .nav-sub-text {
        font-size: 11px !important;
    }



    /* Cart mobile */
    .cart-item {
        flex-direction: row !important;
        align-items: center !important;
        gap: 12px;
    }

    .cart-item-image {
        width: 80px;
        height: 80px;
    }

    .cart-item-details {
        font-size: 12px;
        gap: 10px;
    }

    .cart-item-name {
        font-size: 13px;
        line-height: 1.6;
        margin-bottom: 4px;
    }

    .cart-item-size {
        font-size: 13px;
        line-height: 1.6;
    }

    .cart-item-quantity {
        width: auto;
        flex-direction: row;
        align-items: center;
        gap: 6px;
    }

    .cart-item-total {
        width: auto;
        text-align: right;
    }

    .qty-btn {
        width: 24px;
        height: 24px;
        font-size: 14px;
    }

    .remove-btn {
        font-size: 10px;
        padding: 2px 6px;
    }

    .cart-footer-bottom {
        flex-direction: column;
        gap: 20px;
    }

    /* Newsletter mobile */
    .shop-newsletter {
        padding: 40px 15px;
    }

    .shop-newsletter-form {
        max-width: 100%;
    }

    #newsletter-popup {
        height: auto;
        padding: 25px 20px;
        width: 85%;
    }

    .popup-content {
        gap: 8px;
    }

    #newsletter-popup h2 img {
        width: 60%;
        max-width: 100%;
        height: auto;
    }

    #newsletter-popup p img {
        width: 95%;
        max-width: 100%;
        height: auto;
    }

    .input-group {
        width: 65%;
        max-width: 100%;
        margin: 0 auto;
    }

    .signup-form button[type="submit"] {
        margin-top: 5px;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .signup-form button[type="submit"] img {
        height: auto;
        width: 35%;
        margin: 0 auto;
    }

    /* Checkout mobile */
    .checkout-form {
        padding: 20px;
    }

    .express-checkout {
        flex-direction: column;
        gap: 8px;
    }
}

/* --- Privacy corner link (index bottom-left) --- */
.privacy-corner {
    position: fixed;
    bottom: 18px;
    left: 20px;
    z-index: 50;
    font-family: 'MyArialNarrow', 'Arial Narrow', sans-serif;
    font-size: 14px;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    color: #9b9b9b;
    text-decoration: none;
    transform: scaleY(1.47);
    transform-origin: left center;
}

.privacy-corner:hover {
    color: #ffffff;
}

@media (max-width: 600px) {
    .privacy-corner {
        bottom: 12px;
        left: 12px;
        font-size: 9px;
        transform: scaleY(1.3);
    }
}

/* --- Legal pages (Privacy policy) --- */
body.legal-page {
    overflow-y: auto;
    background-color: white;
    color: black;
}

body.legal-page #background-container {
    display: none;
}

body.legal-page .header-right-link,
body.legal-page .cart-badge,
body.legal-page .header-datetime,
body.legal-page a.nav-text,
body.legal-page .nav-text,
body.legal-page .nav-sub-text,
body.legal-page .search-input-text {
    color: black;
}

body.legal-page .search-input-text::placeholder {
    color: #666;
}

.legal-main {
    max-width: 820px;
    margin: 0 auto;
    padding: 120px 32px 60px;
}

.legal-article {
    font-family: 'MyArial', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.65;
    color: #111;
}

.legal-article h1 {
    font-family: 'MyArialNarrow', 'Arial Narrow', sans-serif;
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 8px;
}

.legal-article .legal-meta {
    color: #888;
    font-size: 13px;
    margin-bottom: 32px;
}

.legal-article h2 {
    font-family: 'MyArialNarrow', 'Arial Narrow', sans-serif;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-top: 32px;
    margin-bottom: 12px;
}

.legal-article p {
    margin-bottom: 14px;
}

.legal-article ul {
    margin: 0 0 14px 22px;
    padding: 0;
    list-style: disc;
}

.legal-article li {
    margin-bottom: 6px;
}

.legal-article a {
    color: #111;
    text-decoration: underline;
}

.legal-article a:hover {
    color: #555;
}

@media (max-width: 600px) {
    .legal-main {
        padding: 100px 18px 40px;
    }

    .legal-article {
        font-size: 14px;
    }

    .legal-article h1 {
        font-size: 22px;
    }

    .legal-article h2 {
        font-size: 16px;
    }
}

/* --- Sold out state --- */
.product-item.is-sold-out img {
    opacity: 0.45;
}

.sold-out-badge {
    font-size: 11px;
    color: #c00000;
    letter-spacing: 1px;
    white-space: nowrap;
}

.ig-add-to-cart:disabled {
    pointer-events: none;
}

/* --- Product description on card --- */
.ig-description {
    white-space: pre-line;
    margin: 2px 0 6px;
    font-size: 13px;
    line-height: 1.4;
    color: #262626;
}