/* - TYPOGRAPHY - */

@font-face {
    font-family: GoudyMedievalAlternate;
    src: url(../media/goudy-medieval-alternate.ttf);
}

@font-face {
    font-family: ABCDiatype;
    src: url(../media/abc-diatype.ttf);
}

@font-face {
    font-family: ABCDiatype;
    src: url(../media/abc-diatype-medium.ttf);
    font-weight: medium;
}

@font-face {
    font-family: ABCDiatype;
    src: url(../media/abc-diatype-bold.ttf);
    font-weight: bold;
}


@font-face {
    font-family: ArialNarrow;
    src: url(../media/arial-narrow.ttf);
}

@font-face {
    font-family: ArialNarrow;
    src: url(../media/arial-narrow-italic.ttf);
    font-style: italic;
}

@font-face {
    font-family: ArialNarrow;
    src: url(../media/arial-narrow-bold.ttf);
    font-weight: bold;
}

@font-face {
    font-family: ArialNarrow;
    src: url(../media/arial-narrow-bold-italic.ttf);
    font-weight: bold;
    font-style: italic;
}






/* - BASE - */

:root {
    --black: #000;
    --light-gray: #f4f4f4;
    --gray: #b7b7b7;
    --dark-gray: #676767;
    --green: #00ff00;
    --blue: #0000ff;
    --white: #fff;
    --red: #ff0000;
    --yellow: #ffc800;
}

body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    font-family: "Arial Narrow";
    overflow-x: hidden !important;
}

h1, h2 {
    font-family: "ArialNarrow", sans-serif;
    font-weight: bold;
    color: var(--red);
    font-size: 24px;
    margin: 0;
}

a {
    color: var(--black);
    text-decoration: none;
}

p {
    font-size: 13px;
}

main {
    padding: 90px 0 60px 0;
}









/* - HEADER - */
header {
    position:fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
}

.nav-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    box-sizing: border-box
}

.nav-top::before {
    content: "";
    flex: 1;
}

.cclogo img {
    width: 50px;
    height: 50px;
}

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

.cart {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cart img {
    width: 65px;
    height: 65px;
    object-fit: contain;
    display: block;
}

.cart-flex img {
    height:65px;
    width: auto;
}




/* =========================================================
   CUSTOM SHOPIFY CART
   ========================================================= */

.cart {
    position: relative;
    cursor: pointer;
}

.cart-image {
    display: block;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

#shopify-cart-toggle {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 9999 !important;
}

#shopify-cart-toggle .shopify-buy__cart-toggle {
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;

    padding: 0 !important;
    margin: 0 !important;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;

    opacity: 0 !important;
    color: transparent !important;

    cursor: pointer !important;
}

/* Cualquier toggle de Shopify que aparezca fuera
   de nuestro botón personalizado queda oculto. */

#shopify-cart > .shopify-buy__cart-toggle {
    display: none !important;
}

.shopify-buy__cart-toggle {
    font-size: 0 !important;
}









/* - HOME - */

body#home-page {
    background-color: var(--light-gray);
}

.drops-collection {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 50px;
    max-width: 550px;
    padding-top: 15px;
    margin: auto;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100vw;
    max-width: 750px;
    margin: 0;
}

.product-card {
    position: relative;
    width: 100%;
}

.sold-out-indicator {
    position: absolute;
    top: 0px;
    right: 0px;
    z-index: 10;
    font-size: 25px;
    color: var(--gray);
    user-select: none;
}

.drop-img {
    width: 100%;
    transition: opacity .5s
}

.sold-out {
    opacity: 0.5;
}

.sold-out:hover {
    opacity: 1;
}

.next-drop {
    padding: 65px 10px;
    gap: 10px;
}

.next-label h1 {
    font-size: 25px;
    padding-bottom: 10px;
}

.drop-incognita {
    animation: float 3s ease-in-out infinite;;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}














.feat-section {
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
    padding: 80px 10px 20px 10px;
}

.feat-section-out {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    max-width: 550px;
    padding: 50px 20px 70px 20px;
    margin: auto;
}

.drop-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.drop-hero img {
    max-width: 100%;
    padding-bottom: 15px;
    filter: drop-shadow(5px 5px 10px #0000004e);
}

@media (min-width:750px) {
    .drop-hero img {padding-bottom: 0;}
}

#canvas-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

#canvas-container canvas {
    display: block;
    outline: none;
}

.archive-section {
    padding: 30px 0 0 0;
    box-sizing: border-box
}







/* - PRODUCT PAGES - */

.product-page footer {
    padding-bottom: 220px;
}

.product-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 550px;
    padding-top: 15px;
    margin: auto;
}

.product-images {
    position: relative;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.product-images img {
    max-width: 100%;
}

.product-overlay {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);
    padding: 20px 0 20px 0;
    width: 100%;
    height:160px;

    background-color: #ffffffb6;
    backdrop-filter: blur(25px);
    border-top: solid 1px rgb(82, 82, 82);
    box-shadow: 0 10px 20px var(--black);
    z-index: 999;
}

.shopify-buy__product {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.shopify-buy__product__actual-price {
    color: rgb(82, 82, 82);
    font-family: 'Courier New', Courier, monospace;
    font-weight: bolder;
    padding-bottom: 15px;
}

.shopify-buy__product__variant-selectors {
    padding-top: 15px;
}

.shopify-buy__btn {
    margin-top: 20px;
    width: 90vw !important;
    max-width: 90vw !important;
    height: 60px !important;

    display: inline-block !important;
    position: relative !important;

    padding: 10px 20px !important;

    background: #2391FF !important;
    color: #ffffff !important;

    border: solid 2px #09609e !important;
    border-radius: 999rem !important;

    box-shadow:
        0 10px 10px #39adff60,
        inset 0 0 17px #00000036 !important;

    font-family: "ABCDiatype", sans-serif !important;
    font-size: 18px !important;
    font-weight: bold !important;

    text-shadow: 0 4px 4px #00000025 !important;

    line-height: 1 !important;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease !important;
}

.shopify-buy__btn::before {
    content: "";

    position: absolute;

    top: 2px;
    left: 20px;
    right: 20px;

    height: calc(28 / 60 * 100%);

    background: linear-gradient(
        180deg,
        #fff,
        #ffffff4d 41.15%,
        #fff0
    );

    border-radius: 48px;

    pointer-events: none;

    opacity: 0.6;
}

.shopify-buy__btn:hover {
    background: #1674cf !important;
    cursor: pointer;
}

.shopify-buy__btn:focus {
    background: #1674cf !important;
}

.preorder-note {
    padding-top: 10px;
}

.visuallyhidden {
    display: none;
}

.shopify-buy__product__title {
    display: none;
}

.shopify-buy__select-icon {
    display: none;
}

.shopify-buy__product-img-wrapper {
    display: none;
}

#product-info-button {
    position: absolute;
    top: 20px;
    left: 5vw;

    width: 40px;
    height: 40px;

    border: 3px solid var(--yellow);
    border-radius: 50%;

    background: none;
    color: var(--yellow);

    font-family: 'Courier New', Courier, monospace;
    font-size: 20px;
    font-weight: bold;

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

    cursor: pointer;
    z-index: 9999;
}

#product-info-modal h2{
    color: var(--yellow);
}








/* - POLICY PAGES - */

.page-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 550px;
    padding-top: 50px;
    margin: auto;
    padding: 40px 10px 10px 10px;
}








/* - 404 PAGE - */

.page-404 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}









/* - FOOTER - */

footer {
    font-family: "ABCDiatype";
    font-size: 12px;
    padding: 36px 0 10px 0;
    font-weight: bold;

}

.links-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0 10px;
    padding: 50px 25px 0 25px;
    box-sizing: border-box
}















/* - COMPONENTS - */


/* - FLEX ROW - */
.flex-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 0;
}

.flex-item {
    width: 187.5px;
    opacity: 0.5;
}

/* - FLEX COLUMN - */
.flex-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* - GRAYED - */
.grayed {
    color: rgba(100, 100, 100, 100);
}





/* - MARQUEE - */

.marquee h2 {
    white-space: pre;
}

.marquee {
    display: flex;
    overflow: hidden;
    gap: 1rem;
    position: relative;
    padding: 20px 0 20px 0;
    margin: 0;
}

.marquee-content {
    flex-shrink: 0;
    display: flex;
    justify-content: space-around;
    min-width: 100%;
    gap: 1rem;
    padding: 0;
    margin: 0;
}

.marquee:hover .marquee-content {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-100% - 1rem));
    }
}

.scroll {
    animation: scroll 20s linear infinite;
}


/* - BUTTON - */

.button {
    width: 100%;
    max-width: 90%;
    height: 60px;
}

.button p {
    font-size: 18px;
    font-family: "ABCDiatype", sans-serif;
    font-weight: bold;
}

/* - AQUA - */

.button-aqua {
    display: inline-block;
    position: relative;
    padding: 0;
    background: #2391FF;
    color: #ffffff;
    border: solid 2px #09609e;
    border-radius: 999rem;
    box-shadow: 0 10px 10px #39adff60, inset 0 0 17px #00000036;
}

.button-link {
    display: block;
    padding: 10px 20px;
    color: inherit;
    border-radius: 999rem;
    text-decoration: none;
}

.button-aqua p, .button-aqua a {
    color: var(--white);
    text-shadow: 0 4px 4px #00000025;
    margin: 0;
    line-height: 1;
}

.button-aqua::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 20px;
    right: 20px;
    height: calc(28 / 60 * 100%);
    background: linear-gradient(180deg, #fff, #ffffff4d 41.15%, #fff0);
    border-radius: 48px;
    pointer-events: none;
    opacity: 0.6;
}





/* - TIMER - */

#timer-hero {
    width: 100%;
    max-width: 100%;
    display: inline-block;
    font-family: "ArialNarrow";
    font-weight: bold;
    font-size: clamp(100px, 10vw, 150px);
    margin: 0 auto;
    color: var(--yellow);
    -webkit-text-stroke: 0.7px #000;
    text-shadow: 0 4px 4px #00000025;
    text-align: center;
    margin: 0;
    line-height: 1;
    padding: 20px 0 145px 0;
}







/* - MODAL - */

.modal {
    display: none;
    position: fixed;
    inset: 0;
    align-items: center;
    justify-content: center;
    z-index: 999999;
}

.modal-content {
    position: absolute;
    background-color: #fff;
    backdrop-filter: blur(25px);
    border: solid 1px rgb(82, 82, 82);
    box-shadow: 0 10px 20px #0000003b;
    
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    
    padding: 20px;
    border-radius: 8px;
}

.close-modal-button {
    position: absolute;
    right: 10px;
    top: 10px;

    width: 25px;
    height: 25px;

    border: 3px solid var(--yellow);
    border-radius: 50%;

    background: none;
    color: var(--yellow);

    font-family: 'Courier New', Courier, monospace;
    font-size: 15px;
    font-weight: bold;

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

    cursor: pointer;
    z-index: 9999;
}

@media (min-width: 850px) {
    
    .product-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        margin: 0 175px;
    }
    .button {
        width: fit-content;
        min-width: 250px;
        max-width: 500px;
    }
    .next-label h1 {
    font-size: 40px;
    }
}