/*
Theme Name: Crafola
Theme URI: https://tshirt.ontimetourism.com/
Author: Crafola
Description: Custom Crafola WooCommerce & Elementor Theme
Version: 1.0
Text Domain: crafola
*/


/* ==================================================
   01. CUSTOM FONTS
================================================== */

@font-face {
    font-family: 'Pulp Fiction M54';
    src: url('assets/fonts/Pulp Fiction M54.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
/* ==================================================
   CIRCULAR STD FONT
================================================== */

@font-face {
    font-family: 'Circular Std';
    src: url('assets/fonts/Circular-Std-Font.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


/* ==================================================
   02. GLOBAL / RESET
================================================== */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
}

body {
    background: #000;
    overflow-x: hidden;
}


/* ==================================================
   03. SITE HEADER
   Logo Left / Bag Right
================================================== */

.crafola-header {
    position: fixed;

    top: 5px;
    left: 0;

    width: 100%;
    height: 90px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 45px;

    z-index: 200;

    pointer-events: none;
}


/* ==================================================
   HEADER - LOGO
================================================== */

.crafola-logo {
    display: block;
    line-height: 0;

    pointer-events: auto;
}

.crafola-logo img {
    display: block;

    width: 170px;
    height: auto;
}

/* ==================================================
   HEADER - BAG
================================================== */

.crafola-bag {
    position: relative;

    display: flex;
    align-items: center;

    font-family: 'Pulp Fiction M54', sans-serif;

    font-size: 26px;

    color: #ffffff;
    text-decoration: none;

    pointer-events: auto;
    background: none;
    border: none;
}

.crafola-cart-count {
    position: absolute;

    top: -10px;
    right: -16px;

    min-width: 22px;
    height: 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #ffffff;
    color: #000000;

    font-size: 12px;
}

/* ==================================================
   03. DESKTOP NAVIGATION
   Menu sits over video at bottom-left
================================================== */

.crafola-sidebar {
    position: fixed;

    left: 0;
    bottom: 45px;

    width: auto;
    height: auto;

    background: transparent;

    z-index: 100;
}

.crafola-menu {
    display: flex;
    flex-direction: column;

    gap: 12px;

    padding-left: 45px;
    margin: 0;
}

.crafola-menu a {
    font-family: 'Pulp Fiction M54', sans-serif;

    color: #ffffff;
    text-decoration: none;

    font-size: 29px;
    font-weight: normal;
    line-height: 1.25;
}

.crafola-menu a:hover,
.crafola-menu a.active {
    color: #ff0000;
}


/* ==================================================
   04. HOME PAGE
   Full-screen video container
================================================== */

.crafola-home {
    position: relative;

    width: 100%;
    height: 100vh;
    min-height: 100vh;

    margin: 0;
    padding: 0;

    overflow: hidden;
}


/* ==================================================
   05. HOME PAGE - BACKGROUND VIDEO
================================================== */

.crafola-home-video {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    z-index: 1;
}


/* ==================================================
   06. HOME PAGE - SHOP HERE BUTTON
================================================== */

/* =========================
   DESKTOP
   ========================= */
@media (min-width: 769px) {
    .crafola-shop-button {
        position: absolute;

        top: 90%;
        left: 90%;

        transform: translate(-50%, -50%);

        font-family: 'Pulp Fiction M54', sans-serif;

        font-size: 42px;
        font-weight: normal;

        color: #ff0000;
        text-decoration: none;

        white-space: nowrap;

        z-index: 10;
    }

    .crafola-shop-button:hover {
        color: #ffffff;
    }
}


/* =========================
   MOBILE
   ========================= */
@media (max-width: 768px) {
    .crafola-shop-button {
        position: absolute;

        top: 50%;
        left: 50%;

        transform: translate(-50%, -50%);

        font-family: 'Pulp Fiction M54', sans-serif;

        font-size: 26px;
        font-weight: normal;

        color: #ff0000;
        text-decoration: none;

        white-space: nowrap;

        z-index: 10;
    }

    .crafola-shop-button:hover {
        color: #ffffff;
    }
}

/* ==================================================
   07. TABLET
================================================== */

@media (max-width: 1024px) {

    .crafola-menu {
        padding-left: 30px;
        gap: 10px;
    }

    .crafola-menu a {
        font-size: 24px;
    }

    .crafola-shop-button {
        font-size: 36px;
    }
}


/* ==================================================
   08. MOBILE
   Temporary mobile setup
   Hamburger menu will replace this next
================================================== */

@media (max-width: 767px) {

    .crafola-home {
        width: 100%;
        height: 100svh;
        min-height: 100svh;

        margin: 0;
    }

    .crafola-home-video {
        width: 100%;
        height: 100%;

        object-fit: cover;
        object-position: center;
    }

    .crafola-shop-button {
        font-size: 32px;
    }

    /*
     Hide desktop navigation on mobile.
     Next we will add the hamburger slide menu.
    */

    .crafola-sidebar {
        display: none;
    }
}


.crafola-mobile-menu {
    display: none;
}

/* ==================================================
   MOBILE HEADER + DRAWERS
================================================== */

.crafola-menu-toggle {
    display: none;
}

/* ==================================================
   CART DRAWER - DESKTOP + MOBILE
   Opens from right to left
================================================== */

.crafola-cart-drawer {
    display: block;

    position: fixed;
    top: 0;
    right: 0;

    width: 420px;
    max-width: 100%;
    height: 100vh;

    padding: 90px 30px 40px;

    background: #ffffff;
    color: #000000;

    transform: translateX(100%);
    transition: transform 0.35s ease;

    overflow-y: auto;

    z-index: 1001;
}

.crafola-cart-drawer.is-open {
    transform: translateX(0);
}


/* ==================================================
   CART DRAWER - CLOSE BUTTON
================================================== */

.crafola-cart-close {
    position: absolute;

    top: 25px;
    right: 25px;

    padding: 0;

    background: transparent;
    border: 0;

    color: #000000;
    font-size: 35px;

    cursor: pointer;
}


/* ==================================================
   DRAWER BACKGROUND OVERLAY
================================================== */

.crafola-drawer-overlay {
    display: block;

    position: fixed;
    inset: 0;

    background: rgba(0, 0, 0, 0.55);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;

    z-index: 1000;
}

.crafola-drawer-overlay.is-open {
    opacity: 1;
    visibility: visible;
}


/* ==================================================
   MOBILE CART DRAWER
================================================== */

@media (max-width: 767px) {

    .crafola-cart-drawer {
        width: 90%;
        max-width: 420px;

        height: 100svh;

        padding: 80px 25px 30px;
    }
}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 767px) {

    /* ------------------------------
       MOBILE HEADER
    ------------------------------ */

    .crafola-header {
        height: 75px;
        padding: 0 20px;

        display: flex;
        align-items: center;
        justify-content: space-between;
    }


    /* ------------------------------
       HAMBURGER
    ------------------------------ */

    .crafola-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;

        width: 32px;
        height: 32px;

        gap: 6px;

        padding: 0;

        background: transparent;
        border: 0;

        cursor: pointer;
        pointer-events: auto;
    }

    .crafola-menu-toggle span {
        display: block;

        width: 30px;
        height: 2px;

        background: #fff;
    }


    /* ------------------------------
       CENTER LOGO
    ------------------------------ */

    .crafola-logo {
        position: absolute;

        left: 50%;
        transform: translateX(-50%);
    }

    .crafola-logo img {
        width: 140px;
        height: auto;
    }


    /* ------------------------------
       BAG
    ------------------------------ */

    .crafola-bag {
        margin-left: auto;

        padding: 0;

        background: transparent;
        border: 0;

        cursor: pointer;
    }

    .crafola-bag-text {
        font-family: 'Pulp Fiction M54', sans-serif;
        font-size: 22px;

        color: #fff;
    }


    /* ==================================================
       LEFT MENU DRAWER
    ================================================== */

    .crafola-mobile-menu {
        display: block;

        position: fixed;

        top: 0;
        left: 0;

        width: 85%;
        max-width: 380px;
        height: 100svh;

        padding: 100px 35px 40px;

        background: #000;

        transform: translateX(-100%);
        transition: transform 0.35s ease;

        z-index: 1001;
    }

    .crafola-mobile-menu.is-open {
        transform: translateX(0);
    }

    .crafola-mobile-menu-links {
        display: flex;
        flex-direction: column;

        gap: 20px;
    }

    .crafola-mobile-menu-links a {
        font-family: 'Pulp Fiction M54', sans-serif;

        font-size: 26px;

        color: #fff;
        text-decoration: none;
    }


    /* ==================================================
       RIGHT CART DRAWER
    ================================================== */

    .crafola-cart-drawer {
        display: block;

        position: fixed;

        top: 0;
        right: 0;

        width: 90%;
        max-width: 420px;
        height: 100svh;

        padding: 90px 30px 40px;

        background: #fff;
        color: #000;

        transform: translateX(100%);
        transition: transform 0.35s ease;

        overflow-y: auto;

        z-index: 1001;
    }

    .crafola-cart-drawer.is-open {
        transform: translateX(0);
    }


    /* ------------------------------
       CLOSE BUTTONS
    ------------------------------ */

    .crafola-menu-close,
    .crafola-cart-close {
        position: absolute;

        top: 25px;
        right: 25px;

        padding: 0;

        background: transparent;
        border: 0;

        font-size: 35px;

        cursor: pointer;
    }

    .crafola-menu-close {
        color: #fff;
    }


    /* ------------------------------
       OVERLAY
    ------------------------------ */

    .crafola-drawer-overlay {
        display: block;

        position: fixed;
        inset: 0;

        background: rgba(0, 0, 0, 0.55);

        opacity: 0;
        visibility: hidden;

        transition: 0.3s ease;

        z-index: 1000;
    }

    .crafola-drawer-overlay.is-open {
        opacity: 1;
        visibility: visible;
    }
}

/* ==================================================
   CUSTOM CRAFOLA MOUSE CURSOR
   Desktop Only
================================================== */

@media (min-width: 768px) {

    html,
    body {
        cursor: url('https://tshirt.ontimetourism.com/wp-content/uploads/2026/09/d89814d5-3c1a-4d5e-970b-93b9a98a0053-1-1.png') 0 0, auto;
    }

    a,
    button,
    input,
    select,
    textarea,
    [role="button"] {
        cursor: url('https://tshirt.ontimetourism.com/wp-content/uploads/2026/09/d89814d5-3c1a-4d5e-970b-93b9a98a0053-1.png') 0 0, pointer;
    }
}

/* ==================================================
   SHOP PAGE - DESKTOP LAYOUT
   Keep products clear of left navigation
================================================== */

.crafola-woocommerce {
    width: 100%;
    min-height: 100vh;

    /* Top | Right | Bottom | Left */
    padding: 120px 40px 80px 340px;

    background: #333;
}

/* ==================================================
   SHOP - PRODUCT GRID
================================================== */

.crafola-woocommerce ul.products {
    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 70px 35px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.crafola-woocommerce ul.products::before,
.crafola-woocommerce ul.products::after {
    display: none;
}

.crafola-woocommerce ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    padding: 0;

    float: none !important;

    text-align: center;
}


/* ==================================================
   SHOP - PRODUCT IMAGE
================================================== */

.crafola-product-image {
    position: relative;

    width: 100%;
    aspect-ratio: 1 / 1;

    margin-bottom: 20px;
}

.crafola-product-image img {
    position: absolute;

    inset: 0;

    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;

    object-fit: contain;

    transition: opacity 0.3s ease;
}


/* MAIN IMAGE */

.crafola-product-image-main {
    opacity: 1;
}


/* SECOND GALLERY IMAGE */

.crafola-product-image-hover {
    opacity: 0;
}


/* HOVER */

li.product:hover .crafola-product-image-main {
    opacity: 0;
}

li.product:hover .crafola-product-image-hover {
    opacity: 1;
}


/* ==================================================
   SHOP - PRODUCT TITLE
================================================== */

.crafola-woocommerce ul.products li.product
.woocommerce-loop-product__title {

    font-family: 'Circular Std';

    font-size: 22px;

    color: #fff;

    padding: 0;
    margin: 0 0 10px;
}


/* ==================================================
   SHOP - PRODUCT PRICE
================================================== */

.crafola-woocommerce ul.products li.product .price {

    display: block;

    font-family: 'Circular Std' ;

    font-size: 20px;

    color: #fff;

    margin-bottom: 15px;
}


/* ==================================================
   SHOP - ADD TO BAG
================================================== */

.crafola-woocommerce ul.products li.product .button {

    display: inline-block;

    margin: 0;
    padding: 12px 20px;
    border-radius: 20px;

    background: #fff;

    color: #000;

    border: 0;
    border-radius: 0;

    font-family: 'Circular Std ' ;

    font-size: 17px;

    text-decoration: none;
}

.crafola-woocommerce ul.products li.product .button:hover {
    background: #ff0000;
    color: #fff;
}


/* ==================================================
   SHOP - MOBILE
   2 PRODUCTS PER ROW
================================================== */

@media (max-width: 767px) {

    .crafola-woocommerce {
        padding: 100px 12px 50px;
    }

    .crafola-woocommerce ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 45px 12px;
    }

    .crafola-woocommerce ul.products li.product
    .woocommerce-loop-product__title {

        font-size: 15px;
    }

    .crafola-woocommerce ul.products li.product .price {
        font-size: 16px;
    }

    .crafola-woocommerce ul.products li.product .button {
        padding: 10px 12px;

        font-size: 13px;
    }
}
/* ==================================================
   SHOP PAGE - MOBILE
   No desktop sidebar space
================================================== */

@media (max-width: 767px) {

    .crafola-woocommerce {
        width: 100%;

        padding: 100px 12px 50px;

        margin: 0;
    }
}

/* ==================================================
   SHOP - AUTOMATIC CATEGORY NAVIGATION
================================================== */

.crafola-shop-categories {
    display: flex;
    align-items: center;

    gap: 35px;

    width: 100%;
    margin-bottom: 60px;

    overflow-x: auto;
    white-space: nowrap;

    scrollbar-width: none;
}

.crafola-shop-categories::-webkit-scrollbar {
    display: none;
}

.crafola-shop-categories a {
    position: relative;

    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;

    font-family: Arial, sans-serif;
    font-size: 17px;

    padding-bottom: 12px;
}

.crafola-shop-categories a:hover,
.crafola-shop-categories a.active {
    color: #ffffff;
}


/* ACTIVE CATEGORY LINE */

.crafola-shop-categories a.active::after {
    content: '';

    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 2px;

    background: #ffffff;
}


/* ==================================================
   SHOP CATEGORIES - MOBILE
================================================== */

@media (max-width: 767px) {

    .crafola-shop-categories {
        gap: 25px;

        margin-bottom: 35px;

        padding-bottom: 5px;
    }

    .crafola-shop-categories a {
        font-size: 14px;
    }
}

/* ==================================================
   SHOP - HIDE DEFAULT VIEW CART
================================================== */

.crafola-woocommerce .added_to_cart {
    display: none !important;
}


/* ==================================================
   SHOP - ADD TO BAG BUTTON
================================================== */

.crafola-woocommerce ul.products li.product .button.added::after {
    display: none !important;
}