/*! modern-normalize v3.0.1 | MIT License | https://github.com/sindresorhus/modern-normalize */

/*
Document
========
*/

/**
Use a better box model (opinionated).
*/

*,
::before,
::after {
    box-sizing: border-box;
}

html {
    /* Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3) */
    font-family:
        system-ui,
        'Segoe UI',
        Roboto,
        Helvetica,
        Arial,
        sans-serif,
        'Apple Color Emoji',
        'Segoe UI Emoji';
    line-height: 1.15;
    /* 1. Correct the line height in all browsers. */
    -webkit-text-size-adjust: 100%;
    /* 2. Prevent adjustments of font size after orientation changes in iOS. */
    tab-size: 4;
    /* 3. Use a more readable tab size (opinionated). */
    font-size: 16px;
}

/*
Sections
========
*/

body {
    margin: 0;
    /* Remove the margin in all browsers. */
    font-family: "Noto Sans", sans-serif;
    color: #222;
}

/*
Text-level semantics
====================
*/

/**
Add the correct font weight in Chrome and Safari.
*/

b,
strong {
    font-weight: bolder;
}

/**
1. Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)
2. Correct the odd 'em' font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
    font-family:
        ui-monospace,
        SFMono-Regular,
        Consolas,
        'Liberation Mono',
        Menlo,
        monospace;
    /* 1 */
    font-size: 1em;
    /* 2 */
}

/**
Add the correct font size in all browsers.
*/

small {
    font-size: 80%;
}

/**
Prevent 'sub' and 'sup' elements from affecting the line height in all browsers.
*/

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

/*
Tabular data
============
*/

/**
Correct table border color inheritance in Chrome and Safari. (https://issues.chromium.org/issues/40615503, https://bugs.webkit.org/show_bug.cgi?id=195016)
*/

table {
    border-color: currentcolor;
}

/*
Forms
=====
*/

/**
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
*/

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    /* 1 */
    font-size: 100%;
    /* 1 */
    line-height: 1.15;
    /* 1 */
    margin: 0;
    /* 2 */
}

/**
Correct the inability to style clickable types in iOS and Safari.
*/

button,
[type='button'],
[type='reset'],
[type='submit'] {
    -webkit-appearance: button;
}

/**
Remove the padding so developers are not caught out when they zero out 'fieldset' elements in all browsers.
*/

legend {
    padding: 0;
}

/**
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
    vertical-align: baseline;
}

/**
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
    height: auto;
}

/**
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
    -webkit-appearance: textfield;
    /* 1 */
    outline-offset: -2px;
    /* 2 */
}

/**
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to 'inherit' in Safari.
*/

::-webkit-file-upload-button {
    -webkit-appearance: button;
    /* 1 */
    font: inherit;
    /* 2 */
}

/*
Interactive
===========
*/

/*
Add the correct display in Chrome and Safari.
*/

summary {
    display: list-item;
}

/* ============================
Custom CSS
===============================*/
body.no-scroll {
    overflow: hidden;
}

.intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

h1.company-name {
    font-size: 3rem;
}

header {
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header .logo img {
    height: 60px;
    user-select: none;
}

header .logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 10px;
}

header .logo h1 {
    margin: 0;
    font-size: 1.625rem;
}

.category {
    padding: .5rem 1rem;
    background-color: #222;
    overflow-x: auto;
    position: sticky;
    top: 0;
    z-index: 1;
}

.category_inner {
    display: flex;
    gap: .625rem;
    align-items: center;
}

.category_inner a,
.category_inner a:focus,
.category_inner a:visited {
    font-size: .875rem;
    text-decoration: none;
    outline: none;
    color: #fff;
    padding: .3125rem .625rem;
    background-color: rgba(255, 255, 255, .1);
    border-radius: 1rem;
    transition: background-color 300ms ease-out 0s;
}

.category_inner a:hover {
    background-color: rgba(255, 255, 255, .2);
}

.category_inner a.active,
.category_inner a.active:hover {
    background-color: rgba(255, 255, 255, 1);
    color: #222;
}

.product-listing {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 1rem;
    gap: 12px;
}

.product-card {
    width: calc(25% - 9px);
    background-color: #F6F6F6;
    padding: 1rem;
    border-radius: .5rem;
}

.product-card img {
    max-width: 100%;
    height: auto;
    user-select: none;
}
.product-card-order-now {
    width: 100%;
    border: none;
    background-color: #222;
    font-weight: 500;
    color: #fff;
    padding: 1rem;
    cursor: pointer;
    transition: all 300ms ease-out 0s;
    position: absolute;
    z-index: 1;
    left: 0;
    bottom: 0;
    opacity: 0;
}

.product-card .image_wrapper {
    display: block;
    position: relative;
}

.product-card-order-now:hover {
    background-color: #383838;
}

.product-card .image_wrapper:hover .product-card-order-now {
    opacity: 1;
}
.product-card .image_link {
    display: block;
}
.product-card .sku {
    text-align: center;
    font-size: 1.25rem;
}

.product-card .sku-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px rgba(0, 0, 0, .05) solid;
}

.product-card .sku-copy-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    cursor: pointer;
    color: #333;
    padding: 4px;
    transition: color 0.2s ease;
}

.product-card .sku-copy-btn:hover {
    color: #007bff;
}

.product-card .sku-copy-btn svg {
    width: 18px;
    height: 18px;
}

.product-card .price_wrapper {
    display: flex;
    justify-content: center;
    gap: 5px;
    padding-top: 10px;
    font-size: 1rem;
}

.product-card .price_value {
    font-weight: 600;
}

footer {
    padding: 1rem;
    background-color: #222;
    color: #fff;
    margin-top: 3rem;
}

.purchase-info_social-media {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1 1 auto;
    margin-left: 60px;
}

.social-media {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.social-media a {
    text-decoration: none;
    outline: none;
    user-select: none;
}

.social-media a:hover svg {
    fill: #666;
}

.purchase-info {
    flex: 1 1 auto;
    margin: 0 2rem;
    text-align: center;
}

.header_contact .phone_wrapper {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 5px;
}

.header_contact svg {
    width: 18px;
}

.header_contact a {
    text-decoration: none;
    outline: none;
    color: #222;
    font-weight: 600;
}

.header_contact a:hover {
    text-decoration: underline;
}

/* ------------------------------------------
// product details page
---------------------------------------------*/
.product-details__info-block {
    flex: 1 1 auto;
    padding-top: 3.75rem;
}

.product-details__sku {
    display: flex;
    gap: .5rem;
    align-items: flex-end;
}

#pd-sku-copy-btn {
    cursor: pointer;
    user-select: none;
}

.product-details__info-block .sku {
    font-size: 2.25rem;
    font-weight: 600;
}

.product-details__info-block .price_wrapper {
    font-size: 1.625rem;
    display: flex;
    gap: .5rem;
    justify-content: flex-start;
    padding-top: 1.25rem;
}

.product-details__info-block .price_wrapper .price_value {
    font-weight: 600;
}

.back_to_listing {
    padding: 1rem;
    border-top: 1px rgba(0, 0, 0, .1) solid;
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, .5);
}

.back_to_listing a {
    color: #222;
    text-decoration: none;
    font-size: 18px;
}

.back_to_listing a:hover {
    text-decoration: underline;
}

.back_button {
    display: flex;
    align-items: center;
    gap: 5px;
}

.back_button svg {
    width: 24px;
    height: 24px;
}

.product-details {
    padding: 1rem;
    display: flex;
    gap: 3.75rem;
}

.product-details__image-wrapper {
    max-width: 50%;
    background-color: #f6f6f6;
    border-radius: 1rem;
    padding: 2rem;
    flex-grow: 0;
    flex-shrink: 0;
    user-select: none;
}

.product-details__image-wrapper img {
    max-width: 100%;
    height: auto;
}

.cash-on-delivery {
    display: inline-block;
    margin-top: 2rem;
    padding: 1rem;
    border: 1px green solid;
    background-color: rgba(0, 128, 0, .18);
    box-shadow: 5px 5px 0 0 rgba(0, 0, 0, .1);
    border-radius: 10px;
    font-size: 1.25rem;
    font-weight: 600;
    color: #325032;
}

.product-details-description__block {
    line-height: 1.4;
    color: #555;
}

.product-details .order-now-btn {
    font-size: 1.2rem;
    color: #fff;
    font-weight: 500;
    text-align: center;
    background-color: #222;
    padding: 1rem;
    margin-top: 1.5rem;
    max-width: 270px;
    border-radius: .5rem;
    transition: background-color 300ms ease-out 0s;
    cursor: pointer;
}

.product-details .order-now-btn:hover {
    background-color: #464646;
}

/* order flaying card */
.order-flying-card-overlay {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, .3);
    display: none;
}

.order-flying-card-overlay.active {
    display: block;
}

#order-flying-card {
    position: fixed;
    right: -100%;
    top: 0;
    z-index: 9;
    width: 480px;
    max-width: calc(100vw - 1rem);
    height: 100vh;
    background-color: rgba(255, 255, 255, 1);
    padding: 1.25rem;
    box-shadow: 0 -10px 10px 10px rgba(0, 0, 0, .1);
    transition: all 600ms ease-out 0s;
}

#order-flying-card.active {
    right: 0;
}

.order-flying-card-close {
    display: inline-block;
    cursor: pointer;
    margin-bottom: 1rem;
}

.order-flying-card-body {
    height: calc(100vh - 70px);
    overflow-y: auto;
}

.order-flying-card__title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

.order-flying-card__step {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
}

.order-flying-card__step-number {
    width: 36px;
    height: 36px;
    background-color: #e6e6e6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 0;
    flex-shrink: 0;
    font-weight: 600;
}

.order-flying-card__step-content {
    font-size: .9375rem;
}

.order-flying-card__order-message-wrapper {
    margin-top: 1rem;
}

.order-flying-card__order-message-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.order-flying-card__step-container {
    font-size: .9375rem;
    line-height: 1.4;
}

.order-flying-card__order-message-title {
    font-weight: 600;
}

.order-flying-card__order-message-copy-btn {
    border: 1px #666 solid;
    background-color: #222;
    padding: 5px 8px 3px;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 300ms ease-out 0s;
}

.order-flying-card__order-message-copy-btn:hover {
    background-color: #515151;
}

.order-flying-card__order-message-body {
    border: 1px #222 solid;
    padding: 1rem;
    border-radius: 5px 0 5px 5px;
    margin-top: 7px;
}

/* --------------------------------------
// variation design
---------------------------------------- */
.product-details-variation,
.product-details-description {
    padding-top: 2rem;
}

.product-details-variation__label,
.product-details-description__label {
    font-size: 18px;
    padding-bottom: .625rem;
    font-weight: 500;
}

.product-details-variation__block,
.product-card-variation__block {
    display: flex;
    flex-wrap: wrap;
    gap: .375rem;
}
.product-card-variation__block {
    justify-content: center;
    margin-top: .5rem;
}
span.product-details-variation__item,
span.product-card-variation__item {
    border: 1px #e6e6e6 solid;
    padding: .375rem .625rem;
    border-radius: 3px;
}

span.product-details-variation__item.size-guide {
    border: none;
    text-decoration: underline;
    cursor: pointer;
}

/* sku coppy message */
#sku-copy-message,
#order-copy-message {
    font-size: 1.5rem;
    text-align: center;
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    color: #214a21;
    background-color: #e0f5de;
    border: 1px green solid;
    padding: 1rem 2rem;
    border-radius: 5px;
    box-shadow: 0 0 10px 5px rgba(0, 0, 0, .2);
    opacity: 0;
    transition: opacity 300ms ease-out 0s;
    visibility: hidden;
    z-index: 99;
}

#sku-copy-message.active,
#order-copy-message.active {
    opacity: 1;
    visibility: visible;
}

.order-flying-card .order-thank-you {
    margin-top: 2rem;
    font-size: 1.2rem;
    line-height: 1.4;
    padding: 1rem;
    background-color: rgba(0, 0, 0, .05);
    border-radius: 5px;
}

.order-flying-card .social-media {
    justify-content: center;
    margin-top: 2rem;
}
/* ------------------------------------------------------
// t-shirt size guide popup:Start
--------------------------------------------------------*/
.t-shirt-size-guide-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.t-shirt-size-guide-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.t-shirt-size-guide-popup {
    position: relative;
    width: 1000px;
    background: #fff;
    padding: 1.5rem;
    height: 100vh;
}

.t-shirt-size-guide-popup-overla.active .t-shirt-size-guide-popup {
    transform: translateY(0) scale(1);
}

.t-shirt-size-guide-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;

    border: none;
    background: none;
    font-size: 28px;
    cursor: pointer;
}
.t-shirt-size-guide-popup__title {
    font-size: 1.5rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 1rem;
}
.t-shirt-size-guide-popup__body {
    height: calc(100vh - 100px);
    overflow-y: auto;
}
.t-shirt-size-guide-popup__img {
    text-align: center;
    margin-top: 1rem;
}

.t-shirt-size-guide-popup__img img {
    max-width: 100%;
}

.t-shirt-size-guide-popup__table {
    width: 420px;
    max-width: 100%;
    margin: 2rem auto;
}

.t-shirt-size-guide-popup__tr {
    display: flex;
    gap: 2px;
}
.t-shirt-size-guide-popup__tr:nth-child(2n + 1) .t-shirt-size-guide-popup__td {
    background-color: #e6e6e6;
}
.t-shirt-size-guide-popup__th, .t-shirt-size-guide-popup__td {
    padding: 10px;
    text-align: center;
}
.t-shirt-size-guide-popup__th {
    background-color: #222;
    color: #fff;
    font-size: 1.125rem;
}

.t-shirt-size-guide-popup__td.size {
    font-size: 1.125rem;
    font-weight: 600;
}
.t-shirt-size-guide-popup__tr div:nth-child(1) {
    width: 20%;
}
.t-shirt-size-guide-popup__tr div:nth-child(2),
.t-shirt-size-guide-popup__tr div:nth-child(3) {
    width: 40%;
}

/* --- /  t-shirt size guide popup:End \ ---- */


@media(max-width: 1199px) {
    .t-shirt-size-guide-popup {
        width: 100vw;
    }
}

@media(max-width: 1023px) {
    .product-card {
        width: calc(33.333% - 8px);
    }

    .product-details {
        gap: 2rem;
    }

    .product-details__info-block {
        padding-top: 2rem;
    }
}

@media(max-width: 991px) {
    .product-details {
        flex-wrap: wrap;
    }

    .product-details__image-wrapper {
        width: 100%;
        max-width: unset;
    }

    .product-details__info-block {
        padding-top: 0;
    }

    .product-details__info-block .sku {
        font-size: 1.875rem;
    }

    .product-details__info-block .price_wrapper {
        font-size: 1.375rem;
        padding-top: 1rem;
    }

    .product-details-variation,
    .product-details-description {
        padding-top: 1.75rem;
    }
}

@media(max-width: 767px) {
    header {
        flex-wrap: wrap;
    }

    .purchase-info {
        order: 1;
        margin: 1rem 0 0;
        font-size: .875rem;
    }

    header .logo img {
        height: 46px;
    }

    header .logo h1 {
        font-size: 1.375rem;
    }

    .social-media a svg {
        width: 20px;
    }

    .product-card {
        width: calc(50% - 6px);
    }

    .product-card .sku {
        font-size: 1.125rem;
    }

    .product-details {
        padding-top: 0;
        gap: 1.25rem;
    }

    .product-details__info-block .sku {
        font-size: 1.625rem;
    }

    .product-details__info-block .price_wrapper {
        font-size: 1.125rem;
        padding-top: .625rem;
    }

    .product-details-variation,
    .product-details-description {
        padding-top: 1.125rem;
    }

    .cash-on-delivery {
        margin-top: 1rem;
        font-size: 1rem;
    }

    #sku-copy-message,
    #order-copy-message {
        transform: none;
        left: 1rem;
        width: calc(100vw - 2rem);
        font-size: 1.2rem;
    }
}

@media(max-width: 575px) {
    header .logo img {
        height: 42px;
    }

    header .logo h1 {
        font-size: 1.375rem;
    }

    .social-media a svg {
        width: 18px;
    }

    .product-card {
        width: 100%;
    }
}


/* Flexbox stack layout container */
.floating-chat-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    /* Space between the two icons */
}

/* Universal button styling */
.chat-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.chat-btn svg {
    fill: #ffffff;
}

/* Messenger Specific Customizations */
.messenger-btn {
    background-color: #0084FF;
}

.messenger-btn svg {
    width: 32px;
    height: 32px;
}

.messenger-btn:hover {
    background-color: #0073e6;
    transform: scale(1.08);
}

/* WhatsApp Specific Customizations */
.whatsapp-btn {
    background-color: #25D366;
}

.whatsapp-btn svg {
    width: 34px;
    height: 34px;
}

.whatsapp-btn:hover {
    background-color: #20ba5a;
    transform: scale(1.08);
}

/* Active press shrinking feedback */
.chat-btn:active {
    transform: scale(0.95);
}


