/*
CTC Separate Stylesheet
Updated: 2026-09-02 20:00:57
*/

/* =========================================================
   RESTAURANT WOOCOMMERCE MENU
========================================================= */

.rwm-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    color: #111;
    font-family: Arial, Helvetica, sans-serif;
}


/* =========================================================
   TOP BAR
========================================================= */

.rwm-topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;

    display: flex;
    align-items: center;
    gap: 14px;

    padding: 25px 42px;

    border-bottom: 1px solid #f1f1f1;
}


/* SELECT */

.rwm-select-wrap {
    position: relative;
    flex: 0 0 212px;
}

.rwm-select-wrap select {
    appearance: none;
    -webkit-appearance: none;

    width: 100%;
    height: 42px;

    padding: 0 42px 0 14px;

    background: #fff;

    border: 1px solid #aaa;
    border-radius: 7px;

    font-size: 13px;
    color: #111;

    cursor: pointer;
}

.rwm-select-arrow {
    position: absolute;
    right: 15px;
    top: 9px;

    font-size: 19px;

    pointer-events: none;
}


/* SEARCH */

.rwm-search-toggle {
    width: 42px;
    height: 42px;

    border: 1px solid #bbb;
    border-radius: 7px;

    background: #fff;

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

    cursor: pointer;

    flex: 0 0 42px;
}

.rwm-search-toggle svg {
    width: 17px;
    height: 17px;

    fill: none;
    stroke: #111;
    stroke-width: 1.5;
}


.rwm-search-box {
    width: 0;
    opacity: 0;
    overflow: hidden;

    transition:
        width .3s ease,
        opacity .3s ease;
}

.rwm-search-box.active {
    width: 220px;
    opacity: 1;
}


.rwm-search-box input {
    width: 100%;
    height: 42px;

    padding: 0 14px;

    border: 1px solid #aaa;
    border-radius: 7px;

    outline: none;

    font-size: 13px;
}


/* =========================================================
   CATEGORY NAV
========================================================= */

.rwm-category-nav {
    display: flex;
    align-items: center;

    gap: 28px;

    overflow-x: auto;

    white-space: nowrap;

    scrollbar-width: none;

    flex: 1;
}

.rwm-category-nav::-webkit-scrollbar {
    display: none;
}


.rwm-cat-link {
    position: relative;

    color: #111;

    text-decoration: none;

    font-size: 12px;
    font-weight: 500;

    text-transform: uppercase;

    letter-spacing: .5px;

    padding: 13px 0;

    flex-shrink: 0;
}


.rwm-cat-link::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;

    bottom: 4px;

    height: 1px;

    background: #111;

    transform: scaleX(0);

    transform-origin: left;

    transition: transform .25s ease;
}


.rwm-cat-link.active::after {
    transform: scaleX(1);
}


/* =========================================================
   PRODUCTS AREA
========================================================= */

.rwm-products-area {
    padding: 55px 42px 100px;
}


/* CATEGORY */

.rwm-category-section {
    scroll-margin-top: 105px;

    margin-bottom: 75px;
}


.rwm-section-heading {
    margin-bottom: 22px;
}


.rwm-section-heading h2 {
    margin: 0 0 8px;

    font-size: 19px;

    font-weight: 400;

    letter-spacing: 2.5px;

    text-transform: uppercase;
}


.rwm-availability {
    color: #888;

    font-size: 11px;

    letter-spacing: 1.3px;

    text-transform: uppercase;
}


/* =========================================================
   PRODUCT GRID
========================================================= */

.rwm-product-grid {
    display: grid;

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

    gap: 18px;
}


/* =========================================================
   PRODUCT CARD
========================================================= */

.rwm-product-card {
    background: #fff;

    border: 1px solid #e8e8e8;

    border-radius: 7px;

    overflow: hidden;

    cursor: pointer;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}


.rwm-product-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 10px 35px rgba(0,0,0,.07);
}


/* IMAGE */

.rwm-product-image {
    width: 100%;

    aspect-ratio: 1 / 1;

    overflow: hidden;

    background: #f5f5f5;
}


.rwm-product-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform .45s ease;
}


.rwm-product-card:hover
.rwm-product-image img {
    transform: scale(1.035);
}


/* INFO */

.rwm-product-info {
    padding: 14px 14px 17px;
}


.rwm-product-info h3 {
    margin: 0 0 8px;

    font-size: 12px;

    font-weight: 500;

    letter-spacing: 1px;

    text-transform: uppercase;
}


.rwm-product-price {
    font-size: 13px;
    font-weight: 500;
}


.rwm-product-price del {
    color: #999;
    margin-right: 5px;
}


.rwm-product-description {
    margin-top: 8px;

    color: #888;

    font-size: 11px;

    line-height: 1.5;
}


/* =========================================================
   NO RESULTS
========================================================= */

.rwm-no-results {
    display: none;

    padding: 60px 0;

    text-align: center;

    color: #888;

    font-size: 14px;
}


/* =========================================================
   MODAL
========================================================= */

.rwm-modal {
    position: fixed;

    inset: 0;

    z-index: 999999;

    display: none;

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

    padding: 20px;
}


.rwm-modal.active {
    display: flex;
}


.rwm-modal-overlay {
    position: absolute;

    inset: 0;

    background: rgba(0,0,0,.45);

    backdrop-filter: blur(5px);
}


.rwm-modal-content {
    position: relative;

    z-index: 2;

    width: 100%;
    max-width: 850px;

    max-height: 90vh;

    overflow: auto;

    display: grid;

    grid-template-columns: 1fr 1fr;

    background: #fff;

    border-radius: 10px;

    overflow: hidden;

    box-shadow:
        0 30px 80px rgba(0,0,0,.2);

    animation: rwmModalIn .25s ease;
}


@keyframes rwmModalIn {

    from {
        opacity: 0;
        transform: translateY(20px) scale(.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}


/* MODAL IMAGE */

.rwm-modal-image {
    min-height: 430px;

    background: #f5f5f5;
}


.rwm-modal-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}


/* MODAL DETAILS */

.rwm-modal-details {
    padding: 50px 40px;

    display: flex;

    flex-direction: column;

    justify-content: center;
}


.rwm-modal-details h2 {
    margin: 0 0 12px;

    font-size: 25px;

    font-weight: 400;

    letter-spacing: 1px;

    text-transform: uppercase;
}


.rwm-modal-price {
    font-size: 16px;

    margin-bottom: 22px;
}


.rwm-modal-description {
    color: #666;

    font-size: 13px;

    line-height: 1.7;

    margin-bottom: 30px;
}


/* CLOSE */

.rwm-modal-close {
    position: absolute;

    z-index: 5;

    top: 15px;
    right: 15px;

    width: 35px;
    height: 35px;

    border: 0;

    border-radius: 50%;

    background: #fff;

    font-size: 25px;

    line-height: 1;

    cursor: pointer;

    box-shadow:
        0 3px 15px rgba(0,0,0,.1);
}


/* =========================================================
   QUANTITY
========================================================= */

.rwm-quantity-row {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 18px;
}


.rwm-quantity-label {
    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: 1px;
}


.rwm-quantity {
    display: flex;

    align-items: center;

    border: 1px solid #ccc;

    border-radius: 6px;

    overflow: hidden;
}


.rwm-quantity button {
    width: 40px;
    height: 40px;

    border: 0;

    background: #fff;

    font-size: 18px;

    cursor: pointer;
}


.rwm-quantity input {
    width: 45px;
    height: 40px;

    border: 0;

    text-align: center;

    outline: none;

    font-size: 13px;

    appearance: textfield;
}


.rwm-quantity input::-webkit-inner-spin-button,
.rwm-quantity input::-webkit-outer-spin-button {
    appearance: none;
}


/* ADD CART */

.rwm-add-cart {
    width: 100%;

    height: 50px;

    border: 0;

    border-radius: 6px;

    background: #111;

    color: #fff;

    cursor: pointer;

    font-size: 12px;

    letter-spacing: 1px;

    text-transform: uppercase;

    transition: background .2s ease;
}


.rwm-add-cart:hover {
    background: #333;
}


.rwm-add-cart.loading {
    opacity: .6;

    pointer-events: none;
}


.rwm-add-loading {
    display: none;
}


.rwm-add-cart.loading .rwm-add-loading {
    display: inline;
}


.rwm-add-cart.loading span:first-child {
    display: none;
}


/* MESSAGE */

.rwm-cart-message {
    margin-top: 14px;

    font-size: 12px;

    text-align: center;
}


.rwm-cart-message.success {
    color: #218838;
}


.rwm-cart-message.error {
    color: #d33;
}


.rwm-variable-message {
    display: none;

    padding: 12px;

    margin-bottom: 20px;

    background: #f7f7f7;

    font-size: 12px;
}


/* =========================================================
   FLOATING CART
========================================================= */

.rwm-cart-indicator {
    position: fixed;

    right: 25px;
    bottom: 25px;

    z-index: 500;

    width: 52px;
    height: 52px;

    display: flex;

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

    border-radius: 50%;

    background: #111;

    color: #fff;

    text-decoration: none;

    box-shadow:
        0 8px 30px rgba(0,0,0,.18);
}


.rwm-cart-icon svg {
    width: 21px;
    height: 21px;

    fill: none;

    stroke: #fff;

    stroke-width: 1.5;
}


.rwm-cart-count {
    position: absolute;

    right: -3px;
    top: -4px;

    min-width: 20px;
    height: 20px;

    padding: 0 5px;

    display: flex;

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

    border-radius: 50%;

    background: #fff;

    color: #111;

    border: 1px solid #111;

    font-size: 10px;

    font-weight: 600;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1200px) {

    .rwm-product-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}


@media (max-width: 900px) {

    .rwm-topbar {
        padding: 15px 20px;

        flex-wrap: wrap;
    }

    .rwm-category-nav {
        order: 5;

        flex-basis: 100%;
    }

    .rwm-products-area {
        padding: 40px 20px 80px;
    }

    .rwm-product-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .rwm-modal-content {
        grid-template-columns: 1fr;

        max-width: 520px;
    }

    .rwm-modal-image {
        height: 300px;

        min-height: 0;
    }

    .rwm-modal-details {
        padding: 30px;
    }

}


@media (max-width: 600px) {

    .rwm-topbar {
        padding: 12px 15px;
    }

    .rwm-select-wrap {
        flex: 1;
    }

    .rwm-search-box.active {
        width: 100%;
    }

    .rwm-category-nav {
        gap: 22px;
    }

    .rwm-products-area {
        padding: 30px 15px 70px;
    }

    .rwm-product-grid {
        grid-template-columns: 1fr;
    }

    .rwm-category-section {
        margin-bottom: 55px;
    }

    .rwm-modal {
        padding: 10px;
    }

    .rwm-modal-image {
        height: 250px;
    }

    .rwm-modal-details {
        padding: 25px 20px;
    }

}