/*
Theme Name: Alchymist Shop
Author: 
Author URI: 
Version: 1.0.0
Text Domain: alchymist-shop
*/

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

:root {
    --color-text: #333;
    --color-topbar-bg: #E1D8BD;
    --color-nav-bg: #F7F5F1;
    --color-partner-bg: #836852;
    --color-accent: #8B5A2B;
    --color-icon: #bebebe;
    --font-main: 'Cinzel', serif;

    --bp-tablet: 37.5em;   /* 600px */
    --bp-desktop: 64em;    /* 1024px */
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    font-family: var(--font-main);
    color: var(--color-text);
    line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.page { display: flex; flex-direction: column; min-height: 100vh; }

.site-header {
    min-height: 122px;
    box-shadow: 0 .3125rem .9375rem 0 rgba(0,0,0,.07);
    position: relative;
    z-index: 700;
}
body.scroll .main-nav {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 800;
    background-color: rgb(247, 245, 241) !important;
}
body.scroll.logged-in .main-nav {
    top: 32px;
}
.topbar {
    background: var(--color-topbar-bg);
}
.topbar-inner {
    margin: 0 auto;
    padding: .8rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #BFB8A1;
}
.topbar-social { list-style: none; display: flex; gap: .75rem; margin: 0; padding: 0; }
.topbar-social li { display: inline-block; height: 18px; }
.topbar-social a svg {width: 15px; height: auto;}
.topbar-social a svg,
.topbar-social a { color: var(--color-icon); }
.topbar-social a svg path { fill: rgba(0,0,0,.5); }
.topbar-social a:hover svg path { fill: rgba(0,0,0,1); }

.topbar-lang-list { list-style: none; display: flex; gap: .5rem; margin: 0; padding: 0; text-transform: uppercase; font-size: .8rem; }
.topbar-lang-list .is-active { font-weight: 700; }

.main-nav {
    background: var(--color-nav-bg);
    position: sticky;
    top: 0;
    z-index: 100;
}
.main-nav-inner {
    margin: 0 auto;
    padding: 1rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.site-logo {
    padding: 5px 0 0 70px;
    background-size: 60px auto;
    background-image: url('img/logo.png');
    background-position: left center;
    background-repeat: no-repeat;
}

.site-logo-text {
    font-size: 1.6rem;
    letter-spacing: .05rem;
}

.primary-nav-list {
    list-style: none;
    display: flex;
    gap: 1.8rem;
    margin: 0;
    padding: 0;
}
.primary-nav-list > li { position: relative; }
.primary-nav-list ul {
    list-style: none;
    margin: 0;
    padding: 20px;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: #fff;
    box-shadow: 0 .3125rem .9375rem 0 rgba(0,0,0,.07);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
    z-index: 800;
}
.primary-nav-list ul li {
    margin: 10px 0;
}
.primary-nav-list > li::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: .75rem;
}
.primary-nav-list > li:hover > ul,
.primary-nav-list > li:focus-within > ul {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}
.primary-nav-list li.menu-item-has-children > a { background-image: url('img/arrow-down.svg'); background-repeat: no-repeat; background-position: right center; background-size: 8px auto; padding-right: 16px; }


.nav-toggle {
    display: none;
    background: none;
    border: 2px solid var(--color-text);
    padding: .5rem 1rem;
    font-family: inherit;
    cursor: pointer;
}

/* ---------- Footer ---------- */

.site-footer {
    margin-top: auto;
}
.site-footer-inner {
    background: var(--color-topbar-bg);
    margin: 0 auto;
    padding: 3rem 2.5rem 1rem;
}
.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.footer-column h3 { margin: 0 0 15px; font-size: 1.1rem; }
.footer-column a { color: #91822c; text-decoration: underline;}
.footer-column a:hover { color: rgba(0,0,0,.7);}

.footer-column a:hover { text-decoration: none;}

.footer-bottom-text a {
    color: #666;
    text-decoration: underline;
}
.footer-bottom-text a:hover {
    text-decoration: none;
}
.footer-bottom {
    margin-top: 6rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0,0,0,.1);
    font-size: .85rem;
}
.footer-info {
    background: #f8f8f8;
    padding: 1rem 2.5rem;
    color: #666;
    text-align: center;
    font-size: 13px;
}

.wp-block-separator {
  border:none;
  border-top:1px solid rgba(0,0,0,.1);
  padding: 10px 0px;
    
}

.hero {
    background: #FCFBF5;
}
.hero.in-page {
    height: 80vh;
    min-height: 600px;
    text-align: center;
    padding-top: 8%;
    position: relative;
      background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.hero.in-page:before {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    background: #000;
    opacity: 0.3;
    content: '';
}
.hero.in-page h1 {
    position: relative;
    z-index: 200;
    color: #fff;
     padding-top: 1.4rem;
}
.hero.in-page .desc {
    position: relative;
    z-index: 200;
    color: #fff;
  /*  font-size: 1.2rem; */
    font-size: 1.575rem;
 /*   max-width: 600px; */
      max-width: auto;
    display: block;
    margin: 25px auto 0 auto;
}
.hero.in-page .hero-logo img {
    margin: 0 auto;
    display: block;
}
.hero-logo {
    position: relative;
    z-index: 200;
}
.page-content {
  /*  padding: 5rem 0; */
     padding: 3rem 0;
}
.page-content-inner {
    padding: 0 2.5rem;
}
.page-content p {
    margin-bottom: 25px;
}

.hero-inner,
.intro-inner,
.benefits-inner {
    max-width: 95rem;
    margin: 0 auto;
    padding: 3rem 1rem;
    text-align: center;
}
.benefits-inner {
    padding: 4rem 0 5rem;
}
/* .hero-inner {padding: 0rem 0 5rem;}  */
.hero-inner {padding: 5rem 0 5rem;}
.hero-inner h1, .intro-inner h2, .section-title, .page-content h1 { font-size: 3rem; font-weight: 300; letter-spacing: 3px; color: #393939; line-height: 125%; margin-bottom: 20px;}

.page-content h2 {
    
    font-size: 1.875rem;
    letter-spacing: .08em;
    font-weight: 300;
    margin-bottom: 1rem;
}
.page-content h3 {
    
    font-size: 1.1rem;
    letter-spacing: .04em;
    font-weight: 300;
    
}
p.hero-text, .intro-inner h3 {font-size: 1.3rem; font-weight: 300; letter-spacing: 1px; color: rgba(0,0,0,.6);}
/*.tiles {padding-top: 5rem;} */
.tiles {padding-top: 2rem;}
.tiles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 0 2.5rem;
}
.tile { display: block; text-align: center; position: relative; overflow: hidden;}
.tile img {position: relative; transition: all .2s ease-in-out;}
.tile:hover img {transform: scale(1.05);}
.tile-label { display: block; color: #fff; font-size: 1.3rem; bottom: 0; left: 0; position: absolute; background-color: rgba(0,0,0,.5); padding: 10px 0; width: 100%;}

.featured-vouchers {
    background-color: #F7F5F1;
    text-align: center;
    padding: 5rem 0 3rem 0;
}
.featured-vouchers.in-page {
    /* padding: 1rem 0 5rem 0; */
    padding: 1rem 0 4rem 0;
}

.voucher-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: left;
    padding: 0 2.5rem;
}
.voucher-card-title { font-size: 1.1rem; color: rgba(0,0,0,.85);margin: 2.5rem 0 0.75rem; font-weight: 400; }
.voucher-card-price { color: rgba(0,0,0,.7);}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 35px;
}
.benefit-item {
    display: flex;
    align-items: flex-start;
    font-size: 16px;
    line-height: 1.4;
    text-align: center;
}
.benefit-item::before {
    content: "";
    width: 10px;
    height: 10px;
    min-width: 10px;
    margin-top: 6px;
    margin-right: 10px;
    background: var(--color-accent);
}

.video {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100vh;
}

.video .wnd-video-background {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 177.77vh; 
    height: 56.25vw;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    border: none;
    pointer-events: none; 
}
.video iframe {
    height: 100%;
    width: 100%;
    border: 0;
}
.partners {
    background-color: #836852;
    padding: 5rem;
}
.partners-inner {
    max-width: 1140px;
    padding: 0 1rem;
    display: block;
    margin: 0 auto;
}
.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
}
.partners-grid img {
    position: relative;
    transition: all .2s ease-in-out;;
}
.partners-grid img:hover {
    transform: scale(1.05);
}

.slick-arrow {background-color:#fff;color:rgba(0,0,0,.6);box-shadow:0 .3125rem .9375rem 0 rgba(0,0,0,.07); width: 64px; height: 64px; font-size: 0; border: 0; cursor: pointer; position: absolute; top: 50%; transform: translate(0, -100%); z-index: 200; border-radius: 50%;background-position: center center;background-repeat: no-repeat;background-size: 20px auto;box-shadow: 0 .3125rem .9375rem 0 rgba(0,0,0,.07);}
.slick-prev {
    left: 40px;
    background-image: url('img/slider-left.svg');
}
.slick-next {
    background-image: url('img/slider-right.svg');
    right: 40px;
}
.vouchers-list {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 0 2.5rem;
}
.vouchers-list.vouchers-slider {
    display: block;
    padding: 0;
}
.vouchers-list article {
    box-shadow: 0 .25rem 0 rgba(0,0,0,.15);
    background-color: #fff;
    margin: 0 0 20px;
    padding: .625rem;
    border-radius: 10px !important;
    border-bottom: 4px solid #D2D0CD;
    cursor: pointer;
}
.vouchers-list.vouchers-slider article {
   margin: 0 20px;
}
.voucher-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
    z-index: 1000;
}
.voucher-popup-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.voucher-popup {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 90vh;
    background: #fff;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, .2);
    transform: translateY(100%);
    transition: transform .35s ease;
    z-index: 1001;
    display: flex;
    flex-direction: column;
}
.voucher-popup.is-open {
    transform: translateY(0);
}
.voucher-popup-close {
    position: absolute;
    top: -20px;
    right: 40px;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--color-accent);
    color: #fff;
    font-size: 24px;
    line-height: 100%;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
}
.voucher-popup-body {
    flex: 1;
    width: 100%;
    height: 100%;
}
.voucher-popup-iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
body.voucher-popup-open {
    overflow: hidden;
}
.page-content-inner {
    display: flex;
}
.half {
    width: 50%;
}
.half.text {
    padding-left: 50px;
}
.otgs-development-site-front-end {
    display: none !important;
}
.classic-page {
    background-color: #FCFBF5;
    padding: 80px 0;
}
.classic-page .row {
    max-width: 1040px;
    display: block;
    margin: 0 auto;
    padding: 0 20px;
}
.classic-page h1 {
    text-align: center;
    font-size: 46px;
    letter-spacing: 1.5px;
    font-weight: 500;
    margin: 0 0 35px;
}
.classic-page p {
    margin-bottom: 30px;
}
.classic-page h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

header ul li {
    list-style: none !important;
}


@media (max-width: 64em) {
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 63.9375em) {
    .primary-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--color-nav-bg);
        box-shadow: 0 .3125rem .9375rem 0 rgba(0,0,0,.07);
    }
    .primary-nav.is-open {
        display: block;
    }
    .nav-toggle { display: inline-block; }

    .primary-nav-list {
        flex-direction: column;
        gap: 0;
        padding: 1rem 2.5rem;
    }
    .primary-nav-list > li {
        width: 100%;
    }
    .primary-nav-list ul {
        position: static;
        min-width: 0;
        box-shadow: none;
        padding: 10px 0 10px 15px;
        visibility: visible;
        opacity: 1;
        background: none;
    }

    .vouchers-list {grid-template-columns: repeat(2, 1fr)}

    .voucher-grid { grid-template-columns: repeat(2, 1fr); }

    .partners-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 47.9375em) {
    .footer-columns { grid-template-columns: 1fr; }

     .tiles-grid { grid-template-columns: repeat(2, 1fr); padding: 0px 8px; gap: 0.6rem;}
 .tile-label { font-size: 18px; }
    .voucher-popup { height: 95vh; }

    .partners-grid { grid-template-columns: repeat(2, 1fr); }

    .topbar-inner { padding: .8rem 1.25rem; }
    .main-nav-inner { padding: 1rem 1.25rem; }

    .page-content-inner {
        flex-direction: column;
    }
    .half {
        width: 100%;
    }
    .half.text {
        padding-left: 0;
        padding-top: 25px;
    }

    .hero-inner h1, .intro-inner h2, .section-title, .page-content h1 {
        font-size: 2rem;
        letter-spacing: 1.5px;
    }

    .classic-page {
        padding: 50px 0;
    }
    .classic-page h1 {
        font-size: 2rem;
    }
    .classic-page h2 {
        font-size: 1.5rem;
    }

    .hero.in-page {
        height: auto;
        min-height: 0;
        padding: 3rem 1.25rem 4rem;
    }
}

@media (max-width: 37.5em) {
    .benefits-grid { grid-template-columns: 1fr; }
    .vouchers-list {grid-template-columns: 1fr}
}
