@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;600;700&family=Noto+Serif+TC:wght@500;600;700&display=swap');
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: #f5f1e8;
    color: #333333;
    font-family: 'Noto Sans TC', sans-serif;
}

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 100px;
    box-sizing: border-box;
}

.hero h1 {
    font-family: 'Noto Serif TC', serif;
    font-size: 60px;
    margin: 0 0 20px;
    visibility: hidden;
}

.fonts-loaded .hero h1 {
    visibility: visible;
}

.hero p {
    font-size: 28px;
    margin: 0px 0 30px;
}

button {
    padding: 15px 35px;
    font-size: 18px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
}

.hero img {
    width: 500px;
    height: auto;
    max-width: 80%;
    border-radius: 20px;
    margin-bottom: 30px;
}
.brand-name {
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 5px;
    margin-bottom: 25px;
}
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    padding: 25px 50px;

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

    z-index: 10;
}

.logo {
    font-family: 'Noto Serif TC', serif;
    font-size: 48px;
    font-weight: 600;
    letter-spacing: 4px;
    visibility: hidden;
}

.fonts-loaded .logo {
    visibility: visible;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-links a {
    font-family: 'Noto Sans TC', sans-serif;
    text-decoration: none;
    color: #333333;
    font-size: 22px;
    font-weight: 500;
    transition: color 0.2s ease, transform 0.2s ease;
    padding: 0 24px;
}

.nav-links a + a {
    border-left: 1px solid rgba(51, 51, 51, 0.18);
}

.nav-links a:hover {
    color: #056127;
    transform: scale(1.05);
}
#products {
    min-height: 500px;
    padding: 100px 20px;
    text-align: center;
    background-color: #ffffff;
}

#products h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

#products p {
    font-size: 18px;
}
.explore-button {
    display: inline-block;
    padding: 17px 42px;
    font-size: 20px;
    background-color: #333333;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    transition: background-color 0.1s ease, transform 0.1s ease;
}

.explore-button:hover {
    background-color: #123D2A;
    transform: scale(1.02);
}
.product-card {
    width: 300px;
    margin: 50px 0 0;
    padding: 22px 10px;
    background-color: #f5f1e8;
    border-radius: 20px;
    text-align: center;
    transition: 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.product-card img {
    width: 80%;
    border-radius: 15px;
    transition: 0.3s;
}

.product-card h3 {
    font-size: 28px;
    margin: 14px 0;
    transition: 0.3s;
}

.price {
    font-size: 22px;
    font-weight: bold;
    margin: -4px 0 0;
}

.product-container {
    display: flex;
    justify-content: flex-start;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-card:hover h3 {
    transform: scale(1.1);
    color: #056127;
}
.product-detail {
    display: flex;
    gap: 50px;
    max-width: 1000px;
    margin: 80px auto;
    align-items: center;
}
.product-image img {
    width: 500px;
    height: 500px;
    max-width: 100%;
    border-radius: 20px;
    object-fit: cover;
    transition: 0.3s;
}
.product-image {
    flex: 1.2;
}

.product-info {
    flex: 1;
}
.product-info button {
    background-color: #056127;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    cursor: pointer;
}
.product-info button:hover {
    background-color: #044d1f;
}
.product-info h1 {
    font-size: 48px;
    margin-bottom: 20px;
}
.product-price {
    font-size: 28px;
    font-weight: bold;
    margin: 25px 0;
}
.quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.quantity button {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
}
.quantity input {
    width: 50px;
    text-align: center;
    font-size: 18px;
}
.quantity span {
    font-size: 22px;
    font-weight: bold;
}
.cart-item {
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 10px;
}
.cart-item p:first-child {
    font-size: 20px;
    font-weight: bold;
}
.cart-item p:nth-child(2) {
    font-size: 16px;
}
.cart-item p:nth-child(3) {
    font-size: 15px;
    color: #666;
}
.cart-page {
    max-width: 900px;
    margin: 80px auto;
    padding: 0 30px;
}
.cart-page h1 {
    margin-bottom: 30px;
}
.shopping-cart {
    background-color: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}
.cart-item {
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
}
.cart-item p {
    margin: 8px 0;
}
.cart-item button {
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: white;
    cursor: pointer;
}
.cart-item p:nth-of-type(2) {
    font-size: 18px;
}
.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.product-actions {

    display: flex;

    align-items: center;

    gap: 15px;

    margin-left: auto;

}
.quantity-control {
    display: flex;
    align-items: center;
    gap: 8px;
}
.quantity-control p {
    margin: 0 4px;
    font-weight: normal;
}
.cart-total {
    text-align: right;
    font-size: 26px;
    font-weight: bold;
}
.checkout-button {
    display: inline-block;
    margin: 2px 0 0 auto;
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    background-color: #056127;
    color: white;
    font-size: 18px;
    text-decoration: none;
    cursor: pointer;
    transition: 0.3s;
}

.checkout-button:hover {
    background-color: #044d1f;
}
.cart-summary {
    margin-top: 30px;
    padding-top: 4px;
    border-top: 2px solid #333;
    text-align: right;
}
.checkout-title {
    max-width: 900px;
    margin: 70px auto 40px;
    padding: 0 30px;
    font-size: 36px;
    text-align: center;
}
.cart-item img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.cart-item {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 20px;
}
.cart-item .product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.cart-item .product-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
}
.cart-item .product-info a {
    text-decoration: none;
    color: inherit;
    font-size: 20px;
    font-weight: bold;
}
.cart-item .product-info a:hover {
    text-decoration: underline;
    display: inline-block;
    transform: scale(1.01);
    color: #3f5a3a;
}
.cart-item .product-actions > button {
    transition: 0.2s;
}

.cart-item .product-actions > button:hover {
    background-color: #8b3a3a;
    color: white;
}
.quantity-input {
    width: 50px;
    height: 36px;
    padding: 0;
    text-align: center;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    -moz-appearance: textfield;
}

.quantity-input::-webkit-inner-spin-button,
.quantity-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}
.quantity .minus,
.quantity .plus {
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    border-radius: 6px;
    background-color: #056127;
    color: white;
    font-size: 18px;
    cursor: pointer;
}
.cart-link {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -10px;
    right: -14px;

    width: 20px;
    height: 20px;

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

    background-color: #3f5a3a;
    color: white;

    border-radius: 50%;

    font-size: 12px;
    font-weight: bold;
}
.go-cart-button {
    display: none;
    margin-left: 10px;
    padding: 15px 40px;
    border: 1px solid #9caf91;
    border-radius: 30px;
    background-color: #e8f2e9;
    color: #056127;
    font-size: 18px;
    text-decoration: none;
    cursor: pointer;
    transition: 0.3s;
}

.go-cart-button:hover {
    background-color: #d8eadb;
    color: #056127;
}
.checkout-items {
    max-width: 900px;
    margin: 0 auto;
    padding: 25px 30px;
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}
.checkout-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #e5e5e5;
}

.checkout-item:last-child {
    border-bottom: none;
}

.checkout-product-image {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 10px;
}

.checkout-product-info {
    flex: 1;
}

.checkout-product-info p {
    margin: 6px 0;
}

.checkout-product-info p:first-child {
    font-size: 20px;
    font-weight: bold;
}

.checkout-product-actions {
    min-width: 100px;
    text-align: right;
}

.checkout-product-actions p {
    margin: 0;
}
.checkout-summary {
    max-width: 900px;
    margin: 15px auto 0;
    padding: 0 30px;
    text-align: right;
}

.checkout-total {
    margin: 0;
    font-size: 26px;
    font-weight: bold;
}
.customer-info {
    max-width: 900px;
    margin: 45px auto 80px;
    padding: 35px 40px;
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
}

.customer-info h2 {
    margin: 0 0 25px;
    font-size: 26px;
}

.customer-info label {
    display: block;
    margin-bottom: 8px;
    font-size: 17px;
    font-weight: bold;
}

.customer-input {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 15px;
    padding: 14px 16px;
    border: 1px solid #d5d5d5;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
}

.customer-info input:focus {
    border-color: #9caf91;
}

.confirm-order {
    display: block;
    margin: 25px 0 0 auto;
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    background-color: #056127;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
}

.confirm-order:hover {
    background-color: #044d1f;
}
.delivery-method {
    margin-bottom: 30px;
}

.delivery-method h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.delivery-method label {
    display: block;
    margin-bottom: 12px;
    font-size: 16px;
    cursor: pointer;
}

.delivery-method input {
    margin-right: 8px;
}
.store-field {
    display: none;
    margin-top: 10px;
}

.store-selection {
    display: flex;
}

.select-store {
    padding: 15px 40px;
    border: 1px solid #9caf91;
    border-radius: 30px;
    background-color: #e8f2e9;
    color: #056127;
    font-size: 18px;
    text-decoration: none;
    cursor: pointer;
    transition: 0.3s;
}
.select-store:hover {
    background-color: #d8e8d9;
}
.store-list {
    display: none;
    margin-top: 10px;
}

.store-option {
    display: block;
    width: 100%;
    margin-bottom: 8px;
    padding: 10px;
    border: 1px solid #9caf91;
    border-radius: 10px;
    background-color: #e8f2e9;
    color: #056127;
    cursor: pointer;
}
.contact-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 100px 40px;
}


/* ===== 聯絡我們標題 ===== */

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-label {
    font-size: 28px;
    letter-spacing: 4px;
    color: #8b7355;
    margin-bottom: 12px;
}

.contact-header h1 {
    font-size: 48px;
    margin: 0 0 20px;
}

.contact-header > p:last-child {
    color: #777;
    font-size: 22px;
}


/* ===== 聯絡卡片 ===== */

.contact-card {
    position: relative;
    background: #fffdf8;
    padding: 40px 45px;
    margin-bottom: 28px;
    border-radius: 18px;
    border: 1px solid rgba(139, 115, 85, 0.12);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.contact-card h2 {
    position: relative;
    padding-bottom: 15px;
    margin: 0 0 20px;
    font-size: 24px;
}

.contact-card h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 45px;
    height: 2px;
    background-color: #8b7355;
}

.contact-card p {
    margin: 8px 0;
    line-height: 1.8;
    color: #555;
}

.contact-card .contact-role {
    font-size: 23px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #6f5a43;
    margin-bottom: 10px;
}

.contact-card a {
    color: #8b7355;
    text-decoration: none;
    font-weight: 500;
}

.contact-card a:hover {
    text-decoration: underline;
}


/* ===== 社群連結 ===== */

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 25px;
}

.social-links a {
    flex: 1;
    padding: 20px 25px;
    border: 1px solid rgba(139, 115, 85, 0.2);
    border-radius: 12px;
    text-decoration: none;
    color: #6f5a43;
    background-color: #fffaf2;
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-links a span {
    display: block;
    margin-top: 6px;
    font-size: 14px;
    font-weight: 400;
    color: #888;
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}


/* ===== Instagram 圖示 ===== */

.social-icon {
    display: block;
    width: 28px;
    height: 28px;
    margin-bottom: 12px;
    position: relative;
}

.instagram-icon {
    border: 2px solid #8b7355;
    border-radius: 8px;
}

.instagram-icon::before {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    border: 2px solid #8b7355;
    border-radius: 50%;
    top: 7px;
    left: 7px;
}

.instagram-icon::after {
    content: "";
    position: absolute;
    width: 4px;
    height: 4px;
    background-color: #8b7355;
    border-radius: 50%;
    top: 4px;
    right: 4px;
}


/* ===== LINE 圖示 ===== */

.line-icon {
    border: 2px solid #8b7355;
    border-radius: 50%;
}

.line-icon::after {
    content: "";
    position: absolute;
    width: 7px;
    height: 7px;
    border-left: 2px solid #8b7355;
    border-bottom: 2px solid #8b7355;
    bottom: -4px;
    left: 4px;
    transform: skew(-20deg);
    background-color: #fffaf2;
}


/* ===== 聯絡頁尾 ===== */

.contact-footer {
    text-align: center;
    margin-top: 70px;
    padding: 45px 20px 20px;
    border-top: 1px solid rgba(139, 115, 85, 0.15);
}

.contact-footer-title {
    font-size: 30px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #6f5a43;
    margin-bottom: 12px;
}

.contact-footer p:last-child {
    color: #888;
    font-size: 25px;
    letter-spacing: 1px;
}

@media (max-width: 768px) {

    /* ========================================
       手機版導覽列
    ======================================== */

    .navbar {
        padding: 20px 18px;
    }

    .logo {
        font-size: 22px;
        letter-spacing: 2px;
        white-space: nowrap;
    }

    .nav-links {
        gap: 0;
    }

    .nav-links a {
        padding: 0 8px;
        font-size: 14px;
        font-weight: 500;
        white-space: nowrap;
    }

    .cart-count {
        width: 22px;
        height: 22px;
        font-size: 13px;
        top: -10px;
        right: -13px;
    }


    /* ========================================
       首頁 Hero
    ======================================== */

    .hero {
        height: auto;
        min-height: 100vh;
        padding: 110px 5% 70px;
        box-sizing: border-box;
    }

    .hero img {
        width: 90%;
        max-width: none;
        margin-bottom: 30px;
        border-radius: 18px;
    }

    .brand-name {
        font-size: 22px;
        letter-spacing: 4px;
        margin-bottom: 18px;
    }

    .hero h1 {
        font-size: 42px;
        line-height: 1.35;
        text-align: center;
        margin: 0 0 18px;
    }

    .hero p {
        font-size: 19px;
        line-height: 1.8;
        text-align: center;
        margin-bottom: 28px;
    }

    .explore-button {
        padding: 15px 32px;
        font-size: 17px;
    }


    /* ========================================
       精選茶品
    ======================================== */

   #products {
       padding: 20px 5% 60px;
       scroll-margin-top: -20px;
    }

    #products h2 {
        font-size: 38px;
        margin-bottom: 18px;
    }

    #products > p {
        font-size: 18px;
        line-height: 1.8;
        margin-bottom: 35px;
    }


    /* ========================================
       商品卡
    ======================================== */

    .product-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .product-card {
        width: 100%;
        max-width: none;
        box-sizing: border-box;
        margin: 0;
        padding: 12px;
        border-radius: 15px;
    }

    .product-card img {
        width: 100%;
        border-radius: 10px;
    }

    .product-card h3 {
        font-size: 20px;
        line-height: 1.4;
        margin: 15px 0 8px;
    }

    .product-card p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 10px;
    }

    .product-card .price {
        font-size: 17px;
        margin: 12px 0;
    }

    .product-card a {
        display: inline-block;
        padding: 10px 22px;
        font-size: 15px;
    }


    /* ========================================
       商品詳細頁
    ======================================== */

    .product-detail {
        flex-direction: column;
        gap: 30px;
        margin: 100px 20px 50px;
        align-items: stretch;
    }

    .product-image {
        width: 100%;
    }

    .product-image img {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .product-info {
        width: 100%;
    }

    .product-info h1 {
        font-size: 36px;
        margin-bottom: 15px;
    }

    .product-info h2 {
        font-size: 22px;
        line-height: 1.5;
    }

    .product-info p {
        font-size: 16px;
        line-height: 1.8;
    }

    .product-price {
        font-size: 24px;
    }

    .quantity {
        margin-top: 25px;
    }

    .product-info .add-cart,
    .product-info .go-cart-button {
        box-sizing: border-box;
        width: 100%;
        margin: 5px 0;
        text-align: center;
    }


    /* ========================================
       購物車
    ======================================== */

    .cart-page {
        margin: 90px 20px 50px;
        padding: 0;
    }

    .cart-page h1 {
        font-size: 34px;
        text-align: center;
    }

    .shopping-cart {
        padding: 20px;
    }

    .cart-item {
       flex-wrap: wrap;
       gap: 15px;
       padding: 20px 10px;
    }   

    .cart-item img {
        width: 85px;
        height: 85px;
    }

    .cart-item .product-info {
        min-width: 0;
    }

    .cart-item .product-info a {
        font-size: 17px;
    }

    .cart-item .product-info p {
        font-size: 15px;
    }

    .cart-item .product-actions {
        width: 100%;
        margin-left: 0;
        justify-content: flex-end;
        padding-right: 5px;
    }

    .cart-total {
        font-size: 21px;
    }

    .checkout-button {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }


    /* ========================================
       空購物車
    ======================================== */

    .empty-cart .cat-message {
        top: 5px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 15px;
        padding: 10px 16px;
        white-space: nowrap;
    }

    .empty-cart::before {
       width: 240px !important;
       height: 190px !important;
       top: 55px !important;
    }

    .empty-cart h2 {
       font-size: 25px !important;
       margin: -35px 0 30px !important;
       position: relative;
       z-index: 2;
    }


    /* ========================================
       結帳頁
    ======================================== */

    .checkout-title {
        margin: 90px 20px 30px;
        padding: 0;
        font-size: 32px;
    }

    .checkout-items {
        margin: 0 20px;
        padding: 15px 20px;
    }

    .checkout-item {
        flex-wrap: wrap;
        gap: 15px;
    }

    .checkout-product-image {
        width: 75px;
        height: 75px;
    }

    .checkout-product-info {
        min-width: 0;
    }

    .checkout-product-info p:first-child {
        font-size: 17px;
    }

    .checkout-product-info p {
        font-size: 14px;
        line-height: 1.5;
    }

    .checkout-product-actions {
        width: 100%;
        text-align: left;
        min-width: 0;
    }

    .checkout-summary {
        margin: 15px 20px 0;
        padding: 0;
    }

    .checkout-total {
        font-size: 21px;
    }

    .customer-info {
        margin: 35px 20px 50px;
        padding: 25px 20px;
    }

    .customer-info h2 {
        font-size: 23px;
    }

    .delivery-method h3 {
        font-size: 18px;
    }

    .select-store {
        width: 100%;
        box-sizing: border-box;
    }

    .confirm-order {
        width: 100%;
        box-sizing: border-box;
        margin-top: 25px;
    }


    /* ========================================
       聯絡我們
    ======================================== */

    .contact-page {
        padding: 70px 20px;
    }

    .contact-header h1 {
        font-size: 36px;
    }

    .contact-header {
        margin-bottom: 40px;
    }

    .contact-card {
        padding: 28px 24px;
        margin-bottom: 20px;
    }

    .contact-card h2 {
        font-size: 21px;
    }

    .contact-card .contact-role {
        font-size: 18px;
    }

    .contact-card p {
        font-size: 15px;
        line-height: 1.7;
    }

    .social-links {
        flex-direction: column;
        gap: 15px;
    }

    .social-links a {
        width: 100%;
        box-sizing: border-box;
    }

    .contact-footer {
        margin-top: 45px;
        padding: 35px 10px 15px;
    }

    .contact-footer-title {
        font-size: 24px;
        letter-spacing: 2px;
    }

    .contact-footer p:last-child {
        font-size: 15px;
        line-height: 1.7;
    }

}
.cart-count {
    visibility: hidden;
}
.cart-count:empty {
    display: none;
}

.empty-cart {
    position: relative;
    text-align: center;
    padding: 50px 20px 90px;
    z-index: 1;
}

.empty-cart::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 300px;
    background: #e5ded0;
    border-radius: 48% 52% 45% 55% / 55% 45% 55% 45%;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
}
.empty-cart img {
    display: block;
    width: 340px;
    max-width: 75%;
    margin: 0 auto 5px;
    position: relative;
    z-index: 1;
}

.cat-message {
    position: absolute;
    top: 45px;
    left: calc(50% - 250px);
    padding: 12px 20px;
    background-color: #fff;
    color: #333;
    font-size: 17px;
    border-radius: 14px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    white-space: nowrap;
    z-index: 2;
}

.cat-message::after {
    content: "";
    position: absolute;
    bottom: -9px;
    right: 18px;
    width: 0;
    height: 0;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-top: 10px solid #fff;
}

.empty-cart h2 {
    font-size: 42px;
    font-weight: 600;
    color: #333;
    margin: -60px 0 40px;
}


.empty-cart-button {
    display: inline-block;
    padding: 17px 44px;
    background-color: #056127;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 19px;
    transition: background-color 0.2s ease;
}

.empty-cart-button:hover {
    background-color: #044d1f;
}
.shopping-cart:has(.empty-cart[style*="display: block"]) {
    background: transparent;
    box-shadow: none;
}