/* ===========================================
                GLOBAL
=========================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    background:#171717;

    color:white;

    font-family:Arial, Helvetica, sans-serif;

    overflow-x:hidden;

}


/* ===========================================
             INTRO OVERLAY
=========================================== */

#intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 100000;
    overflow: hidden;
}

/* Top-left line segment */
#top-left {
    position: absolute;
    left: -100%;
    width: 50%;
    height: 3px;
    background: #fff;
}

#top-left.in {
    animation: slide-top-left 2s ease forwards;
}

@keyframes slide-top-left {
    from { left: -100%; }
    to   { left: 0%; }
}

/* Top-right line segment */
#top-right {
    position: absolute;
    left: 100%;
    width: 50%;
    height: 3px;
    background: #fff;
}

#top-right.in {
    animation: slide-top-right 2s ease forwards;
}

@keyframes slide-top-right {
    from { left: 100%; }
    to   { left: 50%; }
}

/* Bottom-left line segment */
#bottom-left {
    position: absolute;
    left: -100%;
    width: 50%;
    height: 3px;
    background: #fff;
    --bl-end: -10%;
}

#bottom-left.in {
    animation: slide-bottom-left 4s ease forwards;
}

@keyframes slide-bottom-left {
    0%   { left: -100%; }
    20%  { left: 0%; }
    70%  { left: 0%; }
    94%  { left: var(--bl-end); }
    100% { left: var(--bl-end); }
}

/* Bottom-right line segment */
#bottom-right {
    position: absolute;
    left: 100%;
    width: 50%;
    height: 3px;
    background: #fff;
    --br-end: 60%;
}

#bottom-right.in {
    animation: slide-bottom-right 4s ease forwards;
}

@keyframes slide-bottom-right {
    0%   { left: 100%; }
    20%  { left: 50%; }
    70%  { left: 50%; }
    94%  { left: var(--br-end); }
    100% { left: var(--br-end); }
}

/* JOCORUM text */
#jocorum {
    position: absolute;
    top: 44%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 140px;
    font-weight: bold;
    color: #fff;
    letter-spacing: 4px;
    opacity: 0;
    transition: text-shadow 4.5s ease-in;
}

#jocorum.in {
    animation: fade-jocorum 2s ease forwards;
    animation-delay: 1.5s;
}

#jocorum.glowing {
    text-shadow: 0 0 30px rgba(255, 255, 255, 1);
}

@keyframes fade-jocorum {
    from { opacity: 0; transform: translate(-50%, -50%) scale(0.9); }
    to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* TABACARIAS text */
#tabacarias {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 36px;
    font-weight: bold;
    color: #fff;
    letter-spacing: 2px;
    opacity: 0;
}

#tabacarias.in {
    animation: fade-tabacarias 2s ease forwards;
    animation-delay: 3.5s;
}

@keyframes fade-tabacarias {
    from { opacity: 0; transform: translate(-50%, -50%) scale(0.9); }
    to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* Skip button */
#skip-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 15px 25px;
    background: #2a2a2a;
    border: 2px solid #d8b26e;
	border-radius:7px;
    color: #d8b26e;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100001;
    font-family: Arial, sans-serif;
    letter-spacing: 1px;
}

#skip-btn:hover {
    background: #d8b26e;
    color: #1a1a1a;
}


/* ===========================================
              PROMOTIONAL POPUP
=========================================== */
#promo-popup{
    position:fixed;
    right:60px;
     top: clamp(60px, 30vh, 300px);
    width:400px;
    background:transparent;
    border:0px solid #d8b26e;
    border-radius:1px;
    box-shadow:0 10px 35px rgba(0,0,0,.6);
    z-index:2000;
    overflow:visible;

    transform: translateX(120%) scale(0.9);
    opacity:0;

    /* NEW: hidden popup must never intercept clicks */
    pointer-events: none;

    transition:
        transform .8s ease,
        opacity .8s ease,
        scale .8s ease;
}

#promo-popup.show{
    transform: translateX(0) scale(1);
    opacity:1;

    /* NEW: only the visible popup is interactive */
    pointer-events: auto;
}

/* ===========================================
              3D PROMO CAROUSEL
=========================================== */

.promo-carousel{

    position:relative;

    width:100%;

    height: clamp(140px, 45vh, 400px);

    perspective:900px;

    overflow:visible;

}

@property --spin-y {

    syntax: "<angle>";

    inherits: false;

    initial-value: 0deg;

}


/* Individual cards */

.promo-card{

    position:absolute;

    top:0;
    left:0;

    width:100%;
    height:100%;

    transform:
        translate3d(var(--x), var(--y), var(--z))
        rotateY(calc(var(--rotate-y) + var(--spin-y)))
        rotateZ(var(--rotate-z))
        scale(var(--scale));

    opacity:var(--opacity);

    z-index:var(--z-index);

    transform-origin:center center;

    transition:
        transform .7s cubic-bezier(.22,.61,.36,1),
        opacity .5s ease;

    pointer-events:none;

}

.promo-card.spin{

    animation:
        promo-spin 1.2s ease-in-out;

}


@keyframes promo-spin{
    0%   { transform: rotateY(0deg) scale(1.08); }
    25%  { transform: rotateY(180deg) scale(0.7); }
    70%  { transform: rotateY(340deg) scale(1.25); }
    100% { transform: rotateY(360deg) scale(1.08); }
}



.promo-card img{

    display:block;

    width:100%;

    height:100%;

    object-fit:cover;

}


/* ===========================================
              CLOSE BUTTON
=========================================== */

#promo-close{

    position:absolute;

    top:7px;

    right:7px;

    z-index:10;

    width:32px;

    height:32px;

    border:none;

    border-radius:50%;

    background:rgba(15,15,15,.8);

    color:white;

    font-size:25px;

    line-height:25px;

    cursor:pointer;

    transition:.3s;

}


#promo-close:hover{

    background:#d8b26e;

    color:black;

}


/* ===========================================
              PROMOTIONAL TEXT
=========================================== */

.promo-text{
	
	background:rgba(15,15,15,.95);

    margin:0;

    padding:12px 15px 15px;

    color:#dddddd;

    font-size:14px;

    line-height:1.5;

    text-align:center;

}


.promo-text strong{

    color:#d8b26e;

}



/*==========================================
                TOP BAR  black top bar 
==========================================*/

.top-bar{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    height:32px;

    background:#111;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:0 8%;

    z-index:1100;

    font-size:13px;
	
	transition:background 1.5s ease;

}

.top-social{

    position:absolute;

    right:8.5%;

    top:83%;

    transform:translateY(-50%);

    display:flex;

    align-items:center;

    gap:10px;

}

.top-social img{

    width:30px;

    height:30px;

    display:block;

    transition:.3s;

}

.top-social img:hover{

    transform:scale(1.2);

    filter:none;

}



/* ===========================================
                HEADER
=========================================== */

header{    

    position:fixed;

    top:32px;
    left:0;

    width:100%;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:63px 8%;

    z-index:1000;

    background:rgba(17,17,17,1);

    transition:background 1.5s ease;

}

.header-phone{

    color:#F0FFFF;

    font-size:15px;

    letter-spacing:1px;

}

.header-email{

    font-size:15px;

    color:#cfcfcf;

    margin-top:4px;
	
	margin-left:15px;

}


/* ===========================================
                LOGO
=========================================== */

.logo{

    position:absolute;

    top:1px;

    left:0;

    width:100%;

    height:88px;

    background:
        linear-gradient(#b7b7b7  ,#b7b7b7   )
        left 0 top 10px / 100% 2px no-repeat;

}

.logo::before{

    content:"";

    position:absolute;

    top:81px;

    left:0;

    width:calc(50% - 70px);

    height:2px;

    background:#b7b7b7  ;

}

.logo::after{

    content:"";

    position:absolute;

    top:81px;

    right:0;

    width:calc(50% - 70px);

    height:2px;

    background:#b7b7b7  ;

}

.logo-image{

    position:absolute;

    left:50%;

    top:1px;

    transform:translateX(-50%);

    width:340px;

}

/* Navigation */

.top-nav{

    position:absolute;

    top:100px;

    left:0;

    width:100%;

    display:flex;

    justify-content:center;

    gap:45px;

}

.top-nav a{

    text-decoration:none;

    color:white;

    font-size:14px;

    transition:.3s;

}

.top-nav a:hover{

    color:#d8b26e;

}


/* ===========================================
                HERO
=========================================== */

.hero{

    position:relative;

    height:100vh;

    overflow:hidden;

}

.hero-slideshow{

    position:absolute;

    top:0;

    left:0;

    width:100%;

    height:100%;

    z-index:0;

}

.hero-image{

    position:absolute;

    inset:0;

    width:100%;

    height:100%;

    object-fit:cover;

    opacity:0;

    transition:opacity 1.8s ease;

    animation:heroZoom 10s ease-out forwards;

}

.hero-image.active{

    opacity:1;

}

.overlay{

    position:absolute;

    inset:0;

    background: transparent;

    z-index:1;

}


/* ===========================================
              SIDEBAR - UPDATED GLOW
=========================================== */
#product-toggle {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-80%);
    z-index: 1001;
    padding: 25px 10px;
    background: rgba(15, 15, 15, .85);
    border: 2px solid #d8b26e;
    border-left: none;
    border-radius: 0 8px 8px 0;
    color: #d8b26e;
    font-size: 17px;
    letter-spacing: 2px;
    cursor: pointer;
    writing-mode: vertical-rl;
	white-space:nowrap;
    
    box-shadow: 
        inset 0 0 0 1px #d8b26e,
        0 0 45px rgba(216, 178, 110, 0.6);
    
    animation: pulse-gold 4s infinite;
}

@keyframes pulse-gold {
    0%, 50% {
        box-shadow: 
            inset 0 0 0 1px #d8b26e, 
            0 0 45px rgba(216, 178, 110, 0.6);
		font-size: 17px;
    }

    25% {
        box-shadow: 
            inset 0 0 0 3px #d8b26e, 
            0 0 70px rgba(216, 178, 110, 0.9),
            0 0 100px rgba(216, 178, 110, 0.85);
		font-size: 19px;
    }

    75% {
        box-shadow: 
            inset 0 0 0 3px #d8b26e, 
            0 0 70px rgba(216, 178, 110, 0.9),
            0 0 100px rgba(216, 178, 110, 0.85);
		font-size: 18px;
    }

    100% {
        box-shadow: 
            inset 0 0 0 1px #d8b26e, 
            0 0 45px rgba(216, 178, 110, 0.6);
		font-size: 17px;
    }
}

#product-toggle:hover {
	animation: pulse-gold 2s infinite;
    background: rgba(25, 25, 25, .95);
    border-color: #d8b26e;
    transform: translateY(-80%);
    
    box-shadow: 
        inset 0 0 0 3px #d8b26e, 
        0 0 75px rgba(216, 178, 110, 0.95),
        0 0 120px rgba(216, 178, 110, 0.9);
}


.product-menu{
    position:fixed;
    top:0;
    left:0;
    width:360px;
    height:100vh;
    background:rgba(15,15,15,.92);
    backdrop-filter:blur(12px);
    border-right:2px solid #d8b26e;
    z-index:1000;
    transform:translateX(-100%);
    transition:transform 0.7s ease;
    overflow:visible;                    /* keep — do NOT change to hidden */

    /* NEW: center the sidebar vertically */
    display: flex;
    flex-direction: column;
    justify-content: center;             /* ← vertical centering */
    align-items: stretch;
}

.product-menu.open{

    transform:translateX(0);

}



.product-menu .product-sidebar{
    position: relative;
    top: 0;
    left: 0;
    /* REMOVED: transform: translateY(70px); */

    width: 100%;
    max-height: 100vh;

    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;         /* sidebar content still stacks from top */
    align-items: stretch;

    /* gap and padding now scale with viewport HEIGHT */
    gap: clamp(3px, 0.9vh, 7px);

    padding: clamp(60px, 10vh, 75px)
             17px
             clamp(12px, 3vh, 30px)
             55px;

    box-sizing: border-box;
}


.product-button{
    min-width:100px;
    max-width:320px;
    flex:none;
    width:100%;

    /* NEW: vertical padding + font scale with viewport height */
    padding: clamp(3px, 0.7vh, 6px) 12px;

    background:rgba(15,15,15,.65);
    backdrop-filter:blur(6px);
    border:2px solid #d8b26e;
    border-radius:6px;
    color:white;

    /* NEW: font shrinks on short screens */
    font-size: clamp(12px, 1.7vh, 15px);

    font-weight:600;
    font-family:Segoe UI;
    text-align:center;
    cursor:pointer;
    transition:.30s;
}

.product-button:hover{

    background:#d8b26e;

    color:black;

	transform:scale(1.062);

    box-shadow:0 10px 25px rgba(0,0,0,.30);

}

.product-item{

    position:relative;

}


/* ===========================================
				PRODUCT PREVIEW
=========================================== */

.product-preview{

    position:fixed;

    left:50vw;
    top:50vh;

    width:min(70vw, 80vw);

    transform:translate(-50%, -50%);

    opacity:0;
	visibility: hidden; 

    pointer-events:none;

    transition:opacity .6s;

    z-index:2500;

}


.product-preview.active{

    opacity:1;
	visibility: visible; 
	pointer-events:auto;

}

/* ===========================================
            CLOSE BUTTON --- THIS IS THE CLOSE BUTTON I AM REFFERING TO!!
=========================================== */

.preview-close{
    position:absolute;

    top:10px;
    right:15px;

    width:55px;
    height:55px;

    margin:0;
    padding:0;

    border:none;
    border-radius:50%;

    background:rgba(15,15,15,.75);
    color:white;

    font-size:32px;
    line-height:55px;
    text-align:center;

    cursor:pointer;

    /* ---- mobile-tap reliability ---- */
    pointer-events: auto;
    touch-action: manipulation;           /* kills 300ms double-tap-zoom delay */
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;

    z-index: 9999;
    transition: .3s;
}


.preview-close:hover{

    background:#d8b26e;

    color:black;

}


.preview-prev,
.preview-next{

    position:absolute;

    top:50%;

    transform:translateY(-50%);

    width:55px;
    height:100px;

    border:1px solid #d8b26e;
	border-radius:7px;

    background:rgba(15,15,15,.10);

    color:#d8b26e;

    font-size:50px;
    line-height:60px;

    cursor:pointer;

    z-index:10;

    transition:.3s;

}


.preview-prev{
    left:15px;
	z-index:100;
}


.preview-next{
    right:15px;
	z-index:100;
}


.preview-prev:hover,
.preview-next:hover{

    background:rgba(15,15,15,.65);

    color:white;

}

.product-preview::before,
.product-preview::after{
    pointer-events: none;
}

/* PRODUCT IMAGE */

.product-preview img{

    display:block;

    width:auto;
    height:auto;
	
	max-width:100%;
    max-height:70vh;

    object-fit:contain;
	
	margin-left: auto;
    margin-right: auto;

    border-radius:12px;

    border:2px solid #d8b26e;

    box-shadow:0 10px 30px rgba(0,0,0,.5);

}


/*==========================================
            HERO BUTTON - Descubra as nossas lojas
==========================================*/


.hero-button{

    position:absolute;

    left:50%;

    bottom:160px;

    transform:translateX(-50%);

    z-index:10;
	
	font-size:22px;

    display:inline-block;

    padding:16px 34px;

    border:2px solid #d8b26e;

    border-radius:8px;
	
	background:rgba(25,25,25,.35);

	backdrop-filter:blur(6px);
	
	color:#d8b26e;

    text-decoration:none;

    color:#d8b26e;
	
	text-shadow: 0 3px 5px rgba(0,0,0,1);

    transition:.35s;
	
	white-space:nowrap;

}

.hero-button::before{

    content:"▼ ";

}

.hero-button::after{

    content:" ▼";

}

.hero-button:hover{

    background:#d8b26e;

    color:black;
	
	transform:scale(1.015)
					translateX(-50%);
	
}


/*==========================================
            HERO BOTTOM BAR
==========================================*/

.hero-bottom{

    position:absolute;

    bottom:0;

    left:0;

    width:100%;

    padding:20px 8% 24px;

    background:rgba(15,15,15,.90);

    backdrop-filter:blur(8px);

    z-index:2;

}

.hero-bottom h3{

    margin:0 0 18px;

    text-align:center;

    color:#d8b26e;

    font-size:15px;

    font-weight:600;

    letter-spacing:2px;

}

.store-list{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:10px 40px;

    text-align:center;

}

.store-list span{

    color:#eeeeee;

    font-size:15px;

    font-weight:400;

    letter-spacing:.5px;

}

.store-list span {
    cursor: pointer;
}

.store-list span:hover {
    color: #d8b26e;
}


/* ===========================================
                TITLES
=========================================== */

.section-title{

    text-align:center;

    font-size:48px;

    margin-top:90px;

    margin-bottom:60px;

}


/* ===========================================
                SHOPS - SCROLL REVEAL EFFECTS
=========================================== */

#shops{
    scroll-margin-top: 160px;
}

.shops-grid{
    width:85%;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(350px,1fr));
    gap:30px;
}

.shop{
    background:#202020;
    border-radius:10px;
    overflow:hidden;
    
    opacity: 0.1;
    transform: scale(0.2) translateY(200px);
    
    transition: all 2s cubic-bezier(0.25, 1, 0.5, 1);
    
    border:1px solid #333;
}

.shop.revealed{
    opacity: 1;
    transform: scale(1) translateY(0);
    border-color: #d8b26e;
    box-shadow: 0 15px 40px rgba(216, 178, 110, 0.2);
}

.shop:hover{
    transform:scale(1.1);
    border-color:#d8b26e;
    transition: 
        transform 0.8s,
        border-color 0.3s ease-out;
}

.shop:hover img{
    transform:scale(1.12);
}

.shop:hover.revealed {
    transform: scale(1.05);
}

.shop img{
    width:100%;
    height:250px;
    object-fit:cover;
    transition:.5s;
}

.shop-info{
    padding:25px;
}

.shop-info h3{
    margin-bottom:5px;
	
    transform:translateY(-20%)
}

.shop-info p{
    color:#bfbfbf;
    margin-bottom:25px;
}

.shop-address{
	
    display:flex;
	
    justify-content:left;
	
    gap:30px;
	
}

.shop-info a{

    text-decoration:none;

    color:#d8b26e;

    border:1px solid #d8b26e;

    padding:10px 18px;

    border-radius:7px;

    transition:.3s;

}

.shop-info a:hover{
    background:#d8b26e;
    color:black;
}


/* ===========================================
                LIGHTBOX
=========================================== */

#lightbox{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.92);

    display:none;

    justify-content:center;

    align-items:center;

    z-index:9999;

}

.lightbox-content{

	position:relative;

    width:90%;

    max-width:1200px;

    height:90vh;

    background:#1d1d1d;

    border-radius:18px;

    overflow:hidden;

    display:flex;

    flex-direction:column;

}

#lightbox-img{

    width:100%;

    height:100%;

    object-fit:cover;

}

.lightbox-image{

    position:relative;

    width:100%;

    height:82%;

}

/* ==========================
   Gallery Arrows
========================== */

.gallery-arrow{

    position:absolute;

    top:50%;

    transform:translateY(-50%);

    width:120px;

    height:200px;

    display:flex;

    justify-content:center;

    align-items:center;

    cursor:pointer;

    z-index:100;

}

.gallery-arrow.left{

    left:20px;

}

.gallery-arrow.right{

    right:20px;

}

.gallery-arrow span{

    width:70px;

    height:70px;

    border-radius:50%;

    background:rgba(0,0,0,.45);

    color:white;

    font-size:48px;

    display:flex;

    justify-content:center;

    align-items:center;

    transition:.25s;

}

.gallery-arrow:hover span{

    background:#d8b26e;

    color:black;

}

.lightbox-info{

    height:18%;

    padding:25px 35px;

    background:#202020;

    display:flex;

    flex-direction:column;

    justify-content:center;

}

#popup-title{

    margin:0;

    font-size:28px;

}

#popup-address{

    color:#c8c8c8;

    margin:8px 0 18px;

}

#popup-map{

    width:fit-content;

    text-decoration:none;

    color:#d8b26e;

    border:1px solid #d8b26e;

    padding:10px 18px;

    border-radius:8px;

    transition:.3s;

}

#popup-map:hover{

    background:#d8b26e;

    color:black;

}

#close{

    position:absolute;

    top:25px;

    right:40px;

    font-size:55px;

    color:white;

    cursor:pointer;

    transition:.3s;
	
	 z-index:1000;

}

#close:hover{

    color:#d8b26e;

}

@keyframes popupZoom{

    from{

        opacity:0;

        transform:scale(.85);

    }

    to{

        opacity:1;

        transform:scale(1);

    }

}

/* ===========================================
                LANGUAGE SWITCH
=========================================== */


.language-switch{

    display:flex;

    gap:8px;

}

.language-switch button{

    background:transparent;

    color:white;

    border:1px solid #d8b26e;

    padding:8px 12px;

    border-radius:6px;

    cursor:pointer;

    transition:.3s;

}

.language-switch button:hover{

    background:#d8b26e;

    color:black;

}

.language-switch button.active{

    background:#d8b26e;

    color:black;

}



/* ===========================================
                ABOUT
=========================================== */

#about {
    padding:100px 8%;
}

.about-content {
    display:flex;
    flex-direction:column;

    align-items:center;
    justify-content:center;

    gap:80px;

    max-width:80%;
    margin:auto;
}

#about-title {
    color:#d8b26e;
    font-size:32px;
    margin-bottom:30px;
    text-align:center;
}

#about-text {
    color:#dddddd;
    font-size:18px;
    line-height:1.8;
    text-align:left;
    max-width:1200px;
}

.about-social {
    text-align:center;
}

.about-social h3 {
    color:#d8b26e;
    font-size:32px;
    margin-bottom:25px;
    letter-spacing:2px;
    white-space:nowrap;
}

.about-social img {
    width:40px;
    margin:0 12px;
    transition:.3s;
}

.about-social img:hover {
    transform:scale(1.2);
    filter:none;
}



/* ===========================================
                RECRUITMENT
=========================================== */

#recruitment{

    padding:60px 8%;

    min-height:200px;

    background:#151515;

    text-align:Center;

}

#recruitment h2{

    color:#d8b26e;

    font-size:42px;

    margin-bottom:25px;

}

#recruitment p{

    color:#dddddd;

    font-size:42px;

    margin-bottom:60px;

}

.recruit-text{

    cursor:pointer;

    transition:.3s;

}

.recruit-text:hover{

    color:#d8b26e;

    transform:scale(1.05);

}


/* ===========================================
                FOOTER
=========================================== */

footer{
	
	border-top:1px solid rgba(216,178,110,.35);
	
    background:#111;

    text-align:center;

    padding:70px;

}

footer h2{

    margin-bottom:20px;
	
	color:#d8b26e; 
}

footer p{

    font-size:11px;


}

@keyframes heroZoom{

    from{

        transform:scale(1);

    }

    to{

        transform:scale(1.1);

    }

}




/* ===========================================
            MOBILE
=========================================== */

@media (max-width: 1200px){

    .about-content{

        flex-direction:column;

        align-items:center;

        gap:60px;

    }

    #about-text{

        max-width:100%;

        text-align:left;
		
		font-size:16px;

    }

    .about-social{

        width:100%;

    }



}



@media(max-width:900px){

header{

    flex-direction:column;

    gap:20px;

}

nav{

    gap:20px;

    flex-wrap:wrap;

    justify-content:center;

}

.hero h2{

    font-size:48px;

}

.hero-content{

    left:6%;

    width:88%;

}

.shops-grid{

    width:95%;

}


    .hero-button{

        bottom:210px;

        font-size:17px;

        padding:12px 20px;

    }

	.header-phone{

		font-size:12px;

		letter-spacing:1px;

	}

	.header-email{

		font-size:12px;

		margin-top:2px;
	
		margin-left:5px;

	}


.store-list span{

    font-size:12px;
	
}

.top-social{

    top:38%;

}




/* Intro adjustments for tablets / phones */
@media (max-width: 768px) {

    #jocorum {
        font-size: 75px;
        letter-spacing: 2px;
    }

    #tabacarias {
        font-size: 24px;
        letter-spacing: 1px;
    }

    #skip-btn {
        padding: 10px 16px;
        font-size: 12px;
        bottom: 15px;
        right: 15px;
    }
}


@media (max-width:570px){


/* HEADER  AND TOP BAR */

    header {
        position: absolute;
        padding: 80px 8%;
        line-height: 1.0;
        gap: 10px;
    }

    .top-left {
        display: flex;
        flex-direction: column;
    }

    .header-email {
        margin-left: 0;
        margin-top: 2px;
    }
	
	.top-social{

    top:118%;
	
}	

	
	.top-bar{

    position:absolute;

}
	
	.top-nav{

    position:absolute;

    top:100px;

    left:0;

    width:100%;

    display:flex;

    justify-content:center;

    gap:18px;

}
	

/* LIGHTBOX */

    .lightbox-image {
        width: 100%;
        height: 82%;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
    }

    #lightbox-img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        transform: scale(1.30);
    }

    .lightbox-info {
        height: 28%;
        padding: 10px 15px;
        box-sizing: border-box;
    }

/* ---- SHOP GALLERY ARROWS --- */

.gallery-arrow span{
    background:transparent;  /* less opacity on mobile */
}

.gallery-arrow:hover span{

    background:transparent;

    color:black;

}


/* ---- POKEMON POPUP ------*/ 

    #promo-popup{
		
        width:auto;
		
		right:0px;
		
		top:auto;

        bottom:50px;

    } 
	
	
	#promo-popup.show{
    transform: translateX(0) scale(0.5);
}

    .promo-carousel{
        height: min(400px, 60vh);
    }

.promo-text{
	font-size:26px; /* --- to compensate scale 0.7 */
	
	}



/* ===========================================
              SIDEBAR - UPDATED GLOW
=========================================== */


    #product-toggle {
        padding: 15px 5px;
        font-size: 12px;
    }

    @keyframes pulse-gold {
        0%, 50% {
            font-size: 13px;
        }
        
        25% {
            font-size: 15px;
        }
        
        75% {
            font-size: 16px;
        }
        
        100% {
            font-size: 12px;
        }
		
    }
/*------------sidebar popup close button--------------------------*/
	
	.product-preview{
    width:min(90vw, 80vw);
	}

    .preview-close{
        width: 65px;
        height: 65px;
        line-height: 65px;
        font-size: 38px;
        top: 8px;
        right: 8px;
    }
	
	.preview-prev,
	.preview-next{
    /* keep everything else the same, but */
    max-height: 60vh;      /* prevents vertical overlap on small images */
}
	
	
	
	/*------------BOTTOM STUFF - END--------------------------*/
	
    .hero-bottom {
        padding: 15px 4% 18px;
    }

.hero-button{

    bottom:210px;

	font-size:20px;
	
    padding:5px 10px;

}


/*   HERO SLIDESHOW FIX------ Keep the zoom effect, just at 50% scale (recommended)---------*/

    .hero-image{
        object-fit: contain;
        animation: heroZoomMobile 10s ease-out forwards;
    }

    @keyframes heroZoomMobile{
        from { transform: scale(1); }
        to   { transform: scale(1.2); }
    }


.hero{
    background: #111;
}
	
	    .store-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px 15px;
    }

    .store-list span {
        font-size: 11px;
    }

	
	    #about-text{
		
		font-size:13px;

    }





}





/* ===========================================
     FOR USERS WITH SHORT SCREEN HEIGHT -- SAMUEL PAYSHOP CROP FIX
=========================================== */



@media (max-height: 800px){
    .product-menu .product-sidebar{ gap: 5px; padding: 45px 17px 15px 55px; }
    .product-button{ padding: 4px 10px; font-size: 14px; }
}

@media (max-height: 700px){
    .product-menu .product-sidebar{ gap: 4px; padding: 30px 17px 12px 55px; }
    .product-button{ padding: 3px 9px; font-size: 13px; }
}

@media (max-height: 600px){
    .product-menu .product-sidebar{ gap: 3px; padding: 20px 17px 10px 55px; }
    .product-button{ padding: 2px 8px; font-size: 12px; }
}


/* ===========================================
   REDUCED MOTION (Intro respects user prefs)
=========================================== */

@media (prefers-reduced-motion: reduce) {
    #top-left.in,
    #top-right.in,
    #bottom-left.in,
    #bottom-right.in,
    #jocorum.in,
    #tabacarias.in {
        animation-duration: 0.5s !important;
    }
}