/* SHOPSUI Showcase Styles - EXACT match to original style.css */

@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400&display=swap');

/* Reset and base - EXACT match to original style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html.has-scroll-smooth {
    overflow: hidden;
}

/* Hide scrollbar but keep functionality */
html {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

html::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

body {
    font-family: 'Arial', sans-serif;
    background-color: transparent;
    color: #fff;
    min-height: 100vh;
    margin-top: 0 !important;
    padding-top: 0 !important;
    /* Don't set overflow: hidden - breaks mobile touch scrolling */
}

/* Also target WordPress layout containers */
.wp-site-blocks,
.is-root-container {
    min-height: 100vh;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* WordPress overrides */
body.has-shopsui-showcase {
    font-family: 'Arial', sans-serif !important;
}

.showcase-transition-color {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    min-height: 100vh; /* Ensure minimum height on all browsers */
    background-color: rgb(240, 149, 240);
    z-index: 0; /* Put behind everything else */
    pointer-events: none; /* Make sure it doesn't interfere with interactions */
}

/* Intro overlay styles */
.intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.intro-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.black-fade-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #373032;
    z-index: 10000;
    pointer-events: none;
}

.intro-text-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-word {
    position: absolute;
    max-width: min(80vw, 600px);
    width: auto;
    height: auto;
    opacity: 0;
    will-change: transform, opacity;
    z-index: 1;
}

/* Ensure all scrollable content is above the pink background */
.wp-block-shopsui-showcase-block,
.sections-container,
.content-section {
    position: relative;
    z-index: 1;
}

/* Additional fix for iOS Safari */
@supports (-webkit-touch-callout: none) {
    .showcase-transition-color {
        height: -webkit-fill-available; /* iOS Safari support */
    }
}

/* Shopping Cart Icon Styles */
.cart-icon-wrapper {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.cart-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.cart-icon:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.cart-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: rgb(240, 149, 240);
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
}

/* Cart Dropdown Styles */
.cart-dropdown {
    position: absolute;
    top: 60px;
    right: 0;
    width: 350px;
    max-width: 90vw;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    color: #fff;
    display: none;
    overflow: hidden;
    transform: translateY(-10px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-dropdown.show {
    transform: translateY(0);
    opacity: 1;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 500;
}

.close-cart {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.close-cart:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.cart-content {
    max-height: 400px;
    overflow-y: auto;
    padding: 20px;
}

.cart-loading, .cart-empty, .cart-error {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.7);
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cart-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cart-item-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-details h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
}

.cart-item-details h4 a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.cart-item-details h4 a:hover {
    color: rgb(240, 149, 240);
}

.cart-item-attributes {
    margin: 5px 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.cart-item-attribute {
    margin-right: 10px;
}

.cart-item-quantity {
    margin: 5px 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.cart-item-price {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

.cart-item-total {
    flex-shrink: 0;
    text-align: right;
    font-weight: 500;
    font-size: 1.1rem;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
    flex-direction: column;
    gap: 15px;
}

.cart-total-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 500;
}

.view-cart-btn, .checkout-btn {
    display: block;
    width: 100%;
    padding: 12px 20px;
    text-align: center;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.view-cart-btn {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.view-cart-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.checkout-btn {
    background-color: rgb(240, 149, 240);
    color: #fff;
}

.checkout-btn:hover {
    background-color: rgb(220, 129, 220);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(240, 149, 240, 0.3);
}

/* Custom scrollbar for cart content */
.cart-content::-webkit-scrollbar {
    width: 6px;
}

.cart-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.cart-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.cart-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Background illustration */
.bg-ill {
    position: fixed;
    width: 1200px;
    bottom: 0;
    right: 0;
    z-index: 1;
}

.bg-ill img {
    width: 100%;
    height: auto;
    opacity: 0.2;
    transform: rotate(20deg);
}

/* Fixed background image container */
.image-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 2;
    pointer-events: auto;
    overflow: hidden; /* Prevent images from showing outside container during slide */
}

.image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    will-change: transform, opacity;
}

.image.current {
    opacity: 1;
    visibility: visible;
}

/* Scrollable content sections */
.sections-container {
    position: relative;
    z-index: 3;
    width: 100%;
}

.content-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: right;
    position: relative;
}

.content {
    max-width: 800px;
    padding: 2rem;
    text-align: right;
    transform: translateY(17.5vh); /* Move content 17.5% lower (middle of 15-20% range) */
}

.content h2 {
    font-family: 'Arial', sans-serif;
    color: #fff;
    font-weight: bold;
    font-size: 4rem;
    letter-spacing: -2px;
    margin-bottom: 1rem;
}

.content p {
    font-family: 'Arial', sans-serif;
    font-size: 1.5rem;
    padding: 0.2rem;
    color: #fff;
}

.more-images-link {
    display: inline-block;
    margin-top: 20px;
    margin-left: 15px;
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
    outline: none;
    display: none;
}

.more-images-link:hover {
    border-bottom-color: rgba(255, 255, 255, 0.8);
    transform: translateX(5px);
}

.more-images-link:active {
    transform: translateX(2px);
}

.more-images-back {
    display: inline-block;
    margin-top: 20px;
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
    outline: none;
    display: none;
}

.more-images-back:hover {
    border-bottom-color: rgba(255, 255, 255, 0.8);
    transform: translateX(-5px);
}

.more-images-back:active {
    transform: translateX(-2px);
}

/* Size Selector Styles */
.size-selector-container {
    margin-top: 20px;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    background-color: rgb(240, 149, 240);
    width: 250px;
}

.size-selector-container label {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
}

.size-selector {
    background: none;
    border: none;
    color: #616161;
    padding: 0 10px;
    margin-right: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    height: 38px;
}

.size-selector:hover {
    background-color: rgba(173, 173, 173, 0.329);
}

.size-selector:focus {
    background-color: rgba(173, 173, 173, 0.329);
}

.size-selector option {
    background: rgba(221, 132, 221, 0.678);
    border: none;
    color: #616161;
}

/* Add to Cart Button Styles */
.add-to-cart-btn {
    background: none;
    color: #616161;
    border: none;
    padding: 0 10px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0rem;
    text-transform: uppercase;
    text-align: right;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    height: 38px;
}

/* Button takes full width when no selector present */
.size-selector-container:has(> .add-to-cart-btn:only-child) {
    justify-content: flex-end;
}

.size-selector-container:has(> .add-to-cart-btn:only-child) .add-to-cart-btn {
    width: 100%;
}

.add-to-cart-btn:hover {
    background-color: rgba(173, 173, 173, 0.329);
}

.add-to-cart-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Cart Message Styles */
.cart-message {
    margin-top: 15px;
    font-size: 1.1rem;
    min-height: 25px;
    transition: all 0.3s ease;
}

.cart-message.success {
    color: #90EE90;
    background-color: rgba(144, 238, 144, 0.1);
    padding: 10px 15px;
    border-radius: 5px;
    border-left: 3px solid #90EE90;
}

.cart-message.error {
    color: #FFB6C1;
    background-color: rgba(255, 182, 193, 0.1);
    padding: 10px 15px;
    border-radius: 5px;
    border-left: 3px solid #FFB6C1;
}

.cart-message.info {
    color: #87CEEB;
    background-color: rgba(135, 206, 235, 0.1);
    padding: 10px 15px;
    border-radius: 5px;
    border-left: 3px solid #87CEEB;
}

.wc-block-mini-cart {
    position: fixed;
    z-index: 11111;
}

/* Custom Gallery Cursor Styles - Desktop Only */
.custom-gallery-cursor {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.2s ease;
    letter-spacing: -2px;
    font-weight: 100;
}

.custom-gallery-cursor.cursor-visible {
    opacity: 1;
}

.custom-gallery-cursor span {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #000;
    white-space: nowrap;
}

/* Larger cursor during intro */
.custom-gallery-cursor.cursor-intro span {
    font-size: 3rem;
}

/* Hide default cursor when custom cursor is active on gallery areas */
.image-container.cursor-active,
.sections-container.cursor-active {
    cursor: none;
}

/* Make logo and ASCII non-selectable for custom cursor */
.logo,
.ascii {
    user-select: none;
    -webkit-user-select: none;
    pointer-events: none;
    opacity: 0; /* Hidden initially, will fade in after intro */
}

/* Cart link hidden initially */
.shopsui-cart-link {
    opacity: 0; /* Hidden initially, will fade in after intro */
    pointer-events: none; /* Prevent clicks while hidden */
}

.shopsui-cart-link.visible {
    pointer-events: auto; /* Re-enable clicks when visible */
}

:where(.wp-site-blocks) > * {
    margin-block-start: 0 !important;
    margin-block-end: 0;
}

/* Responsive Design - Keep original approach */
@media screen and (max-width: 768px) {
    .content {
        padding: 1.5rem;
    }

    .content h2 {
        font-size: 3rem;
    }

    .add-to-cart-btn {
        width: 100%;
    }

    /* Cart responsive adjustments */
    .cart-icon-wrapper {
        top: 15px;
        right: 15px;
    }

    .cart-icon {
        width: 45px;
        height: 45px;
    }

    .cart-icon svg {
        width: 20px;
        height: 20px;
    }

    .cart-dropdown {
        width: calc(100vw - 40px);
        max-width: 350px;
        right: -10px;
    }

    .shopsui-cart-link {
        background-color: #fff;
        top: 8px;
        right: 0px;
        width: 105px;
        padding: 4px 0 4px 10px;
    }

    .shopsui-cart-link:hover {
        color: rgb(51, 51, 51);
    }
}

@media screen and (max-width: 480px) {
    .content {
        padding: 1rem;
    }

    .content h2 {
        font-size: 4rem;
        max-width: 300px;
    }

    .content p {
        font-size: 1.2rem;
    }

    .size-selector-container {
        gap: 10px;
    }

    .size-selector,
    .add-to-cart-btn {
        font-size: 0.8rem;
        padding: 10px 15px;
    }
}

/* Navigation Hint Overlay Styles */
.nav-hint-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 100;
    pointer-events: none;
    display: none;
}

.nav-hint-overlay.active {
    display: flex;
}

.nav-hint-half {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.nav-hint-half.left {
    left: 0;
}

.nav-hint-half.right {
    right: 0;
}

.nav-hint-half.down {
    top: 50%;
    left: 0;
    width: 100%;
    height: 50%;
}

.nav-hint-arrow-down {
    transform: rotate(90deg);
}

.nav-hint-pulse-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.15);
    opacity: 0;
}

.nav-hint-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.nav-hint-text {
    font-family: 'Arial', sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    text-align: center;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.nav-hint-arrow {
    width: 100%;
    height: 100%;
    max-width: 40vw;
    max-height: 40vh;
    object-fit: contain;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
}

/* Mobile adjustments for nav hint */
@media screen and (max-width: 768px) {
    .nav-hint-text {
        font-size: 1.2rem;
        letter-spacing: 0.1rem;
    }

    .nav-hint-arrow {
        max-width: 35vw;
        max-height: 35vh;
    }

    .nav-hint-text-mobile {
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-family: 'Arial', sans-serif;
        font-size: 0.9rem;
        font-weight: 500;
        color: #fff;
        text-transform: uppercase;
        letter-spacing: 0.05rem;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
        z-index: 10;
        white-space: nowrap;
        pointer-events: none;
    }
}

/* Hide mobile swipe text on desktop */
@media screen and (min-width: 769px) {
    .nav-hint-text-mobile {
        display: none;
    }
}

/* ============================================
   NAV HINT MOBILE IMAGES
   ============================================ */
.nav-hint-mobile-images {
    display: none;
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    pointer-events: none;
}

.nav-hint-mobile-clickfor {
    max-width: 50vw;
    max-height: 30vh;
    object-fit: contain;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
}

/* Show mobile hint images on mobile */
@media screen and (max-width: 768px) {
    .nav-hint-mobile-images {
        display: block;
    }
}

/* ============================================
   NAV HINT DESKTOP IMAGES (Centered)
   ============================================ */
.nav-hint-desktop-images {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 5;
    pointer-events: none;
}

.nav-hint-desktop-clickfor {
    max-width: 20vw;
    max-height: 20vh;
    object-fit: contain;
    transform: rotate(-2deg);
}

.nav-hint-desktop-morephotos {
    max-width: 20vw;
    max-height: 20vh;
    object-fit: contain;
    transform: rotate(1.5deg);
    margin-top: -50px;
}

/* Show desktop hint images on desktop */
@media screen and (min-width: 769px) {
    .nav-hint-desktop-images {
        display: flex;
    }
}

/* ============================================
   NAV HINT DOWN IMAGES
   ============================================ */
.nav-hint-down-images {
    display: flex;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    z-index: 5;
    pointer-events: none;
}

.nav-hint-down-scrollfor {
    max-width: 20vw;
    max-height: 20vh;
    object-fit: contain;
    transform: rotate(-1deg);
}

.nav-hint-down-moreproduct {
    max-width: 20vw;
    max-height: 20vh;
    object-fit: contain;
    transform: rotate(-5deg);
    margin-top: -70px;
}