/* ============================================================
   GLOBAL TOIRII PAGE LOADER
============================================================ */

html,
body {
    background: #ffffff !important;
}

#toirii-page-loader {
    position: fixed;
    inset: 0;

    z-index: 999999;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;

    opacity: 1;
    visibility: visible;

    transition:
        opacity .35s ease,
        visibility .35s ease;
}

#toirii-page-loader.toirii-loader-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.toirii-loader-content {
    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 14px;
}

.toirii-loader-logo-image {
    display: block;

    width: 90px;
    height: auto;
}

.toirii-loader-line {
    position: relative;

    width: 70px;
    height: 1px;

    overflow: hidden;

    background: #e5e5e5;
}

.toirii-loader-line::after {
    content: "";

    position: absolute;

    top: 0;
    left: -100%;

    width: 100%;
    height: 100%;

    background: #111111;

    animation:
        toiriiLoaderLine 1.1s
        ease-in-out infinite;
}

@keyframes toiriiLoaderLine {

    0% {
        left: -100%;
    }

    50% {
        left: 0;
    }

    100% {
        left: 100%;
    }
}

/* ============================================================
   TOIRII FLOATING ROUNDED HEADER
============================================================ */

/* =========================================================
   MOVING TOIRII BAR
   Normal page element — does NOT follow scrolling
========================================================= */



/* =========================================================
   FLOATING HEADER
   Follows user while scrolling
========================================================= */

/* ============================================================
   MAIN ROUNDED BAR
============================================================ */


/* ============================================================
   LEFT SIDE
============================================================ */

.toiri-fashion-left {

    min-width: 0;
}





















/* ============================================================
   BRAND
============================================================ */


.toiri-fashion-logo {

    border-radius: 50%;
}


/* ============================================================
   DESKTOP NAV
============================================================ */


.toiri-fashion-nav a {

    font-family:
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;

    transition:
        opacity
        0.2s ease;
}


.toiri-fashion-nav a:hover {

    color: #111;

    text-decoration: none;
}


/* ============================================================
   RIGHT ACTIONS
============================================================ */


.toiri-desktop-account {
    display: flex;

    align-items: center;

    gap: 6px;
}


.toiri-fashion-account,
.toiri-account-separator {
    color: #111;

    font-family:
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;

    font-size: 10px;

    font-weight: 500;

    letter-spacing:
        0.08em;
}


.toiri-fashion-account {

    transition:
        opacity
        0.2s ease;
}


/* ============================================================
   CART
============================================================ */

.toiri-fashion-cart {

    width: 36px;
    height: 36px;
}


/* ============================================================
   HAMBURGER
============================================================ */


/* ============================================================
   MOVING BAR
============================================================ */

.toiri-moving-group {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: max-content;
    min-width: 100vw;
    flex: 0 0 auto;
}


.toiri-moving-track span {
    flex: 0 0 auto;

    font-family:
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;
}


@keyframes toiriMovingBar {

    from {
        transform:
            translateX(0);
    }

    to {
        transform:
            translateX(-50%);
    }

}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 767px) {

    .toiri-fashion-header {
        top: 10px;
    }


    .toiri-fashion-header-inner {

        border-radius:
            999px;
    }


    .toiri-fashion-left {
        gap: 10px;
    }


    .toiri-fashion-brand-name {

        letter-spacing:
            0.12em;
    }


    .toiri-fashion-cart {
        width: 32px;
        height: 32px;
    }

}
.toiri-fashion-header {
    border: 0 !important;
}















/* ============================================================
   TOIRI SHOP / PRODUCT GRID
============================================================ */

.toiri-shop-section,
.toiri-shop-section * {
    box-sizing: border-box;
}

.toiri-shop-section {
    width: 100%;
    background: #fff;
    color: #111;

    font-family:
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;
}


/* ============================================================
   SHOP TOOLBAR
============================================================ */

.toiri-shop-toolbar {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 22px 20px;

    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;

    background: #fff;
}

.toiri-shop-title {
    margin: 0;

    color: #111;

    font-family: "Funnel Display", system-ui, sans-serif !important;
    font-size: 24px !important;
    font-weight: 600 !important;
    line-height: 1.1 !important;
    letter-spacing: normal !important;

    text-transform: uppercase;
}


/* ============================================================
   PRODUCT / MODEL SWITCH
============================================================ */

.toiri-view-toggle {
    display: flex;
    align-items: center;

    border: 1px solid #111;
}

.toiri-view-button {
    appearance: none;

    border: 0;

    padding: 8px 15px;

    background: #fff;
    color: #111;

    font-family:
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;

    font-size: 10px;
    line-height: 1;

    font-weight: 500;

    letter-spacing: .08em;

    text-transform: uppercase;

    cursor: pointer;

    transition:
        background-color .2s ease,
        color .2s ease;
}

.toiri-view-button + .toiri-view-button {
    border-left: 1px solid #111;
}

.toiri-view-button:hover {
    background: #f2f2f2;
}

.toiri-view-button.active {
    background: #111;
    color: #fff;
}


/* ============================================================
   PRODUCT GRID
============================================================ */

.toiri-product-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    width: 100%;
}

.toiri-product-card {
    position: relative;

    min-width: 0;

    background: #fff;

    border-right: 1px solid #e6e6e6;
    border-bottom: 1px solid #e6e6e6;
}


/* ============================================================
   PRODUCT IMAGE
============================================================ */

.toiri-product-image-area {

    width: 100%;

    aspect-ratio: 3 / 4;

    background: #f3f3f3;

    cursor: pointer;
}

.toiri-image-layer {
    width: 100%;
    height: 100%;
}

.toiri-product-image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .35s ease;
}

@media (hover: hover) and (pointer: fine) {

    .toiri-product-image-area:hover .toiri-product-image {
        transform: scale(1.012);
    }

}

.toiri-image-placeholder {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f4f4f4;

    color: #999;

    font-family:
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;

    font-size: 10px;

    letter-spacing: .08em;

    text-transform: uppercase;
}


/* ============================================================
   SOLD OUT BADGE
============================================================ */

.toiri-sold-out-badge {
    position: absolute;

    top: 12px;
    left: 12px;

    z-index: 5;

    padding: 6px 8px;

    background: rgba(255, 255, 255, .95);

    color: #111;

    font-family:
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;

    font-size: 9px;
    font-weight: 500;

    letter-spacing: .08em;

    text-transform: uppercase;
}


/* ============================================================
   SIZE HOVER PANEL
============================================================ */

.toiri-size-popup {

    left: 0;
    right: 0;
    bottom: 0;

    background: rgba(255, 255, 255, .97);

    border-top: 1px solid rgba(0, 0, 0, .08);

    transform: translateY(100%);

    opacity: 0;

    visibility: hidden;

    transition:
        transform .22s ease,
        opacity .22s ease,
        visibility .22s ease;
}


/*
Desktop only:
sizes appear when cursor enters the photo.
*/
@media (hover: hover) and (pointer: fine) {

    .toiri-product-image-area:hover .toiri-size-popup {
        transform: translateY(0);

        opacity: 1;

        visibility: visible;
    }

}

.toiri-size-list {
    min-height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 8px 12px;
}

.toiri-size-button {
    appearance: none;

    min-width: 36px;
    min-height: 32px;

    padding: 4px 7px;

    border: 0;

    background: transparent;

    color: #111;

    font-family:
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;

    font-size: 11px;
    font-weight: 500;

    letter-spacing: .04em;

    cursor: pointer;
}

.toiri-size-button:hover {
    text-decoration: underline;
}

.toiri-size-button.sold-out {
    color: #aaa;

    text-decoration: line-through;

    cursor: not-allowed;
}


/* ============================================================
   PRODUCT DETAILS
============================================================ */

.toiri-product-details {
    padding: 11px 12px 18px;
}

.toiri-product-name {
    margin: 0;

    color: #111;

    font-family:
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;

    font-size: 13px;
    line-height: 20px;

    font-weight: 400;

    letter-spacing: normal;

    text-transform: uppercase;
}

.toiri-product-color {
    color: #777;

    font-weight: 400;
}

.toiri-product-price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 7px;

    margin-top: 5px;

    color: #111;

    font-family:
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;

    font-size: 13px;
    line-height: 20px;

    font-weight: 400;

    letter-spacing: .02em;
}

.toiri-current-price {
    color: #111;
}

.toiri-old-price {
    color: #999;

    text-decoration: line-through;
}


/* ============================================================
   EMPTY
============================================================ */

.toiri-no-products {
    grid-column: 1 / -1;

    padding: 50px 20px;

    font-size: 12px;

    text-align: center;
}


/* ============================================================
   LARGE TABLET
============================================================ */

@media (max-width: 1199px) {

    .toiri-product-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}


/* ============================================================
   TABLET
============================================================ */

@media (max-width: 899px) {

    .toiri-product-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .toiri-shop-toolbar {
        padding: 18px 14px;
    }

}


/* ============================================================
   TOUCH DEVICES
============================================================ */

@media (hover: none), (pointer: coarse) {

    .toiri-size-popup {
        transform: translateY(0);

        opacity: 1;

        visibility: visible;
    }

    .toiri-size-list {
        min-height: 42px;

        gap: 3px;

        padding: 6px 5px;
    }

    .toiri-size-button {
        min-width: 29px;
        min-height: 29px;

        font-size: 10px;
    }

}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 575px) {

    .toiri-product-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .toiri-shop-toolbar {
        padding: 14px 10px;
    }

    .toiri-view-button {
        padding: 7px 10px;

        font-size: 8px;
    }

    .toiri-product-details {
        padding: 9px 8px 14px;
    }

    .toiri-product-name {
        font-size: 13px;
    }

    .toiri-product-price {
        font-size: 13px;
    }

    .toiri-sold-out-badge {
        bottom: 8px !important;
        left: 8px !important;
        padding: 5px 8px !important;
        font-size: 8px !important;
    }

}


/* ============================================================
   VERY SMALL PHONES
============================================================ */

@media (max-width: 360px) {

    .toiri-size-button {
        min-width: 25px;

        padding-left: 3px;
        padding-right: 3px;
    }

}
.toiri-product-link,
.toiri-product-info-link {
    color: inherit;
    text-decoration: none;
}

.toiri-product-link {
    display: block;
    width: 100%;
    height: 100%;
}

.toiri-product-info-link:hover {
    color: inherit;
    text-decoration: none;
}
/* ============================================================
   PRODUCT DETAILS PAGE
============================================================ */

.toiri-product-page {
    width: 100%;
    background: #fff;
    color: #111;
}

.toiri-product-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(320px, .75fr);
    align-items: start;
}

.toiri-product-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.toiri-product-gallery-item {
    width: 100%;
    background: #f3f3f3;
}

.toiri-product-gallery-item img {
    display: block;
    width: 100%;
    height: auto;
}

.toiri-product-page-info {
    padding: 32px 28px;
}

.toiri-product-page-sticky {
    position: sticky;
    top: 20px;
}

.toiri-product-page-title {
    margin: 0;

    font-size: 18px;
    line-height: 1.3;
    font-weight: 500;

    text-transform: uppercase;
    letter-spacing: .04em;
}

.toiri-product-page-color-name {
    margin-top: 5px;

    color: #777;

    font-size: 11px;

    text-transform: uppercase;
    letter-spacing: .05em;
}

.toiri-product-page-price {
    display: flex;
    gap: 8px;

    margin-top: 12px;

    font-size: 13px;
}

.toiri-product-option-group {
    margin-top: 28px;
}

.toiri-product-option-title {
    margin-bottom: 10px;

    font-size: 10px;
    font-weight: 500;

    letter-spacing: .08em;
}

.toiri-color-options {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;
}

.toiri-color-option {
    display: flex;
    align-items: center;

    gap: 7px;

    padding: 5px 7px;

    border: 1px solid transparent;

    color: #111;
    text-decoration: none;
}

.toiri-color-option.active {
    border-color: #111;
}

.toiri-color-swatch {
    width: 16px;
    height: 16px;

    border-radius: 50%;

    border: 1px solid #ccc;
}

.toiri-color-label {
    font-size: 10px;

    text-transform: uppercase;
}

.toiri-product-size-options {
    display: flex;
    flex-wrap: wrap;

    gap: 7px;
}

.toiri-product-size-option {
    min-width: 44px;
    min-height: 40px;

    padding: 7px 10px;

    border: 1px solid #111;

    background: #fff;
    color: #111;

    font-size: 11px;

    cursor: pointer;
}

.toiri-product-size-option:hover {
    background: #111;
    color: #fff;
}

.toiri-product-size-option.sold-out {
    color: #aaa;

    border-color: #ddd;

    text-decoration: line-through;

    cursor: not-allowed;
}

.toiri-product-add-cart {
    width: 100%;

    margin-top: 28px;

    padding: 15px;

    border: 1px solid #111;

    background: #111;
    color: #fff;

    font-size: 11px;
    font-weight: 500;

    letter-spacing: .08em;

    text-transform: uppercase;
}

.toiri-product-add-cart:disabled {
    opacity: .45;

    cursor: not-allowed;
}

.toiri-product-description {
    margin-top: 30px;

    font-size: 12px;
    line-height: 1.7;

    color: #333;
}


/* ============================================================
   PRODUCT PAGE TABLET
============================================================ */

@media (max-width: 899px) {

    .toiri-product-page-grid {
        grid-template-columns: 1fr;
    }

    .toiri-product-page-info {
        padding: 24px 18px 36px;
    }

    .toiri-product-page-sticky {
        position: static;
    }

}


/* ============================================================
   PRODUCT PAGE MOBILE
============================================================ */

@media (max-width: 575px) {

    .toiri-product-gallery {
        grid-template-columns: 1fr;
    }

    .toiri-product-page-info {
        padding: 20px 12px 32px;
    }

    .toiri-product-page-title {
        font-size: 15px;
    }

}
/* ============================================================
   MERTRA STYLE PRODUCT PAGE
============================================================ */

.toiri-mertra-product {
    width: 100%;
    background: #fff;
    color: #111;
}


/* ============================================================
   GALLERY
============================================================ */

.toiri-mertra-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    width: 100%;

    gap: 1px;

    background: #ddd;
}


.toiri-mertra-gallery-item {
    width: 100%;

    background: #f3f3f3;

    overflow: hidden;
}


.toiri-mertra-gallery-item img {
    display: block;

    width: 100%;
    height: auto;

    object-fit: cover;
}


/* ============================================================
   BUY AREA
============================================================ */

.toiri-mertra-buy-area {
    display: flex;

    justify-content: center;

    padding: 54px 20px 80px;

    background: #fff;
}


.toiri-mertra-buy-inner {
    width: 100%;

    max-width: 560px;
}


/* ============================================================
   TITLE
============================================================ */

.toiri-mertra-title {
    margin: 0;

    color: #111;

    font-size: 17px;
    line-height: 1.35;

    font-weight: 500;

    letter-spacing: .025em;

    text-transform: uppercase;
}


/* ============================================================
   PRICE
============================================================ */

.toiri-mertra-price {
    display: flex;

    align-items: center;

    gap: 8px;

    margin-top: 7px;

    font-size: 12px;
}


.toiri-mertra-old-price {
    color: #999;

    text-decoration: line-through;
}


/* ============================================================
   OPTIONS
============================================================ */

.toiri-mertra-options {
    margin-top: 34px;
}


.toiri-mertra-label {
    margin-bottom: 12px;

    color: #111;

    font-size: 10px;

    font-weight: 500;

    letter-spacing: .08em;

    text-transform: uppercase;
}


/* ============================================================
   SIZE
============================================================ */

.toiri-mertra-sizes {
    display: flex;

    flex-wrap: wrap;

    gap: 5px;
}


.toiri-mertra-size {
    appearance: none;

    min-width: 48px;
    min-height: 42px;

    padding: 8px 12px;

    border: 1px solid #ccc;

    background: #fff;

    color: #111;

    font-family:
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;

    font-size: 11px;

    cursor: pointer;

    transition:
        background-color .15s ease,
        color .15s ease,
        border-color .15s ease;
}


.toiri-mertra-size:hover {
    border-color: #111;
}


.toiri-mertra-size.active {
    background: #111;

    border-color: #111;

    color: #fff;
}


.toiri-mertra-size.sold-out {
    color: #aaa;

    border-color: #ddd;

    text-decoration: line-through;

    cursor: not-allowed;
}


/* ============================================================
   COLOUR
============================================================ */

.toiri-mertra-colours {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;
}


.toiri-mertra-colour {
    display: flex;

    align-items: center;

    gap: 7px;

    padding: 6px 8px;

    border: 1px solid #ddd;

    color: #111;

    font-size: 9px;

    letter-spacing: .05em;

    text-decoration: none;
}


.toiri-mertra-colour:hover {
    color: #111;

    border-color: #111;

    text-decoration: none;
}


.toiri-mertra-colour.active {
    border-color: #111;
}


.toiri-mertra-colour-circle {
    width: 14px;
    height: 14px;

    border-radius: 50%;

    border: 1px solid #aaa;
}


/* ============================================================
   CART BUTTON
============================================================ */

.toiri-mertra-cart-button {
    appearance: none;

    width: 100%;

    margin-top: 14px;

    padding: 16px;

    border: 1px solid #111;

    background: #111;

    color: #fff;

    font-family:
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;

    font-size: 10px;

    font-weight: 500;

    letter-spacing: .08em;

    text-transform: uppercase;

    cursor: pointer;
}


.toiri-mertra-cart-button:disabled {
    background: #f1f1f1;

    border-color: #ddd;

    color: #777;

    cursor: not-allowed;
}


/* ============================================================
   INFORMATION
============================================================ */

.toiri-mertra-info-section {
    margin-top: 42px;

    padding-top: 18px;

    border-top: 1px solid #ddd;
}


.toiri-mertra-info-section h3 {
    margin: 0 0 14px;

    color: #111;

    font-size: 10px;

    font-weight: 500;

    letter-spacing: .08em;

    text-transform: uppercase;
}


.toiri-mertra-info-section p,
.toiri-mertra-description {
    margin: 0 0 7px;

    color: #333;

    font-size: 11px;

    line-height: 1.65;
}


/* ============================================================
   TABLET
============================================================ */

@media (max-width: 899px) {

    .toiri-mertra-gallery {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .toiri-mertra-buy-area {
        padding:
            38px
            18px
            60px;
    }

}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 575px) {

    .toiri-mertra-gallery {
        grid-template-columns: 1fr;
    }


    .toiri-mertra-buy-area {
        padding:
            26px
            12px
            50px;
    }


    .toiri-mertra-title {
        font-size: 14px;
    }


    .toiri-mertra-size {
        flex: 1 0 auto;

        min-width: 45px;
    }


    .toiri-mertra-cart-button {
        min-height: 48px;
    }

}
/* ============================================================
   PRODUCT DETAILS PAGE
   Thumbnail Left / Main Centre / Details Right
============================================================ */

.toiri-product-detail-page,
.toiri-product-detail-page * {
    box-sizing: border-box;
}

.toiri-product-detail-page {
    width: 100%;

    background: #fff;

    color: #111;
}


/* ============================================================
   MAIN LAYOUT
============================================================ */

.toiri-product-detail-layout {
    display: grid;

    grid-template-columns:
        110px
        minmax(0, 1.25fr)
        minmax(340px, .75fr);

    align-items: start;

    width: 100%;

    min-height: 100vh;
}


/* ============================================================
   THUMBNAILS
============================================================ */

.toiri-product-thumbnails {
    display: flex;

    flex-direction: column;

    gap: 7px;

    padding: 8px;

    max-height: 100vh;

    overflow-y: auto;

    position: sticky;

    top: 0;
}


.toiri-product-thumbnail {
    appearance: none;

    width: 100%;

    aspect-ratio: 3 / 4;

    padding: 0;

    overflow: hidden;

    border: 1px solid transparent;

    background: #f3f3f3;

    cursor: pointer;
}


.toiri-product-thumbnail:hover {
    border-color: #aaa;
}


.toiri-product-thumbnail.active {
    border-color: #111;
}


.toiri-product-thumbnail img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


.toiri-product-thumbnail-empty {
    padding: 15px 5px;

    color: #888;

    font-size: 9px;

    text-align: center;

    text-transform: uppercase;
}


/* ============================================================
   MAIN IMAGE
============================================================ */

.toiri-product-main-image-wrap {
    position: sticky;

    top: 0;

    width: 100%;

    min-height: 100vh;

    display: flex;

    align-items: flex-start;
    justify-content: center;

    background: #f3f3f3;

    overflow: hidden;

    touch-action: pan-y;
}


.toiri-product-main-image {
    display: block;

    width: 100%;
    height: 100vh;

    object-fit: cover;
    transform: scale(1);
    transform-origin: center center;
}

@media (hover: hover) and (pointer: fine) {
    .toiri-product-main-image {
        cursor: zoom-in;
    }

    .toiri-product-main-image-wrap.is-zoomed .toiri-product-main-image {
        cursor: zoom-out;
    }
}

.toiri-product-main-image-placeholder {
    width: 100%;
    height: 100vh;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #999;

    font-size: 10px;

    text-transform: uppercase;
}


/* ============================================================
   RIGHT PRODUCT PANEL
============================================================ */

.toiri-product-side-panel {
    min-height: 100vh;

    border-left: 1px solid #e3e3e3;

    background: #fff;
}


.toiri-product-side-inner {
    position: sticky;

    top: 0;

    padding: 38px 28px 60px;
}


/* ============================================================
   TITLE
============================================================ */

.toiri-product-detail-title {
    margin: 0;

    color: #111;

    font-family:
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;

    font-size: 17px;

    line-height: 1.35;

    font-weight: 500;

    letter-spacing: .025em;

    text-transform: uppercase;
}


/* ============================================================
   PRICE
============================================================ */

.toiri-product-detail-price {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 7px;

    color: #111;

    font-size: 12px;
}


/* ============================================================
   OPTION GROUPS
============================================================ */

.toiri-product-detail-option-group {
    margin-top: 30px;
}


.toiri-product-detail-label {
    margin-bottom: 11px;

    color: #111;

    font-size: 10px;

    font-weight: 500;

    letter-spacing: .08em;

    text-transform: uppercase;
}


/* ============================================================
   COLOURS
============================================================ */

.toiri-product-detail-colors {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;
}


.toiri-product-detail-color {
    display: flex;

    align-items: center;

    gap: 7px;

    padding: 6px 8px;

    border: 1px solid #ddd;

    color: #111;

    font-size: 9px;

    letter-spacing: .04em;

    text-decoration: none;
}


.toiri-product-detail-color:hover {
    color: #111;

    border-color: #111;

    text-decoration: none;
}


.toiri-product-detail-color.active {
    border-color: #111;
}


.toiri-product-detail-color-circle {
    width: 14px;
    height: 14px;

    border-radius: 50%;

    border: 1px solid #aaa;
}


/* ============================================================
   SIZES
============================================================ */

.toiri-product-detail-sizes {
    display: flex;

    flex-wrap: wrap;

    gap: 5px;
}


.toiri-product-detail-size {
    appearance: none;

    min-width: 48px;
    min-height: 42px;

    padding: 8px 12px;

    border: 1px solid #ccc;

    background: #fff;

    color: #111;

    font-family:
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;

    font-size: 11px;

    cursor: pointer;

    transition:
        background-color .15s ease,
        color .15s ease,
        border-color .15s ease;
}


.toiri-product-detail-size:hover {
    border-color: #111;
}


.toiri-product-detail-size.active {
    background: #111;

    border-color: #111;

    color: #fff;
}


.toiri-product-detail-size.sold-out {
    color: #aaa;

    border-color: #ddd;

    text-decoration: line-through;

    cursor: not-allowed;
}


/* ============================================================
   CART BUTTON
============================================================ */

.toiri-product-detail-cart-button {
    appearance: none;

    width: 100%;

    min-height: 50px;

    margin-top: 15px;

    padding: 14px;

    border: 1px solid #111;

    background: #111;

    color: #fff;

    font-family:
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;

    font-size: 10px;

    font-weight: 500;

    letter-spacing: .08em;

    text-transform: uppercase;

    cursor: pointer;
}


.toiri-product-detail-cart-button:disabled {
    background: #f1f1f1;

    border-color: #ddd;

    color: #777;

    cursor: not-allowed;
}


/* ============================================================
   INFO / ACCORDIONS
============================================================ */

.toiri-product-detail-info-section {
    margin-top: 26px;

    border-top: 1px solid #ddd;
}


.toiri-product-detail-accordion {
    appearance: none;

    width: 100%;

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 17px 0;

    border: 0;

    background: transparent;

    color: #111;

    font-family:
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;

    font-size: 10px;

    font-weight: 500;

    letter-spacing: .08em;

    text-align: left;

    cursor: pointer;
}


.toiri-accordion-symbol {
    font-size: 16px;

    font-weight: 300;
}


.toiri-product-detail-accordion-content {
    display: none;

    padding:
        0
        0
        18px;

    color: #333;

    font-size: 11px;

    line-height: 1.7;
}


.toiri-product-detail-accordion-content.active {
    display: block;
}


.toiri-product-detail-accordion-content p {
    margin: 0;
}


.toiri-product-detail-description {
    white-space: normal;
}


/* ============================================================
   TABLET
============================================================ */

@media (max-width: 1000px) {

    .toiri-product-detail-layout {
        grid-template-columns:
            90px
            minmax(0, 1fr)
            320px;
    }


    .toiri-product-side-inner {
        padding:
            28px
            20px
            45px;
    }

}


/* ============================================================
   SMALL TABLET / MOBILE
============================================================ */

@media (max-width: 767px) {

    .toiri-product-detail-layout {
        display: flex;

        flex-direction: column;
    }


    /*
    Main image first
    */

    .toiri-product-main-image-wrap {
        order: 1;

        position: relative;

        min-height: auto;

        width: 100%;

        touch-action: pan-y;
    }


    .toiri-product-main-image {
        height: auto;

        aspect-ratio: 3 / 4;

        object-fit: cover;
    }


    .toiri-product-main-image-placeholder {
        height: auto;

        aspect-ratio: 3 / 4;
    }


    /*
    Thumbnails second
    */

    .toiri-product-thumbnails {
        order: 2;

        position: relative;

        top: auto;

        width: 100%;

        max-height: none;

        display: flex;

        flex-direction: row;

        overflow-x: auto;

        overflow-y: hidden;

        gap: 6px;

        padding: 7px;
    }


    .toiri-product-thumbnail {
        flex:
            0
            0
            72px;

        width: 72px;
    }


    /*
    Product information third
    */

    .toiri-product-side-panel {
        order: 3;

        min-height: auto;

        width: 100%;

        border-left: 0;

        border-top: 1px solid #ddd;
    }


    .toiri-product-side-inner {
        position: relative;

        top: auto;

        padding:
            24px
            14px
            50px;
    }

}


/* ============================================================
   SMALL MOBILE
============================================================ */

@media (max-width: 480px) {

    .toiri-product-detail-title {
        font-size: 14px;
    }


    .toiri-product-detail-option-group {
        margin-top: 25px;
    }


    .toiri-product-detail-size {
        min-width: 44px;

        min-height: 40px;
    }


    .toiri-product-thumbnail {
        flex-basis: 62px;

        width: 62px;
    }

}
/* ============================================================
   RELATED PRODUCTS
============================================================ */

.toiri-related-products {
    width: 100%;

    background: #fff;

    border-top: 1px solid #ddd;
}


.toiri-related-heading {
    width: 100%;

    padding: 22px 18px;

    border-bottom: 1px solid #ddd;
}


.toiri-related-heading h2 {
    margin: 0;

    color: #111;

    font-family:
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;

    font-size: 13px;

    line-height: 1.2;

    font-weight: 500;

    letter-spacing: .08em;

    text-transform: uppercase;
}


@media (max-width: 575px) {

    .toiri-related-heading {
        padding: 17px 10px;
    }


    .toiri-related-heading h2 {
        font-size: 11px;
    }

}
/* ============================================================
   CART DRAWER
============================================================ */

.toiri-cart-overlay {
    position: fixed;

    inset: 0;

    background: rgba(0, 0, 0, .35);

    opacity: 0;

    visibility: hidden;

    transition:
        opacity .25s ease,
        visibility .25s ease;
}


.toiri-cart-overlay.active {
    opacity: 1;

    visibility: visible;
}


.toiri-cart-drawer {

    top: 0;
    right: 0;

    width: 420px;
    max-width: 100%;

    height: 100vh;

    display: flex;

    flex-direction: column;

    background: #fff;

    transform: translateX(100%);

    transition: transform .3s ease;
}


.toiri-cart-drawer.active {
    transform: translateX(0);
}


/* ============================================================
   HEADER
============================================================ */

.toiri-cart-drawer-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    padding: 20px;

    border-bottom: 1px solid #ddd;
}


.toiri-cart-drawer-header h3 {
    margin: 0;

    color: #111;

    font-size: 13px;

    font-weight: 500;

    letter-spacing: .08em;
}


.toiri-cart-close {
    appearance: none;

    border: 0;

    background: transparent;

    color: #111;

    font-size: 27px;

    line-height: 1;

    cursor: pointer;
}


/* ============================================================
   BODY
============================================================ */

.toiri-cart-drawer-body {
    flex: 1;

    padding: 20px;

    overflow-y: auto;
}


.toiri-cart-empty {
    margin: 30px 0;

    color: #777;

    font-size: 12px;

    text-align: center;
}


/* ============================================================
   FOOTER
============================================================ */

.toiri-cart-drawer-footer {
    padding: 20px;

    border-top: 1px solid #ddd;

    background: #fff;
}


.toiri-cart-subtotal {
    display: flex;

    justify-content: space-between;

    margin-bottom: 15px;

    font-size: 11px;
}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 575px) {

    .toiri-cart-drawer {
        width: 50vw;
        max-width: 50vw;
    }

}
.toiri-cart-item {
    display: flex;

    gap: 12px;

    padding: 14px 0;

    border-bottom: 1px solid #e5e5e5;
}


.toiri-cart-item-image {
    width: 85px;

    flex: 0 0 85px;
}


.toiri-cart-item-image img {
    display: block;

    width: 100%;

    aspect-ratio: 3 / 4;

    object-fit: cover;

    background: #f3f3f3;
}


.toiri-cart-item-info {
    flex: 1;

    min-width: 0;
}


.toiri-cart-item-name {
    font-size: 11px;

    font-weight: 500;

    line-height: 1.4;

    text-transform: uppercase;
}


.toiri-cart-item-meta {
    margin-top: 5px;

    color: #777;

    font-size: 10px;

    text-transform: uppercase;
}


.toiri-cart-item-quantity {
    margin-top: 10px;

    font-size: 10px;
}


.toiri-cart-item-price {
    margin-top: 5px;

    font-size: 11px;

    font-weight: 500;
}


@media (max-width: 575px) {

    .toiri-cart-item {
        gap: 8px;
    }


    .toiri-cart-item-image {
        width: 60px;

        flex-basis: 60px;
    }


    .toiri-cart-drawer-body {
        padding: 12px;
    }

}
.toiri-cart-quantity-controls {
    display: inline-flex;

    align-items: center;

    margin-top: 10px;

    border: 1px solid #ddd;
}


.toiri-cart-qty-minus,
.toiri-cart-qty-plus {
    appearance: none;

    width: 30px;
    height: 30px;

    border: 0;

    background: #fff;

    color: #111;

    font-size: 15px;

    cursor: pointer;
}


.toiri-cart-quantity-controls span {
    min-width: 28px;

    text-align: center;

    font-size: 10px;
}


.toiri-cart-remove {
    appearance: none;

    display: block;

    margin-top: 9px;

    padding: 0;

    border: 0;

    background: transparent;

    color: #777;

    font-size: 9px;

    letter-spacing: .06em;

    text-decoration: underline;

    cursor: pointer;
}
/* ============================================================
   TOIRI ANNOUNCEMENT BAR
============================================================ */


.toiri-moving-track span {
    display: inline-block;
}



/* ============================================================
   STORE HEADER
============================================================ */

.toiri-store-header {
    position: relative;

    z-index: 9990;

    width: 100%;

    background: #fff;

    border-bottom: 1px solid #e5e5e5;
}


.toiri-store-header-inner {
    position: relative;

    display: grid;

    grid-template-columns:
        1fr
        auto
        1fr;

    align-items: center;

    min-height: 58px;

    padding: 0 18px;
}



/* ============================================================
   LEFT / RIGHT
============================================================ */

.toiri-store-header-left,
.toiri-store-header-right {
    display: flex;

    align-items: center;

    gap: 18px;
}


.toiri-store-header-right {
    justify-content: flex-end;
}



/* ============================================================
   HEADER BUTTON / LINK
============================================================ */

.toiri-header-text-button,
.toiri-header-text-link {
    appearance: none;

    padding: 0;

    border: 0;

    background: transparent;

    color: #111;

    font-family:
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;

    font-size: 9px;

    font-weight: 500;

    letter-spacing: .08em;

    line-height: 1;

    text-decoration: none;

    text-transform: uppercase;

    cursor: pointer;
}


.toiri-header-text-button:hover,
.toiri-header-text-link:hover {
    color: #111;

    text-decoration: underline;
}



/* ============================================================
   LOGO
============================================================ */

.toiri-store-logo {
    position: absolute;

    left: 50%;

    transform: translateX(-50%);
}


.toiri-store-logo a {
    display: flex;

    align-items: center;

    gap: 6px;

    color: #111;

    text-decoration: none;
}


.toiri-store-logo img {
    display: block;

    width: 32px;
    height: 32px;

    object-fit: contain;
}


.toiri-store-logo span {
    color: #111;

    font-size: 15px;

    font-weight: 600;

    letter-spacing: .08em;
}



/* ============================================================
   CART COUNT
============================================================ */



/* ============================================================
   MENU DRAWER
============================================================ */


.toiri-menu-drawer-header {

    min-height: 58px;
}


.toiri-menu-drawer-header button {
    appearance: none;
}


.toiri-menu-links a:hover {
    background: #f7f7f7;
}



/* ============================================================
   SEARCH PANEL
============================================================ */

.toiri-search-panel {

    padding: 15px 18px;
}


.toiri-search-inner button {
    appearance: none;
}



/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 767px) {

    .toiri-store-header-inner {
        min-height: 52px;

        padding: 0 10px;
    }


    .toiri-store-header-left {
        gap: 10px;
    }


    .toiri-store-header-right {
        gap: 10px;
    }


    .toiri-store-logo img {
        width: 27px;
        height: 27px;
    }


    .toiri-store-logo span {
        font-size: 12px;
    }


    .toiri-header-text-button,
    .toiri-header-text-link {
        font-size: 8px;
    }


    .toiri-store-header-right
    .toiri-header-text-link {
        display: none;
    }


    .toiri-menu-drawer {
        width: 78vw;
    }

}
/* ============================================================
   MOVING BAR
============================================================ */



/* ============================================================
   MAIN TOP BAR
============================================================ */

.toiri-topbar {
    position: relative;

    z-index: 9990;

    width: 100%;

    background: #fff;

    border-bottom: 1px solid #dedede;
}

.toiri-topbar-inner {
    position: relative;

    display: grid;

    grid-template-columns:
        1fr
        auto
        1fr;

    align-items: center;

    min-height: 46px;

    padding: 0 14px;
}


/* LEFT / RIGHT */

.toiri-topbar-left,
.toiri-topbar-right {
    display: flex;

    align-items: center;

    gap: 16px;
}

.toiri-topbar-right {
    justify-content: flex-end;
}


/* ACTIONS */

.toiri-topbar-action {
    appearance: none;

    border: 0;

    padding: 0;

    background: transparent;

    color: #111;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 9px;

    font-weight: 500;

    letter-spacing: .09em;

    line-height: 1;

    text-decoration: none;

    text-transform: uppercase;

    cursor: pointer;
}

.toiri-topbar-action:hover {
    color: #111;

    text-decoration: underline;
}


/* ============================================================
   CENTER LOGO
============================================================ */

.toiri-topbar-logo {
    position: absolute;

    left: 50%;

    transform: translateX(-50%);
}

.toiri-topbar-logo a {
    color: #111;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 17px;

    font-weight: 600;

    letter-spacing: .18em;

    text-decoration: none;
}


/* ============================================================
   CART COUNT
============================================================ */

.toiri-cart-count {
    margin-left: 2px;
}


/* ============================================================
   SEARCH PANEL
============================================================ */

.toiri-search-panel {
    position: fixed;

    top: 24px;
    left: 0;
    right: 0;

    z-index: 10001;

    background: #fff;

    border-bottom: 1px solid #ddd;

    transform: translateY(-120%);

    transition: transform .25s ease;
}

.toiri-search-panel.active {
    transform: translateY(0);
}

.toiri-search-inner {
    display: flex;

    align-items: center;

    gap: 12px;

    padding: 14px;
}

.toiri-search-inner input {
    flex: 1;

    padding: 8px 0;

    border: 0;
    border-bottom: 1px solid #111;

    background: transparent;

    color: #111;

    font-size: 10px;

    outline: none;
}

.toiri-search-inner button {
    border: 0;

    background: transparent;

    color: #111;

    font-size: 8px;

    letter-spacing: .1em;

    cursor: pointer;
}


/* ============================================================
   MENU DRAWER
============================================================ */

.toiri-menu-overlay {
    position: fixed;

    inset: 0;

    z-index: 9997;

    background: rgba(0, 0, 0, .25);

    opacity: 0;

    visibility: hidden;

    transition:
        opacity .25s ease,
        visibility .25s ease;
}

.toiri-menu-overlay.active {
    opacity: 1;

    visibility: visible;
}

.toiri-menu-drawer {
    position: fixed;

    top: 0;
    left: 0;

    z-index: 9998;

    width: 320px;
    max-width: 85vw;

    height: 100vh;

    background: #fff;

    transform: translateX(-100%);

    transition: transform .28s ease;
}

.toiri-menu-drawer.active {
    transform: translateX(0);
}

.toiri-menu-drawer-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    height: 46px;

    padding: 0 14px;

    border-bottom: 1px solid #ddd;

    font-size: 9px;

    letter-spacing: .09em;
}

.toiri-menu-drawer-header button {
    border: 0;

    background: transparent;

    color: #111;

    font-size: 22px;

    cursor: pointer;
}

.toiri-menu-links {
    display: flex;

    flex-direction: column;
}

.toiri-menu-links a {
    padding: 15px 14px;

    border-bottom: 1px solid #eee;

    color: #111;

    font-size: 9px;

    letter-spacing: .08em;

    text-decoration: none;
}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 767px) {

    .toiri-topbar-inner {
        min-height: 42px;

        padding: 0 9px;
    }


    .toiri-topbar-left,
    .toiri-topbar-right {
        gap: 9px;
    }


    .toiri-topbar-action {
        font-size: 7px;
    }


    .toiri-topbar-logo a {
        font-size: 13px;

        letter-spacing: .15em;
    }


    .toiri-topbar-right
    > a {
        display: none;
    }

}
/* ============================================================
   MOVING BAR
============================================================ */



/* ============================================================
   FASHION HEADER
============================================================ */

.toiri-fashion-header {

    border: 0;
    box-shadow: none;
}



/* ============================================================
   BRAND LEFT
============================================================ */

.toiri-fashion-logo {

    object-fit: contain;
}

.toiri-fashion-brand-name {
    color: #111;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 16px;

    font-weight: 600;

    letter-spacing: .16em;

    line-height: 1;
}



/* ============================================================
   RIGHT ACTIONS
============================================================ */

.toiri-fashion-account {
    color: #111;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 9px;

    font-weight: 500;

    letter-spacing: .08em;

    text-decoration: none;

    text-transform: uppercase;
}

.toiri-fashion-account:hover {
    color: #111;

    text-decoration: none;

    opacity: .6;
}



/* ============================================================
   CART
============================================================ */

.toiri-fashion-cart {
    appearance: none;

    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 0;

    border: 0;

    background: transparent;

    color: #111;

    cursor: pointer;
}

.toiri-cart-icon {
    display: block;

    width: 20px;
    height: 20px;
}

.toiri-cart-count {
    position: absolute;

    top: -7px;
    right: -9px;

    display: flex;

    align-items: center;
    justify-content: center;

    min-width: 15px;
    height: 15px;

    padding: 0 3px;

    border-radius: 50%;

    background: #111;

    color: #fff;

    font-size: 8px;

    line-height: 1;
}



/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 575px) {

    .toiri-fashion-header-inner {
        min-height: 48px;

        padding: 0 10px;
    }


    .toiri-fashion-logo {
        width: 29px;
        height: 29px;
    }


    .toiri-fashion-brand-name {
        font-size: 13px;

        letter-spacing: .13em;
    }


    .toiri-fashion-actions {
        gap: 12px;
    }


    .toiri-fashion-account {
        font-size: 8px;
    }


    .toiri-cart-icon {
        width: 19px;
        height: 19px;
    }

}

.toiri-fashion-left {
    display: flex;

    align-items: center;

    gap: 28px;
}

.toiri-fashion-brand a {
    display: flex;

    align-items: center;

    gap: 8px;

    color: #111;

    text-decoration: none;
}

.toiri-fashion-nav {
    display: flex;

    align-items: center;

    gap: 20px;
}

.toiri-fashion-nav a {
    color: #111;

    font-size: 9px;

    font-weight: 500;

    letter-spacing: .08em;

    text-decoration: none;

    text-transform: uppercase;
}

.toiri-fashion-nav a:hover {
    opacity: .55;
}

.toiri-category-menu {
    position: relative;
}

.toiri-category-menu summary,
.toiri-mobile-category-menu summary {
    color: #111;
    cursor: pointer;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: .08em;
    list-style: none;
    text-transform: uppercase;
}

.toiri-category-menu summary::-webkit-details-marker,
.toiri-mobile-category-menu summary::-webkit-details-marker {
    display: none;
}

.toiri-category-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    z-index: 10000;
    min-width: 150px;
    padding: 5px 0;
    border: 1px solid rgba(0, 0, 0, .08);
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}

.toiri-category-menu[open] > .toiri-category-dropdown {
    display: grid;
}

.toiri-category-dropdown a {
    display: block;
    padding: 10px 14px;
    white-space: nowrap;
}

.toiri-category-dropdown a:hover {
    background: #f8f8f8;
    opacity: 1;
}

.toiri-category-empty {
    display: block;
    padding: 10px 14px;
    color: #777;
    font-size: 9px;
    white-space: nowrap;
}

.toiri-mobile-category-menu summary {
    padding: 17px 15px;
    border-bottom: 1px solid #eee;
}

.toiri-mobile-category-options a {
    padding-left: 30px;
}

.toiri-fashion-actions {
    display: flex;

    align-items: center;

    gap: 18px;
}

.toiri-moving-track {
    display: flex;
    align-items: center;
    width: max-content;
    height: 24px;

    animation:
        toiri-scroll
        20s
        linear
        infinite;
}

.toiri-moving-track span {
    padding: 0 30px;

    color: #ffffff;

    font-size: 8px;
    font-weight: 500;

    letter-spacing: .12em;

    line-height: 24px;

    white-space: nowrap;
}

@keyframes toiri-scroll {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}
/* ============================================================
   MOBILE HAMBURGER
============================================================ */

.toiri-mobile-menu-button {
    display: none;

    appearance: none;

    width: 24px;
    height: 20px;

    padding: 0;

    border: 0;

    background: transparent;

    cursor: pointer;
}

.toiri-mobile-menu-button span {
    display: block;

    width: 22px;
    height: 1px;

    margin: 5px 0;

    background: #111;
}


/* ============================================================
   MOBILE MENU OVERLAY
============================================================ */

.toiri-mobile-menu-overlay {
    position: fixed;

    inset: 0;

    z-index: 9997;

    background: rgba(0, 0, 0, .28);

    opacity: 0;

    visibility: hidden;

    transition:
        opacity .25s ease,
        visibility .25s ease;
}

.toiri-mobile-menu-overlay.active {
    opacity: 1;

    visibility: visible;
}


/* ============================================================
   MOBILE MENU DRAWER
============================================================ */

.toiri-mobile-menu-drawer {
    position: fixed;

    top: 0;
    right: 0;

    z-index: 9998;

    width: 78vw;
    max-width: 340px;

    height: 100vh;

    background: #fff;

    transform: translateX(100%);

    transition:
        transform .28s ease;

    overflow-y: auto;
}

.toiri-mobile-menu-drawer.active {
    transform: translateX(0);
}


.toiri-mobile-menu-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    min-height: 52px;

    padding: 0 15px;

    border-bottom: 1px solid #eee;

    font-size: 10px;

    letter-spacing: .08em;
}


.toiri-mobile-menu-header button {
    appearance: none;

    border: 0;

    background: transparent;

    color: #111;

    font-size: 25px;

    line-height: 1;

    cursor: pointer;
}


.toiri-mobile-menu-links {
    display: flex;

    flex-direction: column;
}


.toiri-mobile-menu-links a {
    padding: 17px 15px;

    border-bottom: 1px solid #eee;

    color: #111;

    font-size: 10px;

    font-weight: 500;

    letter-spacing: .08em;

    text-decoration: none;
}

.toiri-mobile-menu-links form {
    margin: 0;
    border-bottom: 1px solid #eee;
}

.toiri-mobile-menu-links .toiri-mobile-menu-logout {
    display: block;
    width: 100%;
    padding: 17px 15px;
    border: 0;
    background: transparent;
    color: #111;
    font-family: inherit;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .08em;
    line-height: normal;
    text-align: left;
    cursor: pointer;
}


.toiri-mobile-menu-links a:hover {
    background: #f8f8f8;
}

.toiri-mobile-menu-links .toiri-mobile-menu-logout:hover {
    background: #f8f8f8;
}


/* ============================================================
   MOBILE HEADER
============================================================ */

@media (max-width: 767px) {

    .toiri-fashion-nav {
        display: none;
    }

    .toiri-desktop-account {
        display: none;
    }

    .toiri-mobile-menu-button {
        display: block;
    }

    .toiri-fashion-header-inner {
        min-height: 48px;

        padding: 0 10px;
    }

    .toiri-fashion-actions {
        gap: 14px;
    }

    .toiri-fashion-logo {
        width: 29px;
        height: 29px;
    }

    .toiri-fashion-brand-name {
        font-size: 13px;
    }

}
.toiri-product-details a {
    display: block;
    position: relative;
    z-index: 2;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.toiri-product-details a:hover {
    color: inherit;
    text-decoration: none;
}

/* ============================================================
   PRODUCT CARD HOVER GALLERY EFFECT
============================================================ */

.toiri-product-image-area {
    position: relative;
    overflow: hidden;
}

.toiri-card-image-link {
    display: block;
    position: relative;
    width: 100%;
    cursor: pointer;
}

.toiri-image-stack {
    position: relative;
    width: 100%;
    height: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.toiri-image-stack .toiri-product-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Original product image */

.toiri-main-card-photo {
    transition: opacity 0.45s ease;
}

/* First gallery image is hidden initially */

.toiri-image-stack .toiri-hover-gallery-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    z-index: 1;
    transition:
        opacity 0.45s ease,
        transform 0.7s ease;
    transform: scale(1.035);
}

/* Hover: crossfade to first gallery image */

@media (hover: hover) and (pointer: fine) {
    .toiri-product-image-area:hover
    .toiri-image-stack .toiri-hover-gallery-image {
        opacity: 1;
        transform: scale(1);
    }
}

/* ============================================================
   QUICK ADD OVERLAY
============================================================ */

.toiri-size-popup {
    position: absolute;
    z-index: 15;
    pointer-events: none;
}

.toiri-size-popup .toiri-size-list {
    pointer-events: auto;
}

.toiri-size-popup .toiri-card-size-btn {
    position: relative;
    z-index: 16;
    cursor: pointer;
}

.toiri-card-size-btn:disabled {
    cursor: not-allowed;
}

.toiri-card-details-link {
    display: block;
    position: relative;
    z-index: 2;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.toiri-card-details-link:hover {
    color: inherit;
    text-decoration: none;
}

.toiri-scroll-reveal {
    opacity: 0;
    transform: translateY(14px);
    transition:
        opacity .55s ease,
        transform .55s cubic-bezier(.2, .7, .2, 1);
    transition-delay: var(--toiri-reveal-delay, 0ms);
}

.toiri-scroll-reveal.toiri-scroll-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Keep model layer above the product layer
   when the Product/Model toggle activates it. */

.toiri-image-layer.model-image-layer {
    z-index: 2;
}

/* Product image stays beneath size buttons */

.toiri-image-layer.product-image-layer {
    z-index: 1;
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
    .toiri-scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .toiri-main-card-photo,
    .toiri-image-stack .toiri-hover-gallery-image {
        transition: none;
        transform: none;
    }
}
/* ============================================================
   TOIRI REVIEWS
============================================================ */

.toiri-review-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #fff;
    color: #111;
    font-family:
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;
}


/* ============================================================
   MOVING REVIEW BAR
============================================================ */

.toiri-review-moving-bar {
    width: 100%;
    height: 29px;

    overflow: hidden;

    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;

    background: #fff;
}


.toiri-review-moving-track {
    display: flex;
    align-items: center;

    width: max-content;
    height: 29px;

    animation:
        toiri-review-scroll
        35s
        linear
        infinite;
}


.toiri-review-moving-track span {
    display: inline-block;

    padding: 0 18px;

    font-size: 8px;
    font-weight: 500;

    letter-spacing: .14em;

    line-height: 29px;

    color: #111;

    white-space: nowrap;
}


.toiri-review-moving-dot {
    padding-left: 2px !important;
    padding-right: 2px !important;

    font-size: 9px !important;
}


@keyframes toiri-review-scroll {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }

}



/* ============================================================
   REVIEW HEADER
============================================================ */

.toiri-review-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    padding: 55px 20px 30px;
}


.toiri-review-eyebrow {
    display: block;

    margin-bottom: 9px;

    color: #777;

    font-size: 8px;
    font-weight: 500;

    letter-spacing: .16em;

    text-transform: uppercase;
}


.toiri-review-heading h2 {
    margin: 0;

    color: #111;

    font-size: clamp(25px, 3vw, 46px);

    font-weight: 400;

    line-height: 1;

    letter-spacing: -.035em;

    text-transform: uppercase;
}



/* ============================================================
   REVIEW BUTTON
============================================================ */

.toiri-review-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 43px;

    padding: 0 21px;

    border: 1px solid #111;

    background: #111;

    color: #fff;

    font-size: 8px;
    font-weight: 500;

    letter-spacing: .1em;

    text-decoration: none;

    transition:
        background .2s ease,
        color .2s ease;
}


.toiri-review-button:hover {
    background: #fff;

    color: #111;

    text-decoration: none;
}



/* ============================================================
   SLIDER
============================================================ */

.toiri-review-slider {
    padding: 0 12px 65px;
}



/* SLICK SPACING */

.toiri-review-slider .slick-list {
    overflow: visible;
}


.toiri-review-slider .slick-slide {
    height: auto;

    padding: 0 7px;
}


.toiri-review-slider .slick-track {
    display: flex;
}


.toiri-review-slider .slick-slide > div {
    height: 100%;
}



/* ============================================================
   REVIEW CARD
============================================================ */

.toiri-review-card {
    display: flex !important;
    flex-direction: column;

    justify-content: space-between;

    min-height: 300px;
    height: 100%;

    padding: 24px;

    border: 1px solid #dfdfdf;

    background: #fff;

    color: #111;

    box-shadow: none;
}



/* ============================================================
   RATING
============================================================ */

.toiri-review-rating {
    display: flex;
    align-items: center;

    gap: 2px;

    margin-bottom: 30px;
}


.toiri-review-rating span {
    color: #d5d5d5;

    font-size: 12px;

    line-height: 1;
}


.toiri-review-rating span.active {
    color: #111;
}



/* ============================================================
   REVIEW TEXT
============================================================ */

.toiri-review-text {
    flex: 1;
}


.toiri-review-text p {
    margin: 0;

    color: #111;

    font-size: 15px;

    font-weight: 400;

    line-height: 1.55;

    letter-spacing: -.01em;
}



/* ============================================================
   REVIEW AUTHOR
============================================================ */

.toiri-review-author {
    display: flex;

    align-items: center;

    gap: 11px;

    margin-top: 35px;

    padding-top: 18px;

    border-top: 1px solid #ededed;
}


.toiri-review-avatar {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    border-radius: 50%;

    background: #111;

    color: #fff;

    font-size: 11px;

    font-weight: 500;
}


.toiri-review-author-info {
    display: flex;

    flex-direction: column;

    gap: 3px;
}


.toiri-review-author-info strong {
    color: #111;

    font-size: 9px;

    font-weight: 500;

    letter-spacing: .06em;

    text-transform: uppercase;
}


.toiri-review-author-info span {
    color: #888;

    font-size: 7px;

    letter-spacing: .1em;

    text-transform: uppercase;
}



/* ============================================================
   EMPTY STATE
============================================================ */

.toiri-review-empty {
    min-height: 220px;
}


.toiri-review-empty-link {
    display: inline-block;

    margin-top: 25px;

    color: #111;

    font-size: 8px;

    letter-spacing: .1em;

    text-decoration: underline;
}



/* ============================================================
   SLICK BUTTONS
============================================================ */

.toiri-review-slider .slick-prev,
.toiri-review-slider .slick-next {
    width: 35px;
    height: 35px;

    border: 1px solid #ddd;

    border-radius: 0;

    background: #fff;

    color: #111;

    box-shadow: none;

    z-index: 5;
}


.toiri-review-slider .slick-prev:hover,
.toiri-review-slider .slick-next:hover {
    background: #111;

    color: #fff;
}



/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 767px) {

    .toiri-review-header {
        align-items: flex-start;

        flex-direction: column;

        padding:
            38px
            12px
            22px;
    }


    .toiri-review-heading h2 {
        font-size: 26px;
    }


    .toiri-review-button {
        min-height: 39px;

        padding: 0 17px;
    }


    .toiri-review-slider {
        padding:
            0
            5px
            45px;
    }


    .toiri-review-card {
        min-height: 260px;

        padding: 19px;
    }


    .toiri-review-text p {
        font-size: 13px;
    }

}



/* ============================================================
   REDUCED MOTION
============================================================ */

@media (prefers-reduced-motion: reduce) {

    .toiri-review-moving-track {
        animation: none;
    }

}
/* ============================================================
   TOIRI ABOUT SECTION
============================================================ */

.toiri-about-section {
    position: relative;

    overflow: hidden;

    color: #111;

    font-family:
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;
}


/* ============================================================
   MOVING BAR
============================================================ */

.toiri-about-moving-bar {
    width: 100%;
    height: 29px;

    overflow: hidden;

    background: #fff;

    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}


.toiri-about-moving-track {
    display: flex;

    align-items: center;

    width: max-content;
    height: 29px;

    animation:
        toiri-about-scroll
        40s
        linear
        infinite;
}


.toiri-about-moving-track span {
    display: inline-block;

    padding: 0 18px;

    color: #111;

    font-size: 8px;
    font-weight: 500;

    line-height: 29px;

    letter-spacing: .14em;

    white-space: nowrap;
}


.toiri-about-dot {
    padding-left: 2px !important;
    padding-right: 2px !important;
}


@keyframes toiri-about-scroll {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }

}


/* ============================================================
   BACKGROUND
============================================================ */

.toiri-about-visual {
    position: relative;
    background-repeat: no-repeat;
}


/* ============================================================
   CONTAINER
============================================================ */


/* ============================================================
   SMALL LABEL
============================================================ */

.toiri-about-label {

    padding-bottom: 13px;

    border-bottom: 1px solid rgba(17, 17, 17, .18);
}


.toiri-about-label span {

    text-transform: uppercase;
}


/* ============================================================
   GRID
============================================================ */


/* ============================================================
   HEADING
============================================================ */

.toiri-about-title-wrap h2 {
    max-width: 750px;

    text-transform: uppercase;
}


/* ============================================================
   CONTENT
============================================================ */

.toiri-about-content {

    padding-top: 8px;
}


.toiri-about-welcome {

    font-weight: 400;

    letter-spacing: -.02em;
}


.toiri-about-description {

    font-weight: 400;

    letter-spacing: -.005em;
}


/* ============================================================
   PHILOSOPHY
============================================================ */

.toiri-about-philosophy {

    margin-top: 55px;

    border-top: 1px solid rgba(17, 17, 17, .22);
}


.toiri-about-philosophy-content h3 {

    line-height: 1.25;

    letter-spacing: .06em;

    text-transform: uppercase;
}


/* ============================================================
   TABLET
============================================================ */

@media (max-width: 991px) {

    .toiri-about-visual {
        min-height: auto;
    }


    .toiri-about-container {
        padding:
            50px
            18px
            60px;
    }


    .toiri-about-label {
        margin-bottom: 38px;
    }


    .toiri-about-grid {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(280px, .9fr);

        gap: 45px;
    }


    .toiri-about-title-wrap h2 {
        font-size:
            clamp(
                45px,
                7vw,
                75px
            );
    }

}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 767px) {

    .toiri-about-visual {

        background-position: center;

        /*
        Stronger white overlay on mobile
        so background doesn't hurt readability.
        */
    }


    .toiri-about-label {

        padding-bottom: 10px;
    }


    .toiri-about-grid {
        display: block;
    }


    .toiri-about-title-wrap {
        margin-bottom: 38px;
    }


    .toiri-about-title-wrap h2 {
        max-width: 100%;

        line-height: .94;

        letter-spacing: -.05em;
    }


    .toiri-about-content {
        max-width: 100%;

        padding: 0;
    }


    .toiri-about-welcome {
        margin-bottom: 18px;

        line-height: 1.4;
    }


    .toiri-about-description {

        line-height: 1.65;
    }


    .toiri-about-philosophy {
        grid-template-columns:
            30px
            1fr;

        gap: 12px;

        margin-top: 35px;

        padding-top: 17px;
    }


    .toiri-about-philosophy-content h3 {
        font-size: 13px;
    }


    .toiri-about-philosophy-content p {
        font-size: 11px;

        line-height: 1.65;
    }

}


/* ============================================================
   VERY SMALL MOBILE
============================================================ */

@media (max-width: 390px) {

    .toiri-about-title-wrap h2 {
        font-size: 40px;
    }


    .toiri-about-welcome {
        font-size: 15px;
    }

}


/* ============================================================
   REDUCED MOTION
============================================================ */

@media (prefers-reduced-motion: reduce) {

    .toiri-about-moving-track {
        animation: none;
    }

}

/* ============================================================
   CHECKOUT
============================================================ */

.toiri-checkout-page {
    padding: 55px 20px 80px;
    background: #fff;
    color: #111;

    font-family:
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;
}

.toiri-checkout-header {
    margin-bottom: 45px;
}

.toiri-checkout-eyebrow {
    display: block;
    margin-bottom: 8px;

    color: #777;

    font-size: 8px;
    letter-spacing: .16em;
}

.toiri-checkout-header h1 {
    margin: 0;

    font-size:
        clamp(
            34px,
            5vw,
            68px
        );

    font-weight: 400;

    letter-spacing: -.045em;

    line-height: .95;
}

.toiri-checkout-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(360px, 480px);

    gap: 60px;
}

.toiri-checkout-section-title {
    margin-bottom: 20px;

    padding-bottom: 12px;

    border-bottom:
        1px solid #ddd;

    font-size: 9px;

    font-weight: 500;

    letter-spacing: .12em;
}

.toiri-checkout-field {
    margin-bottom: 20px;
}

.toiri-checkout-field label {
    display: block;

    margin-bottom: 7px;

    color: #444;

    font-size: 8px;

    letter-spacing: .1em;
}

.toiri-checkout-field label span {
    color: #999;
}

.toiri-checkout-field input,
.toiri-checkout-field textarea {
    width: 100%;

    padding: 12px 0;

    border: 0;
    border-bottom:
        1px solid #bbb;

    border-radius: 0;

    background: transparent;

    color: #111;

    font: inherit;

    font-size: 13px;

    outline: none;
}

.toiri-checkout-field input:focus,
.toiri-checkout-field textarea:focus {
    border-color: #111;
}

.toiri-checkout-block {
    margin-top: 40px;
}

.toiri-checkout-option {
    display: flex;

    align-items: flex-start;

    gap: 12px;

    padding: 16px 0;

    border-bottom:
        1px solid #e6e6e6;

    cursor: pointer;
}

.toiri-checkout-option input {
    margin-top: 3px;
}

.toiri-checkout-option span {
    display: flex;

    flex-direction: column;

    gap: 4px;
}

.toiri-checkout-option strong {
    font-size: 9px;

    letter-spacing: .08em;
}

.toiri-checkout-option small {
    color: #777;

    font-size: 10px;
}

.toiri-bkash-fields {
    margin-top: 25px;

    padding: 20px;

    background: #f7f7f7;
}

/* SUMMARY */

.toiri-checkout-summary {
    align-self: start;

    padding: 24px;

    border: 1px solid #ddd;
}

.toiri-checkout-item {
    display: grid;

    grid-template-columns:
        65px
        minmax(0,1fr)
        auto;

    gap: 12px;

    padding: 14px 0;

    border-bottom:
        1px solid #eee;
}

.toiri-checkout-item-image img {
    display: block;

    width: 65px;

    aspect-ratio: 3 / 4;

    object-fit: cover;
}

.toiri-checkout-item-info {
    display: flex;

    flex-direction: column;

    gap: 4px;
}

.toiri-checkout-item-info strong {
    font-size: 10px;
}

.toiri-checkout-item-info span {
    color: #777;

    font-size: 9px;
}

.toiri-checkout-item-price {
    font-size: 10px;
}

.toiri-checkout-totals {
    margin-top: 20px;
}

.toiri-checkout-totals > div {
    display: flex;

    justify-content:
        space-between;

    padding: 9px 0;

    font-size: 9px;
}

.toiri-checkout-totals .total {
    margin-top: 8px;

    padding-top: 16px;

    border-top:
        1px solid #111;

    font-size: 11px;
}

.toiri-place-order-button {
    width: 100%;

    min-height: 50px;

    margin-top: 20px;

    border: 1px solid #111;

    background: #111;

    color: #fff;

    font-size: 9px;

    letter-spacing: .1em;

    cursor: pointer;
}

.toiri-place-order-button:disabled {
    opacity: .45;

    cursor: not-allowed;
}

.toiri-checkout-note {
    margin-top: 12px;

    color: #888;

    font-size: 9px;

    line-height: 1.5;
}

/* MOBILE */

@media (max-width: 767px) {

    .toiri-checkout-page {
        padding:
            35px
            12px
            55px;
    }

    .toiri-checkout-grid {
        display: flex;

        flex-direction: column;

        gap: 40px;
    }

    .toiri-checkout-summary {
        padding: 16px;
    }

    .toiri-checkout-item {
        grid-template-columns:
            55px
            minmax(0,1fr);

        position: relative;
    }

    .toiri-checkout-item-image img {
        width: 55px;
    }

    .toiri-checkout-item-price {
        grid-column: 2;
    }

}
.toiri-cart-checkout {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 50px;

    border: 1px solid #111;

    background: #111;
    color: #fff;

    font-size: 10px;
    font-weight: 500;
    letter-spacing: .08em;

    text-decoration: none;
    cursor: pointer;
}

.toiri-cart-checkout:hover {
    background: #fff;
    color: #111;
    text-decoration: none;
}

/* ============================================================
   CHECKOUT BACKDROP
============================================================ */

.toiri-checkout-overlay {
    position: fixed;
    inset: 0;

    z-index: 120000;

    background: rgba(0, 0, 0, .34);

    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity .25s ease,
        visibility .25s ease;
}

.toiri-checkout-overlay.active {
    opacity: 1;
    visibility: visible;
}


/* ============================================================
   PAYMENT WINDOW
============================================================ */

.toiri-checkout-modal {
    position: fixed;

    top: 50%;
    left: 50%;

    z-index: 120001;

    display: flex;
    flex-direction: column;

    width: min(670px, calc(100vw - 30px));

    height: min(94vh, 860px);

    overflow: hidden;

    background: #f5f6f7;

    border-radius: 0;

    color: #111;

    font-family:
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;

    opacity: 0;
    visibility: hidden;

    transform:
        translate(-50%, -48%);

    transition:
        opacity .25s ease,
        transform .25s ease,
        visibility .25s ease;
}

.toiri-checkout-modal.active {
    opacity: 1;
    visibility: visible;

    transform:
        translate(-50%, -50%);
}


/* HEADER */

.toiri-pay-header {
    flex: 0 0 auto;

    display: flex;

    align-items: center;
    justify-content: space-between;

    height: 55px;

    padding:
        0
        24px;

    border-bottom:
        1px solid #ddd;

    background: #f7f7f7;
}

.toiri-pay-header h2 {
    margin: 0;

    font-size: 20px;
    font-weight: 400;

    letter-spacing: -.03em;
}

.toiri-pay-close {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    padding: 0;

    border: 0;

    border-radius: 50%;

    background: #fff;

    color: #777;

    font-size: 24px;

    cursor: pointer;
}


/* SCROLL */

.toiri-pay-scroll {
    flex: 1;

    min-height: 0;

    overflow-y: auto;

    padding:
        20px
        24px
        35px;
}

.toiri-pay-scroll::-webkit-scrollbar {
    width: 7px;
}

.toiri-pay-scroll::-webkit-scrollbar-thumb {
    border-radius: 10px;

    background: #888;
}


/* ============================================================
   SECTIONS
============================================================ */

.toiri-pay-section {
    margin-bottom: 33px;
}

.toiri-pay-step-title {
    display: flex;

    align-items: center;

    gap: 11px;

    margin-bottom: 17px;

    color: #686d73;

    font-size: 10px;
    font-weight: 600;

    letter-spacing: .20em;
}

.toiri-pay-step-number {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 25px;
    height: 25px;

    flex: 0 0 25px;

    border: 1px solid #cdd0d3;

    border-radius: 50%;

    color: #888;

    font-size: 9px;

    letter-spacing: 0;
}


/* ============================================================
   INPUTS
============================================================ */

.toiri-pay-field {
    margin-bottom: 15px;
}

.toiri-pay-field label {
    display: block;

    margin:
        0
        0
        7px;

    color: #737980;

    font-size: 8px;
    font-weight: 600;

    letter-spacing: .18em;
}

.toiri-pay-field label span {
    color: #aaa;
}

.toiri-pay-field input,
.toiri-pay-field textarea {
    display: block;

    width: 100%;

    padding:
        14px
        16px;

    border: 1px solid #d1d6da;

    border-radius: 28px;

    outline: none;

    background: #f1f5f7;

    font: inherit;

    font-size: 13px;

    resize: none;
}

.toiri-pay-field textarea {
    border-radius: 23px;
}


/* ============================================================
   DELIVERY SWITCH
============================================================ */

.toiri-pay-segment {
    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 7px;
}

.toiri-delivery-option {
    min-height: 48px;

    border:
        1px solid #d3d5d7;

    border-radius: 28px;

    background: transparent;

    color: #747a81;

    font-size: 9px;
    font-weight: 600;

    letter-spacing: .04em;

    cursor: pointer;
}

.toiri-delivery-option.active {
    border-color: #08090d;

    background: #08090d;

    color: #fff;
}

.toiri-delivery-small {
    margin:
        9px
        0
        0;

    color: #747a80;

    font-size: 10px;
}


/* ============================================================
   PAYMENT CARDS
============================================================ */

.toiri-payment-card {
    position: relative;

    display: flex;

    width: 100%;

    margin-bottom: 13px;

    padding:
        18px
        16px;

    border:
        1px solid #d5d7d9;

    border-radius: 25px;

    background: rgba(255,255,255,.15);

    color: #111;

    text-align: left;

    cursor: pointer;
}

.toiri-payment-card.active {
    border: 2px solid #0b0c10;
}

.toiri-payment-circle {
    position: absolute;

    top: 18px;
    right: 18px;

    width: 20px;
    height: 20px;

    border:
        1px solid #d2d2d2;

    border-radius: 50%;
}

.toiri-payment-card.active
.toiri-payment-circle {
    border-color: #0b0c10;

    background: #0b0c10;
}

.toiri-payment-card.active
.toiri-payment-circle::after {
    content: "";

    position: absolute;

    top: 50%;
    left: 50%;

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: #fff;

    transform:
        translate(-50%, -50%);
}

.toiri-payment-card-body {
    width: 100%;

    padding-right: 25px;
}

.toiri-payment-card-body h3 {
    margin:
        0
        0
        7px;

    font-size: 14px;
    font-weight: 600;
}

.toiri-payment-card-body p {
    margin:
        0
        0
        15px;

    max-width: 510px;

    color: #686d73;

    font-size: 10px;

    line-height: 1.5;
}

.toiri-payment-line {
    height: 1px;

    margin-bottom: 12px;

    background: #ddd;
}

.toiri-payment-row {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-top: 4px;

    color: #626970;

    font-size: 9px;

    letter-spacing: .08em;
}

.toiri-payment-row strong {
    color: #111;

    font-size: 13px;
}

.toiri-payment-row.secondary {
    letter-spacing: 0;
}


/* ============================================================
   BKASH PAYMENT BOX
============================================================ */

.toiri-bkash-payment-box {
    margin-bottom: 16px;

    padding:
        19px
        20px;

    border:
        1px solid rgba(200, 71, 71, .42);

    border-radius: 27px;
}

.toiri-bkash-payment-box p {
    margin:
        0
        0
        17px;

    color: #31353a;

    font-size: 13px;

    line-height: 1.45;
}

.toiri-bkash-copy-row {
    display: flex;

    align-items: center;

    gap: 9px;
}

.toiri-bkash-number {
    display: flex;

    align-items: center;
    justify-content: center;

    flex: 1;

    min-width: 0;

    min-height: 54px;

    border:
        1px solid #ddd;

    border-radius: 30px;

    background: #fff;

    color: #20242a;

    font-size: 18px;
}

.toiri-payment-review {
    margin:
        -3px
        0
        0;

    color: #6c7278;

    font-size: 10px;

    line-height: 1.45;
}


/* ============================================================
   SUMMARY
============================================================ */

.toiri-payment-summary {
    margin-bottom: 27px;

    padding:
        19px
        16px;

    border:
        1px solid #d3d6d8;

    border-radius: 27px;
}

.toiri-summary-heading {
    margin-bottom: 16px;

    color: #697078;

    font-size: 8px;
    font-weight: 600;

    letter-spacing: .20em;
}

.toiri-summary-row {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 3px 0;

    color: #555c63;

    font-size: 13px;
}

.toiri-summary-row strong {
    color: #111;

    font-weight: 400;
}

.toiri-summary-divider {
    height: 1px;

    margin:
        10px
        0
        15px;

    background: #d4d6d8;
}

.toiri-summary-total {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.toiri-summary-total span {
    color: #555c63;

    font-size: 12px;

    letter-spacing: .08em;
}

.toiri-summary-total strong {
    color: #111;

    font-size: 24px;
    font-weight: 400;
}

.toiri-summary-advance {
    margin-top: 15px;

    padding:
        12px
        15px;

    border:
        1px solid rgba(200, 71, 71, .38);

    border-radius: 21px;
}

.toiri-copy-bkash {
    min-width: 76px;
    min-height: 48px;

    padding: 0 16px;

    border: 1px solid #d7d7d7;
    border-radius: 28px;

    background: #ffffff;

    color: #111 !important;

    font-size: 9px;
    font-weight: 600;
    letter-spacing: .06em;

    cursor: pointer;

    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease;
}

.toiri-copy-bkash:hover {
    background: #f1f1f1;

    border-color: #bbb;

    color: #111 !important;
}
.toiri-summary-advance > div {
    display: flex;

    justify-content: space-between;

    gap: 20px;

    padding: 3px 0;

    color: #60666c;

    font-size: 12px;
}

.toiri-summary-advance strong {
    color: #111;

    font-weight: 400;
}


/* ============================================================
   AGREEMENT
============================================================ */
/* ============================================================
   PREMIUM ORDER CONFIRMATION
============================================================ */

.toiri-order-agreement {
    display: flex;

    align-items: flex-start;

    gap: 13px;

    padding: 17px 18px;

    border: 1px solid #d9dcdf;

    border-radius: 22px;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.9),
            rgba(248,249,250,.8)
        );

    cursor: pointer;

    transition:
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.toiri-order-agreement:hover {
    border-color: #bfc3c7;

    background: #fff;

    box-shadow:
        0 8px 24px
        rgba(0,0,0,.04);
}


/* HIDE DEFAULT CHECKBOX */

.toiri-agreement-check-wrap {
    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 22px;
    height: 22px;

    flex: 0 0 22px;

    margin-top: 1px;
}

.toiri-agreement-check-wrap input {
    position: absolute;

    width: 100%;
    height: 100%;

    margin: 0;

    opacity: 0;

    cursor: pointer;

    z-index: 2;
}


/* CUSTOM CHECKBOX */

.toiri-custom-check {
    position: absolute;

    inset: 0;

    border: 1px solid #bfc3c7;

    border-radius: 6px;

    background: #fff;

    transition:
        background .2s ease,
        border-color .2s ease;
}


/* CHECKMARK */

.toiri-agreement-check-wrap input:checked
+ .toiri-custom-check {
    border-color: #111;

    background: #111;
}

.toiri-agreement-check-wrap input:checked
+ .toiri-custom-check::after {
    content: "";

    position: absolute;

    left: 7px;
    top: 3px;

    width: 5px;
    height: 10px;

    border: solid #fff;

    border-width:
        0
        2px
        2px
        0;

    transform:
        rotate(45deg);
}


/* TEXT */

.toiri-agreement-content {
    display: flex;

    flex-direction: column;

    gap: 4px;

    min-width: 0;
}

.toiri-agreement-content strong {
    color: #111 !important;

    font-size: 9px;

    font-weight: 600;

    letter-spacing: .12em;
}

.toiri-agreement-content small {
    color: #74797f !important;

    font-size: 10px;

    line-height: 1.55;
}


/* SELECTED STATE */

.toiri-order-agreement:has(
    .toiri-agreement-check-wrap input:checked
) {
    border-color: #111;

    background: #fff;
}

/* ============================================================
   FIXED BOTTOM BAR
============================================================ */

.toiri-pay-footer {
    flex: 0 0 auto;

    padding:
        16px
        24px;

    border-top:
        1px solid #ddd;

    background: #fff;
}

.toiri-pay-footer button {
    width: 100%;

    min-height: 54px;

    border: 0;

    border-radius: 30px;

    background: #090a0e;

    color: #fff;

    font-size: 13px;
    font-weight: 600;

    cursor: pointer;
}

.toiri-pay-footer button:disabled {
    opacity: .45;

    cursor: not-allowed;
}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 600px) {

    .toiri-checkout-modal {
        top: 0;
        left: 0;

        width: 100%;
        height: 100%;

        max-height: none;

        border-radius: 0;

        transform:
            translateY(20px);
    }

    .toiri-checkout-modal.active {
        transform:
            translateY(0);
    }

    .toiri-pay-header {
        height: 52px;

        padding:
            0
            14px;
    }

    .toiri-pay-header h2 {
        font-size: 18px;
    }

    .toiri-pay-scroll {
        padding:
            16px
            13px
            25px;
    }

    .toiri-pay-section {
        margin-bottom: 28px;
    }

    .toiri-pay-segment {
        gap: 6px;
    }

    .toiri-delivery-option {
        min-height: 44px;

        font-size: 8px;
    }

    .toiri-payment-card {
        padding:
            16px
            14px;

        border-radius: 22px;
    }

    .toiri-bkash-payment-box {
        padding:
            15px;

        border-radius: 22px;
    }

    .toiri-bkash-number {
        min-height: 48px;

        font-size: 14px;
    }

    .toiri-copy-bkash {
        min-width: 66px;

        min-height: 44px;
    }

    .toiri-payment-summary {
        padding:
            17px
            14px;

        border-radius: 22px;
    }

    .toiri-pay-footer {
        padding:
            11px
            13px;
    }

    .toiri-pay-footer button {
        min-height: 51px;

        font-size: 12px;
    }

}
.toiri-pay-field input,
.toiri-pay-field textarea {
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.8);

    transition:
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.toiri-pay-field input:focus,
.toiri-pay-field textarea:focus {
    border-color: #7f858b;

    background: #fff;

    box-shadow:
        0 0 0 3px
        rgba(17,17,17,.04);
}


.toiri-payment-card {
    transition:
        border-color .2s ease,
        background .2s ease,
        transform .2s ease;
}

.toiri-payment-card:hover {
    background: rgba(255,255,255,.55);
}

.toiri-payment-card.active {
    background: #fff;
}


.toiri-payment-summary {
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.65),
            rgba(255,255,255,.25)
        );
}


.toiri-summary-total strong {
    letter-spacing: -.04em;
}


.toiri-bkash-payment-box {
    background:
        linear-gradient(
            180deg,
            rgba(255,245,245,.86),
            rgba(255,240,240,.45)
        );
}


.toiri-pay-footer {
    box-shadow:
        0 -10px 30px
        rgba(0,0,0,.04);
}


.toiri-pay-footer button {
    transition:
        transform .15s ease,
        opacity .15s ease;
}

.toiri-pay-footer button:not(:disabled):active {
    transform: scale(.992);
}
/* ============================================================
   CHECKOUT COLOR OVERRIDE
============================================================ */

.toiri-checkout-modal,
.toiri-checkout-modal * {
    color: #111;
}

.toiri-checkout-modal a {
    color: #111 !important;
    text-decoration: none;
}

.toiri-checkout-modal a:hover,
.toiri-checkout-modal a:focus {
    color: #111 !important;
}

.toiri-pay-step-title,
.toiri-pay-field label,
.toiri-delivery-small,
.toiri-payment-card-body p,
.toiri-payment-review,
.toiri-summary-row,
.toiri-summary-total span,
.toiri-order-agreement span {
    color: #666 !important;
}

.toiri-payment-card-body h3,
.toiri-payment-row strong,
.toiri-summary-row strong,
.toiri-summary-total strong,
.toiri-summary-advance strong,
.toiri-bkash-payment-box strong {
    color: #111 !important;
}

.toiri-payment-card,
.toiri-delivery-option,
.toiri-copy-bkash,
.toiri-pay-footer button {
    -webkit-tap-highlight-color: transparent;
}

.toiri-pay-field input,
.toiri-pay-field textarea {
    color: #111 !important;
}

.toiri-pay-field input::placeholder,
.toiri-pay-field textarea::placeholder {
    color: #9a9a9a !important;
    opacity: 1;
}


/* ============================================================
   CHECKOUT MESSAGE
============================================================ */

.toiri-checkout-message {
    display: none;

    margin-bottom: 20px;

    padding: 13px 15px;

    border-radius: 16px;

    font-size: 11px;

    line-height: 1.45;
}

.toiri-checkout-message.error {
    display: block;

    border: 1px solid #e4bcbc;

    background: #fff5f5;

    color: #8d2222 !important;
}

.toiri-checkout-message.success {
    display: block;

    border: 1px solid #cbd8ce;

    background: #f5faf6;

    color: #275a32 !important;
}


/* ============================================================
   CHECKOUT SUCCESS
============================================================ */

.toiri-checkout-success {
    padding:
        45px
        10px;

    text-align: center;
}

.toiri-checkout-success-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;

    margin:
        0
        auto
        22px;

    border-radius: 50%;

    background: #111;

    color: #fff !important;

    font-size: 22px;
}

.toiri-checkout-success-label {
    display: block;

    margin-bottom: 12px;

    color: #777 !important;

    font-size: 8px;

    font-weight: 600;

    letter-spacing: .2em;
}

.toiri-checkout-success h2 {
    margin:
        0
        0
        12px;

    color: #111 !important;

    font-size: 28px;

    font-weight: 400;

    letter-spacing: -.04em;
}

.toiri-checkout-success > p {
    max-width: 440px;

    margin:
        0
        auto
        28px;

    color: #666 !important;

    font-size: 11px;

    line-height: 1.6;
}

.toiri-success-order-number {
    padding:
        18px;

    border:
        1px solid #d7d9db;

    border-radius: 20px;

    background: #fff;
}

.toiri-success-order-number span {
    display: block;

    margin-bottom: 7px;

    color: #888 !important;

    font-size: 8px;

    letter-spacing: .16em;
}

.toiri-success-order-number strong {
    color: #111 !important;

    font-size: 18px;

    font-weight: 500;

    letter-spacing: .05em;
}

.toiri-success-summary {
    margin-top: 15px;

    padding:
        15px
        17px;

    border:
        1px solid #d7d9db;

    border-radius: 20px;
}

.toiri-success-summary > div {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding:
        5px
        0;

    color: #666 !important;

    font-size: 11px;
}

.toiri-success-summary strong {
    color: #111 !important;

    font-weight: 500;
}

.toiri-success-note {
    margin-top: 20px !important;
}
.toiri-go-checkout {
    border-radius: 0 !important;

    font-size: 10px !important;
    font-weight: 600 !important;
    letter-spacing: .10em !important;
}

.toiri-go-checkout:hover {
    background: #fff !important;
    color: #111 !important;
}
/* ============================================================
   CART CHECKOUT CLICK FIX
============================================================ */

.toiri-cart-drawer {
    position: fixed;
    z-index: 100001 !important;
}

.toiri-cart-overlay {
    z-index: 100000 !important;
}

.toiri-go-checkout {
    position: relative !important;
    z-index: 100010 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    min-height: 52px !important;

    pointer-events: auto !important;

    background: #111 !important;
    color: #fff !important;

    border: 1px solid #111 !important;

    text-decoration: none !important;

    cursor: pointer !important;
}

.toiri-go-checkout * {
    pointer-events: none !important;
}
/* ============================================================
   FINAL CART DRAWER LAYOUT FIX
   Keeps CHECKOUT footer inside the visible viewport
============================================================ */

#toiri-cart-drawer {

    height: 100vh !important;
    height: 100dvh !important;
}


/* HEADER MUST NOT GROW OR SHRINK */

#toiri-cart-drawer .toiri-cart-drawer-header {
    flex: 0 0 auto !important;
}


/* CRITICAL FIX:
   body is allowed to shrink and scroll
   instead of pushing footer outside viewport
*/

#toiri-cart-drawer .toiri-cart-drawer-body {
    flex: 1 1 auto !important;

    min-height: 0 !important;
    min-width: 0 !important;

    overflow-y: auto !important;
    overflow-x: hidden !important;

    -webkit-overflow-scrolling: touch;
}


/* FOOTER ALWAYS REMAINS VISIBLE */

#toiri-cart-drawer .toiri-cart-drawer-footer {
    position: relative !important;

    flex: 0 0 auto !important;

    width: 100% !important;

    padding: 20px !important;

    border-top: 1px solid #ddd !important;

    background: #fff !important;

    z-index: 10 !important;

    pointer-events: auto !important;
}


/* CHECKOUT BUTTON */


/* CART BACKDROP */


/* HIDDEN CHECKOUT ELEMENTS MUST NEVER BLOCK CART */

#toiri-checkout-overlay:not(.active),
#toiri-checkout-modal:not(.active) {
    pointer-events: none !important;
}


/* MOBILE */

@media (max-width: 575px) {

}
/* ============================================================
   TOIRI DEDICATED CHECKOUT PAGE
============================================================ */

.toiri-checkout-page-shell {
    min-height: 100vh;

    padding:
        40px
        20px
        80px;

    background: #f4f4f2;

    font-family:
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;
}


.toiri-checkout-page-container {
    width: 100%;

    max-width: 760px;

    margin: 0 auto;
}


.toiri-checkout-page-topbar {
    display: grid;

    grid-template-columns:
        1fr
        auto
        1fr;

    align-items: center;

    margin-bottom: 16px;

    min-height: 40px;
}


.toiri-checkout-back {
    justify-self: start;

    color: #111;

    font-size: 9px;

    font-weight: 500;

    letter-spacing: .10em;

    text-decoration: none;
}


.toiri-checkout-back:hover {
    color: #111;

    text-decoration: underline;
}


.toiri-checkout-page-title {
    justify-self: center;

    color: #111;

    font-size: 11px;

    font-weight: 600;

    letter-spacing: .14em;
}


.toiri-checkout-page-security {
    justify-self: end;

    color: #777;

    font-size: 8px;

    letter-spacing: .10em;
}


/*
 * Turn the old modal component into a normal checkout card.
 */

#toiri-checkout-modal.toiri-checkout-page-modal {
    position: relative !important;

    top: auto !important;
    left: auto !important;

    width: 100% !important;
    height: auto !important;

    max-height: none !important;

    display: flex !important;

    flex-direction: column !important;

    opacity: 1 !important;

    visibility: visible !important;

    pointer-events: auto !important;

    transform: none !important;

    overflow: hidden !important;

    margin: 0 auto !important;

    background: #f7f7f7 !important;

    border:
        1px solid
        #dedede !important;

    box-shadow:
        0 18px 55px
        rgba(0, 0, 0, .06);

    z-index: 1 !important;
}


/*
 * Page checkout must scroll naturally.
 */

#toiri-checkout-modal.toiri-checkout-page-modal
.toiri-pay-scroll {
    flex: none !important;

    max-height: none !important;

    overflow: visible !important;
}


/*
 * Place order remains easy to reach.
 */

#toiri-checkout-modal.toiri-checkout-page-modal
.toiri-pay-footer {
    position: sticky;

    bottom: 0;

    z-index: 20;

    background: rgba(255,255,255,.96);

    backdrop-filter: blur(12px);
}


/* No modal backdrop on dedicated page */

body:has(.toiri-checkout-page-shell)
#toiri-checkout-overlay {
    display: none !important;
}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 600px) {

    .toiri-checkout-page-shell {
        padding:
            0
            0
            40px;
    }


    .toiri-checkout-page-container {
        max-width: none;
    }


    .toiri-checkout-page-topbar {
        min-height: 50px;

        margin: 0;

        padding:
            0
            14px;

        border-bottom:
            1px solid
            #e1e1e1;

        background: #fff;
    }


    .toiri-checkout-page-security {
        display: none;
    }


    .toiri-checkout-page-topbar {
        grid-template-columns:
            1fr
            auto;
    }


    #toiri-checkout-modal.toiri-checkout-page-modal {
        top: auto !important;
        left: auto !important;

        width: 100% !important;

        min-height: calc(100vh - 50px);

        border: 0 !important;

        box-shadow: none;

        transform: none !important;
    }


    #toiri-checkout-modal.toiri-checkout-page-modal
    .toiri-pay-scroll {
        padding-bottom: 30px;
    }

}
/* ============================================================
   TOIRI CANONICAL CART DRAWER
============================================================ */

#toiri-cart-overlay {
    position: fixed !important;

    inset: 0 !important;

    z-index: 100000 !important;

    background: rgba(0, 0, 0, .35) !important;

    opacity: 0 !important;
    visibility: hidden !important;

    pointer-events: none !important;

    transition:
        opacity .25s ease,
        visibility .25s ease !important;
}


#toiri-cart-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;

    pointer-events: auto !important;
}


/* ============================================================
   DRAWER
============================================================ */

#toiri-cart-drawer {
    position: fixed !important;

    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;

    width: 420px !important;
    max-width: 100vw !important;

    height: 100vh !important;
    height: 100dvh !important;

    margin: 0 !important;

    display: flex !important;
    flex-direction: column !important;

    overflow: hidden !important;

    background: #fff !important;

    transform: translateX(100%) !important;

    transition:
        transform .3s ease !important;

    z-index: 100001 !important;

    pointer-events: auto !important;
}


#toiri-cart-drawer.active {
    transform: translateX(0) !important;
}


/* ============================================================
   HEADER
============================================================ */

#toiri-cart-drawer
.toiri-cart-drawer-header {
    flex: 0 0 auto !important;

    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    padding: 20px !important;

    border-bottom:
        1px solid #ddd !important;

    background: #fff !important;
}


#toiri-cart-drawer
.toiri-cart-drawer-header h3 {
    margin: 0 !important;

    color: #111 !important;

    font-size: 13px !important;
    font-weight: 500 !important;

    letter-spacing: .08em !important;
}


#toiri-cart-drawer
.toiri-cart-count {
    margin-left: 5px !important;
}


#toiri-cart-close {
    appearance: none !important;

    padding: 0 !important;

    border: 0 !important;

    background: transparent !important;

    color: #111 !important;

    font-size: 27px !important;

    line-height: 1 !important;

    cursor: pointer !important;

    pointer-events: auto !important;
}


/* ============================================================
   BODY

   min-height:0 is essential. It keeps footer inside viewport.
============================================================ */

#toiri-cart-drawer
.toiri-cart-drawer-body {
    flex: 1 1 auto !important;

    min-height: 0 !important;
    min-width: 0 !important;

    padding: 20px !important;

    overflow-y: auto !important;
    overflow-x: hidden !important;

    -webkit-overflow-scrolling: touch;
}


/* ============================================================
   FOOTER
============================================================ */

#toiri-cart-drawer
.toiri-cart-drawer-footer {
    position: relative !important;

    flex: 0 0 auto !important;

    width: 100% !important;

    padding: 20px !important;

    box-sizing: border-box !important;

    border-top:
        1px solid #ddd !important;

    background: #fff !important;

    z-index: 10 !important;

    pointer-events: auto !important;
}


/* ============================================================
   SUBTOTAL
============================================================ */

#toiri-cart-drawer
.toiri-cart-subtotal {
    display: flex !important;

    align-items: center !important;
    justify-content: space-between !important;

    width: 100% !important;

    margin-bottom: 15px !important;

    color: #111 !important;

    font-size: 11px !important;
}


/* ============================================================
   CHECKOUT BUTTON
============================================================ */

#toiri-direct-checkout {
    position: relative !important;

    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    min-height: 52px !important;

    padding:
        0
        16px !important;

    box-sizing: border-box !important;

    border:
        1px solid #111 !important;

    border-radius: 0 !important;

    background: #111 !important;

    color: #fff !important;

    font-family:
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif !important;

    font-size: 10px !important;
    font-weight: 600 !important;

    letter-spacing: .10em !important;

    text-decoration: none !important;

    cursor: pointer !important;

    pointer-events: auto !important;

    z-index: 20 !important;
}


#toiri-direct-checkout:hover {
    background: #fff !important;

    color: #111 !important;

    text-decoration: none !important;
}


#toiri-direct-checkout:focus {
    outline:
        1px solid #111 !important;

    outline-offset:
        2px !important;
}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 575px) {


    #toiri-cart-drawer
    .toiri-cart-drawer-body {
        padding:
            14px !important;
    }


    #toiri-cart-drawer
    .toiri-cart-drawer-footer {
        padding:
            14px !important;
    }

}
/* ============================================================
   MOBILE CART WIDTH = 50%
============================================================ */

@media (max-width: 575px) {

    #toiri-cart-drawer {
        width: 50vw !important;
        max-width: 50vw !important;
    }

}


    .toiri-product-detail-page {
        position: relative;
    }

    .toiri-product-top-back {
        position: absolute;
        top: 20px;
        right: 28px;
        z-index: 20;

        display: inline-flex;
        align-items: center;
        gap: 7px;

        padding: 0;

        border: 0;
        background: transparent;

        color: #111;

        font-family:
            "Helvetica Neue",
            Helvetica,
            Arial,
            sans-serif;

        font-size: 11px;
        font-weight: 500;
        letter-spacing: 0.12em;

        cursor: pointer;

        transition:
            opacity 0.2s ease,
            transform 0.2s ease;
    }

    .toiri-product-top-back:hover {
        opacity: 0.55;
        transform: translateX(-2px);
    }

    .toiri-product-top-back span {
        font-size: 17px;
        line-height: 1;
    }

    @media (max-width: 768px) {

        .toiri-product-top-back {
            top: 14px;
            right: 16px;
            font-size: 10px;
        }

    }


/* =========================================================
   FORCE HERO BEHIND FLOATING HEADER
========================================================= */

/* remove any page spacing */
html,
body {
    margin: 0 !important;
    padding: 0 !important;
}



/* floating header overlays hero */
.toiri-fashion-header {

    top: 28px !important;
    left: 0 !important;

    width: 100% !important;

    z-index: 9990 !important;

    margin: 0 !important;
}


/* rounded header itself */
.toiri-fashion-header-inner {
    margin: 0 auto !important;

    border-radius: 999px !important;
}


/* hero must begin at very top of viewport */
#l3d {

    width: 100% !important;

    margin-top: 0 !important;
    padding-top: 0 !important;
}


/* hero background fills hero */
#l3d .l3d-bg {
    position: absolute !important;

    inset: 0 !important;

    width: 100% !important;
    height: 100% !important;
}


/* image */
#l3d .l3d-bg.img {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}


/* video */
#l3d .l3d-bg video {
    width: 100% !important;
    height: 100% !important;

    object-fit: cover !important;
    object-position: center center !important;
}


/* common wrappers that may be pushing hero down */
main,
.content,
.page-content,
.main-content,
.wrapper,
.toiri-main-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}    
/* =========================================================
   MOVING TOIRII BAR
   Normal page element — does NOT follow scrolling
========================================================= */

/* =========================================================
   MOVING BAR
========================================================= */

.toiri-moving-bar {
    position: relative !important;

    width: 100%;

    z-index: 20;

    margin: 0;

    overflow: hidden;

    background: #111;
}


/* =========================================================
   FLOATING HEADER
   Follows user while scrolling
========================================================= */

/* =========================================================
   FLOATING HEADER
========================================================= */

.toiri-fashion-header {
    position: fixed !important;

    /*
     * Initially JS sets this below the moving bar.
     */
    top: var(--toirii-header-top, 52px);

    left: 0;

    width: 100%;

    z-index: 9990;

    padding: 0 18px;

    margin: 0;

    background: transparent !important;

    pointer-events: none;

    transition:
        top 0.35s ease;
}


/*
 * AFTER MOVING BAR SCROLLS AWAY
 */
.toiri-fashion-header.toirii-header-scrolled {
    top: 10px !important;
}

.toiri-fashion-header-inner {
    width: 100%;
    max-width: 1380px;

    margin: 0 auto;

    padding: 0 22px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-radius: 999px;

    background: rgba(255, 255, 255, 0.92);

    border: 1px solid rgba(0, 0, 0, 0.08);

    box-shadow:
        0 8px 28px
        rgba(0, 0, 0, 0.08);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    pointer-events: auto;
}
@media (max-width: 767px) {

    .toiri-fashion-header {
        padding: 0 10px;
    }

    .toiri-fashion-header.toirii-header-scrolled {
        top: 10px !important;
    }

}

/* =========================================================
   HERO HEIGHT + STICKY BACKGROUND EFFECT
========================================================= */

/*
 * Make the first hero shorter so the next section
 * is already visible at the bottom of the screen.
 */
#l3d {
    height: 82vh !important;
    min-height: 520px !important;

    position: sticky !important;
    top: 0 !important;

    z-index: 1;

    overflow: hidden;
}


/*
 * Sections after the hero should move above it.
 */
#l3d + section,
#l3d ~ section {
    position: relative;

    z-index: 5;

    background: #fff;
}
/* ============================================================
   TOIRII PROFILE ICON
============================================================ */

.toiri-profile-wrapper {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
}


.toiri-profile-button {
    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 0;

    background: transparent;

    color: #111;

    text-decoration: none;

    cursor: pointer;

    transition:
        opacity .2s ease;
}


.toiri-profile-button:hover {
    opacity: .55;

    color: #111;

    text-decoration: none;
}


.toiri-profile-icon {
    width: 20px;
    height: 20px;

    display: block;
}


/* ============================================================
   PROFILE DROPDOWN
============================================================ */

.toiri-profile-dropdown {
    position: absolute;

    top: calc(100% + 10px);
    right: 0;

    width: 130px;

    padding: 7px;

    display: flex;
    flex-direction: column;

    background: rgba(255, 255, 255, .97);

    border: 1px solid rgba(0, 0, 0, .08);

    border-radius: 14px;

    box-shadow:
        0 10px 30px
        rgba(0, 0, 0, .10);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    opacity: 0;
    visibility: hidden;

    transform: translateY(-5px);

    pointer-events: none;

    transition:
        opacity .2s ease,
        visibility .2s ease,
        transform .2s ease;
}


.toiri-profile-dropdown.active {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);

    pointer-events: auto;
}


.toiri-profile-dropdown a {
    padding: 10px 12px;

    border-radius: 9px;

    color: #111;

    font-family:
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;

    font-size: 10px;

    font-weight: 500;

    letter-spacing: .08em;

    text-decoration: none;

    transition:
        background .2s ease;
}


.toiri-profile-dropdown a:hover {
    background: rgba(0, 0, 0, .05);

    color: #111;

    text-decoration: none;
}


/* MOBILE */

@media (max-width: 767px) {

    .toiri-profile-button {
        width: 32px;
        height: 32px;
    }

    .toiri-profile-icon {
        width: 19px;
        height: 19px;
    }

}
/* ============================================================
   TOIRII ACCOUNT LAYOUT
============================================================ */

.toirii-account-page-header {
    padding:
        130px
        24px
        25px;

    background: #fff;

    border-bottom:
        1px solid
        rgba(0,0,0,.08);
}


.toirii-account-page-header-inner {
    width: 100%;

    max-width: 1200px;

    margin: 0 auto;
}


.toirii-account-page-header h2 {
    margin: 0;

    color: #111;

    font-family:
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;

    font-size: 28px;

    font-weight: 500;

    letter-spacing:
        -.02em;
}


.toirii-account-main {
    background: #f5f5f3;

    min-height: 70vh;
}


/* ============================================================
   MAKE BREEZE PROFILE CARDS CLEANER
============================================================ */

.toirii-account-main .bg-white {
    border-radius:
        18px !important;

    box-shadow:
        0 8px 30px
        rgba(0,0,0,.05) !important;
}


.toirii-account-main input[type="text"],
.toirii-account-main input[type="email"],
.toirii-account-main input[type="password"] {
    border-radius:
        10px !important;
}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 767px) {

    .toirii-account-page-header {
        padding:
            105px
            16px
            20px;
    }


    .toirii-account-page-header h2 {
        font-size: 24px;
    }

}


.toiri-profile-dropdown-item {
    display: block;

    width: 100%;

    padding: 10px 12px;

    border: 0;

    border-radius: 9px;

    background: transparent;

    color: #111;

    font-family:
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;

    font-size: 10px;

    font-weight: 500;

    letter-spacing: .08em;

    text-align: left;

    text-decoration: none;

    cursor: pointer;

    transition:
        background .2s ease,
        opacity .2s ease;
}


.toiri-profile-dropdown-item:hover {
    background: rgba(0, 0, 0, .05);

    color: #111;

    text-decoration: none;
}


.toiri-profile-dropdown-button {
    appearance: none;

    -webkit-appearance: none;

    margin: 0;
}
/* ============================================================
   TOIRII FOOTER
   MERTRA-INSPIRED MINIMAL FASHION FOOTER
============================================================ */


.toirii-footer-inner {
    width: 100%;

    margin: 0 auto;
}


/* ============================================================
   TOP AREA
============================================================ */

.toirii-footer-top {
    display: grid;

    grid-template-columns:
        1fr
        auto
        1fr;

    align-items: start;

    gap: 30px;

    padding-bottom:
        45px;
}


/* ============================================================
   LOGO
============================================================ */

.toirii-footer-brand {
    display: flex;

    justify-content: flex-start;
}


.toirii-footer-logo {
    color: #fff;

    font-size: 13px;

    font-weight: 500;

    letter-spacing:
        .04em;

    text-decoration:
        none;

    transition:
        opacity .2s ease;
}


.toirii-footer-logo:hover {
    color: #fff;

    opacity: .55;

    text-decoration:
        none;
}


/* ============================================================
   NAVIGATION
============================================================ */

.toirii-footer-nav {
    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap:
        10px
        24px;
}


.toirii-footer-nav a {
    color: #fff;

    font-size: 10px;

    font-weight: 500;

    letter-spacing:
        .08em;

    text-decoration:
        none;

    transition:
        opacity .2s ease;
}


.toirii-footer-nav a:hover {
    color: #fff;

    opacity: .5;

    text-decoration:
        none;
}


/* ============================================================
   SOCIAL
============================================================ */

.toirii-footer-social {
    display: flex;

    justify-content: flex-end;

    gap: 18px;
}


.toirii-footer-social a {
    color: #fff;

    font-size: 10px;

    font-weight: 500;

    letter-spacing:
        .08em;

    text-decoration:
        none;

    transition:
        opacity .2s ease;
}


.toirii-footer-social a:hover {
    color: #fff;

    opacity: .5;

    text-decoration:
        none;
}


/* ============================================================
   LARGE WORDMARK
============================================================ */

.toirii-footer-wordmark {
    width: 100%;

    overflow: hidden;

    color: #fff;

    font-size:
        clamp(
            90px,
            19vw,
            290px
        );

    font-weight: 500;

    line-height:
        .78;

    letter-spacing:
        -.075em;

    text-align: center;

    white-space:
        nowrap;

    user-select:
        none;
}


/* ============================================================
   BOTTOM
============================================================ */

.toirii-footer-bottom {
    display: grid;

    grid-template-columns:
        1fr
        auto
        1fr;

    align-items: center;

    gap: 20px;

    margin-top:
        38px;

    padding-top:
        18px;

    border-top:
        1px solid
        rgba(255,255,255,.18);
}


.toirii-footer-copyright,
.toirii-footer-credit {
    color:
        rgba(255,255,255,.65);

    font-size: 9px;

    font-weight: 500;

    letter-spacing:
        .08em;
}


.toirii-footer-credit {
    text-align: right;
}


/* ============================================================
   LEGAL
============================================================ */

.toirii-footer-legal {
    display: flex;

    justify-content: center;

    gap: 20px;
}


.toirii-footer-legal a {
    color:
        rgba(255,255,255,.7);

    font-size: 9px;

    font-weight: 500;

    letter-spacing:
        .08em;

    text-decoration:
        none;

    transition:
        color .2s ease;
}


.toirii-footer-legal a:hover {
    color: #fff;

    text-decoration:
        none;
}


/* ============================================================
   TABLET
============================================================ */

@media (max-width: 991px) {

    .toirii-footer-top {
        grid-template-columns:
            1fr
            1fr;

        row-gap:
            30px;
    }


    .toirii-footer-nav {
        grid-column:
            1 / -1;

        grid-row:
            2;

        justify-content:
            flex-start;
    }


    .toirii-footer-social {
        justify-content:
            flex-end;
    }


    .toirii-footer-wordmark {
        font-size:
            clamp(
                85px,
                20vw,
                190px
            );
    }

}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 767px) {


    .toirii-footer-top {
        display: flex;

        flex-direction:
            column;

        gap: 26px;

        padding-bottom:
            35px;
    }


    .toirii-footer-nav {
        display: grid;

        grid-template-columns:
            repeat(2, 1fr);

        width: 100%;

        gap:
            13px
            20px;
    }


    .toirii-footer-social {
        justify-content:
            flex-start;

        gap:
            20px;
    }


    .toirii-footer-wordmark {
        font-size:
            22vw;

        line-height:
            .85;

        text-align:
            left;
    }


    .toirii-footer-bottom {
        display: flex;

        flex-direction:
            column;

        align-items:
            flex-start;

        gap: 14px;

        margin-top:
            28px;
    }


    .toirii-footer-legal {
        flex-wrap: wrap;

        justify-content:
            flex-start;

        gap:
            10px
            18px;
    }


    .toirii-footer-credit {
        text-align:
            left;
    }

}
/* ============================================================
   TOIRII FOOTER
============================================================ */

.toirii-footer {
    width: 100%;
    background: #0a0a0a;
    color: #fff;

    padding:
        18px
        28px;

    font-family:
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;
}


.toirii-footer-row {
    width: 100%;

    display: grid;

    grid-template-columns:
        1fr
        auto
        1fr;

    align-items: center;

    gap: 20px;
}


/* BRAND */

.toirii-footer-brand {
    color: #fff;

    font-size: 12px;

    font-weight: 500;

    letter-spacing: .08em;
}


/* SOCIAL */

.toirii-footer-center {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 22px;
}


.toirii-footer-center a {
    color: rgba(255,255,255,.75);

    font-size: 10px;

    font-weight: 500;

    letter-spacing: .08em;

    text-decoration: none;

    transition:
        opacity .2s ease;
}


.toirii-footer-center a:hover {
    color: #fff;

    opacity: .6;

    text-decoration: none;
}


/* COPYRIGHT */

.toirii-footer-right {
    color: rgba(255,255,255,.6);

    font-size: 9px;

    font-weight: 500;

    letter-spacing: .06em;

    text-align: right;
}


/* MOBILE */

@media (max-width: 767px) {

    .toirii-footer {
        padding:
            16px
            14px;
    }


    .toirii-footer-row {
        display: flex;

        flex-direction: column;

        align-items: center;

        justify-content: center;

        gap: 10px;

        text-align: center;
    }


    .toirii-footer-right {
        text-align: center;
    }

}
/* ============================================================
   TOIRII ABOUT SECTION - CLEAN COMPACT VERSION
============================================================ */

.toiri-about-section {
    width: 100%;
    background: #fff;
}


/* VISUAL AREA */

.toiri-about-visual {
    width: 100%;

    min-height: 360px;

    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;
}


/* CONTAINER */

.toiri-about-container {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    padding:
        46px
        28px;
}


/* LABEL */

.toiri-about-label {
    margin-bottom: 22px;
}


.toiri-about-label span {
    font-size: 9px;
    font-weight: 500;

    letter-spacing: .14em;

    color: #666;
}


/* GRID */

.toiri-about-grid {
    display: grid;

    grid-template-columns:
        minmax(200px, .8fr)
        minmax(0, 1.4fr);

    gap: 55px;

    align-items: start;
}


/* TITLE */

.toiri-about-title-wrap h2 {
    margin: 0;

    font-family:
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;

    font-size:
        clamp(
            30px,
            3.2vw,
            46px
        );

    font-weight: 400;

    line-height: 1;

    letter-spacing: -.035em;

    color: #111;
}


/* CONTENT */

.toiri-about-content {
    max-width: 600px;
}


.toiri-about-welcome {
    margin:
        0
        0
        14px;

    font-size: 15px;

    line-height: 1.5;

    color: #111;
}


.toiri-about-description {
    margin:
        0
        0
        20px;

    font-size: 13px;

    line-height: 1.6;

    color: #555;
}


/* PHILOSOPHY */

.toiri-about-philosophy {
    display: grid;

    grid-template-columns:
        32px
        1fr;

    gap: 16px;

    padding-top: 8px;
}


.toiri-about-philosophy-number {
    font-size: 9px;

    letter-spacing: .1em;

    color: #777;
}


.toiri-about-philosophy-content h3 {
    margin:
        0
        0
        6px;

    font-size: 14px;

    font-weight: 500;

    color: #111;
}


.toiri-about-philosophy-content p {
    margin: 0;

    font-size: 12px;

    line-height: 1.55;

    color: #666;
}


/* MOBILE */

@media (max-width: 767px) {

    .toiri-about-visual {
        min-height: auto;
    }


    .toiri-about-container {
        padding:
            36px
            18px;
    }


    .toiri-about-label {
        margin-bottom: 18px;
    }


    .toiri-about-grid {
        grid-template-columns: 1fr;

        gap: 22px;
    }


    .toiri-about-title-wrap h2 {
        font-size:
            clamp(
                28px,
                9vw,
                38px
            );
    }


    .toiri-about-welcome {
        font-size: 14px;
    }


    .toiri-about-description {
        font-size: 12px;
    }

}
.toiri-fashion-header-inner {
    min-height: 58px;
    height: 58px;
}
.toiri-fashion-brand {
    height: 58px;

    display: flex;
    align-items: center;

    overflow: visible;
    margin-left: -6px;
}
.toiri-fashion-logo {
    width: 80px;
    height: auto;

    display: block;

    transform: scale(1.25);
    transform-origin: left center;
}

/* ============================================================
   MERTRA-INSPIRED STORE STYLING
============================================================ */

body,
body :not(i):not(svg):not([class^="fa-"]):not([class*=" fa-"]):not([class~="fa"]):not([class~="fas"]):not([class~="far"]):not([class~="fab"]):not([class^="ri-"]):not([class*=" ri-"]):not([class^="flaticon"]):not([class*=" flaticon"]):not([class~="toiri-shop-title"]) {
    font-family: "Funnel Sans", system-ui, sans-serif !important;
}

.toiri-site-header {
    position: fixed;
    top: 10px;
    left: 12px;
    z-index: 9990;
    width: calc(100% - 24px);
    overflow: visible;
    border-radius: 14px;
    background: transparent;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .12);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    pointer-events: none;
}

.toiri-moving-bar {
    position: relative !important;
    z-index: 1;
    display: flex;
    align-items: center;
    width: 100%;
    height: 24px;
    overflow: hidden;
    padding: 0;
    background: transparent;
    color: #111;
    pointer-events: auto;
    border-radius: 14px 14px 0 0;
}

.toiri-moving-track {
    height: 24px !important;
    animation-duration: 80s !important;
}

.toiri-moving-group {
    height: 24px;
    min-width: 100vw;
}

.toiri-moving-track span {
    padding: 0 110px !important;
    color: #111 !important;
    font-family: "Funnel Sans", system-ui, sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: .08em !important;
    line-height: 24px !important;
}

.toiri-fashion-nav a,
.toiri-category-menu summary,
.toiri-fashion-account {
    font-size: 11px !important;
}

.toiri-product-name {
    font-family: "Funnel Sans", system-ui, sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 20px !important;
    letter-spacing: normal !important;
}

.toiri-product-price {
    font-family: "Funnel Sans", system-ui, sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 20px !important;
    letter-spacing: normal !important;
}

.toiri-fashion-brand-name {
    font-size: 18px !important;
}

.toiri-fashion-header {
    position: relative !important;
    inset: auto !important;
    z-index: 2 !important;
    width: 100% !important;
    padding: 0 !important;
    pointer-events: auto !important;
    transition: none !important;
}

.toiri-fashion-header-inner {
    position: relative !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 48px !important;
    height: 48px !important;
    padding: 0 32px !important;
    border: 0 !important;
    background: #fff !important;
    border-radius: 0 0 14px 14px !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    pointer-events: auto !important;
}

.toiri-fashion-nav {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 20px !important;
    white-space: nowrap;
    transform: translate(-50%, -50%) !important;
}

.toiri-category-menu {
    position: relative !important;
}

.toiri-category-menu[open] {
    z-index: 20 !important;
}

.toiri-category-dropdown {
    z-index: 30 !important;
    pointer-events: auto;
}

.toiri-fashion-brand {
    height: 48px !important;
}

.toiri-fashion-brand a {
    gap: 0 !important;
}

.toiri-fashion-logo {
    width: 90px !important;
    height: 140px !important;
    margin-right: -24px !important;
    object-fit: contain;
    transform: none !important;
    border-radius: 0 !important;
}

.toiri-product-image-area,
.toiri-image-stack {
    aspect-ratio: 1 / 1 !important;
}

.toiri-sold-out-badge {
    top: auto !important;
    bottom: 12px !important;
    left: 12px !important;
    padding: 6px 9px !important;
    border-radius: 999px !important;
    background: #111 !important;
    color: #fff !important;
    font-size: 9px !important;
    font-weight: 600 !important;
}

.toiri-collection-section {
    position: relative;
    z-index: 1;
    background: #fff;
}

.toiri-collection-section-first {
    margin-top: -42px;
    overflow: hidden;
    border-radius: 48px 48px 0 0;
}

.toiri-shop-all-cta {
    display: flex;
    justify-content: center;
    padding: 42px 20px;
}

.toiri-shop-all-button {
    appearance: none;
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 0 28px;
    border: 0;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-family: "Funnel Sans", system-ui, sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .04em;
    text-decoration: none;
    cursor: pointer;
    transition: opacity .2s ease;
}

.toiri-shop-all-button:hover {
    color: #fff;
    opacity: .8;
}

.toiri-product-card[hidden] {
    display: none !important;
}

.toiri-fashion-cart {
    width: 40px !important;
    height: 40px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}

.toiri-fashion-cart .toiri-cart-count {
    top: 5px !important;
    right: 5px !important;
}

main section,
.toiri-shop-toolbar,
.toiri-product-card,
.toiri-review-moving-bar {
    border: 0 !important;
}

#toiri-cart-drawer,
#toiri-cart-drawer .toiri-cart-drawer-header,
#toiri-cart-drawer .toiri-cart-drawer-footer,
#toiri-cart-drawer .toiri-cart-item,
#toiri-cart-drawer .toiri-go-checkout {
    border: 0 !important;
    border-radius: 0 !important;
}

.toirii-footer {
    padding: 16px 32px 22px !important;
    border: 0 !important;
    border-top: 1px solid rgba(128, 128, 128, .35) !important;
    background: #fff !important;
    font-family: "Work Sans", sans-serif !important;
}

.toirii-footer-top {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    align-items: center !important;
    min-height: 54px !important;
    padding: 0 22px !important;
    border-radius: 999px !important;
    background: #e8e8e8 !important;
}

.toirii-footer-nav,
.toirii-footer-social {
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;
}

.toirii-footer-social {
    justify-content: flex-start !important;
}

.toirii-footer-nav {
    justify-content: center !important;
    margin-top: 18px !important;
}

.toirii-footer-help {
    justify-self: end;
    color: #111 !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    letter-spacing: .08em !important;
    text-decoration: none !important;
}

.toirii-footer-nav a,
.toirii-footer-social a {
    color: #111 !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    letter-spacing: .08em !important;
    text-decoration: none !important;
}

.toirii-footer-wordmark {
    display: block;
    margin: 0 !important;
    color: #222 !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    letter-spacing: .12em !important;
    line-height: 1 !important;
    text-align: center;
    text-decoration: none !important;
    white-space: nowrap;
}

.toirii-footer-bottom {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 18px 0 0 !important;
    padding: 14px 0 0 !important;
    border: 0 !important;
    border-top: 1px solid rgba(128, 128, 128, .25) !important;
}

.toirii-footer-legal {
    color: rgba(17, 17, 17, .6) !important;
    font-size: 9px !important;
    font-weight: 500 !important;
    letter-spacing: .08em !important;
    text-align: center;
}

@media (max-width: 767px) {
    .toiri-site-header {
        top: 8px;
        left: 10px;
        width: calc(100% - 20px);
        border-radius: 12px;
    }

    .toiri-moving-track span {
        padding: 0 45px !important;
    }

    .toiri-fashion-header-inner {
        min-height: 46px !important;
        height: 46px !important;
        padding: 0 10px !important;
    }

    .toiri-fashion-nav {
        display: none !important;
    }

    .toiri-fashion-brand {
        height: 46px !important;
    }

    .toiri-fashion-logo {
        width: 62px !important;
        height: 54px !important;
        margin-right: -18px !important;
    }

    .toiri-fashion-brand-name {
        font-size: 16px !important;
    }

    .toiri-fashion-cart {
        width: 36px !important;
        height: 36px !important;
    }

    .toiri-sold-out-badge {
        bottom: 8px !important;
        left: 8px !important;
        padding: 5px 8px !important;
        font-size: 8px !important;
    }

    .toiri-collection-section-first {
        margin-top: -28px;
        border-radius: 32px 32px 0 0;
    }

    .toiri-shop-all-cta {
        padding: 30px 14px;
    }

    .toirii-footer {
        padding: 8px 10px 10px !important;
    }

    .toirii-footer-top {
        grid-template-columns: 1fr auto 1fr !important;
        min-height: 40px !important;
        gap: 6px !important;
        padding: 0 10px !important;
    }

    .toirii-footer-nav,
    .toirii-footer-social {
        flex-wrap: wrap !important;
        gap: 12px !important;
    }

    .toirii-footer-social a,
    .toirii-footer-help,
    .toirii-footer-nav a {
        font-size: 8px !important;
    }

    .toirii-footer-wordmark {
        font-size: 14px !important;
        letter-spacing: .08em !important;
    }

    .toirii-footer-nav {
        justify-content: center !important;
        margin-top: 16px !important;
    }

    .toirii-footer-bottom {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        align-items: center !important;
        gap: 4px !important;
        margin-top: 8px !important;
        padding-top: 8px !important;
    }

    .toirii-footer-copyright,
    .toirii-footer-credit {
        min-width: 0 !important;
        font-size: 8px !important;
        letter-spacing: .04em !important;
        white-space: nowrap;
    }

    .toirii-footer-credit {
        text-align: right !important;
    }
}

.toirii-footer {
    padding: 20px 32px 22px !important;
    background: #fff !important;
}

.toirii-footer-top {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
    gap: 16px !important;
    padding: 12px 20px !important;
}

.toirii-footer-brand {
    display: inline-flex !important;
    align-items: center !important;
    justify-self: center !important;
    gap: 9px !important;
    color: #111 !important;
    text-decoration: none !important;
}

.toirii-footer-logo-image {
    display: block;
    width: 30px;
    height: 30px;
    object-fit: contain;
    transform: scale(2.7);
}

.toirii-footer-brand-title {
    color: #111;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
}

.toirii-footer-social {
    justify-self: start !important;
    justify-content: flex-start !important;
    gap: 16px !important;
}

.toirii-footer-social a {
    display: inline-flex;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    color: #111 !important;
}

.toirii-footer-social svg {
    display: block;
    width: 19px;
    height: 19px;
    fill: currentColor;
}

.toirii-footer-social a:nth-child(2) svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.toirii-footer-social .toirii-footer-icon-dot {
    fill: currentColor;
    stroke: none;
}

.toirii-footer-help {
    justify-self: end;
    color: #111 !important;
    text-decoration: none !important;
}

.toirii-footer-social a:hover,
.toirii-footer-brand:hover,
.toirii-footer-help:hover {
    opacity: .6;
}

@media (max-width: 767px) {
    .toirii-footer {
        padding: 10px 10px 12px !important;
    }

    .toirii-footer-top {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
        min-height: 54px !important;
        gap: 8px !important;
        padding: 8px 10px !important;
    }

    .toirii-footer-logo-image {
        width: 25px;
        height: 25px;
        transform: scale(2.6);
    }

    .toirii-footer-brand-title {
        font-size: 10px;
        letter-spacing: .08em;
    }

    .toirii-footer-social {
        flex-wrap: nowrap !important;
        gap: 8px !important;
    }

    .toirii-footer-social a {
        width: 21px;
        height: 21px;
    }

    .toirii-footer-social svg {
        width: 17px;
        height: 17px;
    }

    .toirii-footer-help {
        font-size: 8px !important;
        text-align: right;
        white-space: nowrap;
    }

    .toirii-footer-bottom {
        display: flex !important;
        width: 100% !important;
        align-items: center !important;
        justify-content: center !important;
        margin-top: 10px !important;
        padding-top: 10px !important;
    }

    .toirii-footer-legal {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        font-size: 8px !important;
        letter-spacing: .03em !important;
        white-space: nowrap;
        text-align: center !important;
    }
}

@media (max-width: 360px) {
    .toirii-footer {
        padding-right: 6px !important;
        padding-left: 6px !important;
    }

    .toirii-footer-top {
        gap: 4px !important;
        padding-right: 6px !important;
        padding-left: 6px !important;
    }

    .toirii-footer-logo-image {
        width: 22px;
        height: 22px;
        transform: scale(2.5);
    }

    .toirii-footer-brand-title,
    .toirii-footer-help {
        font-size: 7px !important;
    }

    .toirii-footer-social {
        gap: 5px !important;
    }
}

@media (hover: none), (pointer: coarse) {
    .toiri-product-image-area .toiri-size-popup {
        display: none !important;
    }

    .toiri-product-image-area .toiri-sold-out-badge {
        z-index: 20 !important;
    }

}

/* HEADER SEARCH */
.toiri-header-search {
    position: relative;
    display: flex;
    align-items: center;
}

.toiri-header-search-toggle {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #111;
    cursor: pointer;
}

.toiri-header-search-toggle svg {
    display: block;
    width: 20px;
    height: 20px;
}

.toiri-header-search-panel[hidden] {
    display: none;
}

.toiri-header-search-panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 10001;
    width: min(360px, calc(100vw - 32px));
    padding: 16px;
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .14);
}

.toiri-header-search-label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-size: 10px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.toiri-header-search-input {
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
    color: #111 !important;
    -webkit-text-fill-color: #111;
    caret-color: #111;
    font: inherit;
    font-size: 13px;
}

.toiri-header-search-input:focus {
    border-color: #111;
    outline: none;
}

.toiri-header-search-results {
    display: grid;
    max-height: 340px;
    margin-top: 8px;
    overflow-y: auto;
}

.toiri-header-search-result {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 4px;
    border-bottom: 1px solid #eee;
    color: #111;
    font-size: 12px;
    text-decoration: none;
}

.toiri-header-search-result:last-child {
    border-bottom: 0;
}

.toiri-header-search-result:hover,
.toiri-header-search-result:focus-visible {
    color: #111;
    background: #f8f8f8;
}

.toiri-header-search-result small {
    flex: none;
    color: #777;
    font-size: 9px;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.toiri-header-search-empty {
    margin: 0;
    padding: 12px 4px 4px;
    color: #777;
    font-size: 12px;
}

@media (max-width: 575px) {
    .toiri-header-search-panel {
        position: fixed;
        top: 70px;
        right: 12px;
        left: 12px;
        width: auto;
    }
}

.toiri-fashion-brand {
    transform: translateX(-16px) !important;
}

@media (max-width: 767px) {
    #l3d {
        height: 82vh !important;
        min-height: 520px !important;
        --l3d-fill: .27 !important;
    }

    .toiri-fashion-header-inner {
        justify-content: space-between !important;
    }

    .toiri-fashion-left {
        flex: 0 1 auto !important;
        width: auto !important;
        margin-right: auto !important;
    }

    .toiri-fashion-brand {
        transform: translateX(-10px) !important;
    }

    .toiri-fashion-actions {
        flex: 0 0 auto !important;
        margin-left: auto !important;
    }
}
