:root {
    --black: #080808;
    --black-soft: #101010;
    --black-card: #151515;
    --black-light: #1d1d1d;
    --gold: #c8953d;
    --gold-light: #e0b45f;
    --gold-dark: #8f6425;
    --cream: #f3eee4;
    --cream-dark: #d9d0c1;
    --white: #ffffff;
    --gray: #aaa39a;
    --border: rgba(200, 149, 61, 0.22);
    --container: 1200px;
    --radius: 12px;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

select {
    background: #171923;
    color: #f5f5f7;
    border: 1px solid #343849;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 15px;
    outline: none;
    cursor: pointer;
}
.fa2seh1{
    border: 2px solid rgb(134, 99, 9);
    border-radius: 15px;
    

}

.fa2seh2{
    border: 2px solid rgb(134, 99, 9);
    border-radius: 15px;
    

}

.fa2seh3{
    border: 2px solid rgb(134, 99, 9);
    border-radius: 15px;
    

}

.fa2seh {
color: darkgoldenrod;
padding: 7px;
font-size: 16px;
text-align: center;

}


.fa2seh:hover{
padding: 13px;
font-size: 15px;
text-align: center;

}

.fa2seh:active {
padding: 13px;
font-size: 15px;
text-align: center;
color: #e0b45f;

}

.fa2sehh {
color: darkgoldenrod;
padding: 11px;
font-size: 13px;
text-align: center;

}


.fa2sehh:hover{
padding: 13px;
font-size: 15px;
text-align: center;

}

.fa2sehh:active {
padding: 13px;
font-size: 15px;
text-align: center;
color: #e0b45f;

}



select option {
    background: #171923;
    color: #f5f5f7;
    padding: 12px;
}

select:focus {
    border-color: #8b5cf6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    background: var(--black);
    color: var(--cream);
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
    line-height: 1.6;
}

body::selection {
    background: var(--gold);
    color: var(--black);
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

.container {
    width: min(calc(100% - 32px), var(--container));
    margin-inline: auto;
}

.section {
    padding-block: 80px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 35px;
}

.section-header h2 {
    color: var(--cream);
    font-size: clamp(1.7rem, 4vw, 2.5rem);
    line-height: 1.2;
}

.section-header a {
    color: var(--gold-light);
    font-weight: 700;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding-inline: 28px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: var(--black);
    border: 1px solid var(--gold-light);
    border-radius: 6px;
    font-weight: 800;
    transition: 180ms ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(200, 149, 61, 0.2);
}

.sali {
    color: darkgoldenrod;
    font-size: 20px;
    
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(8, 8, 8, 0.94);
    border-bottom: 1px solid rgba(200, 149, 61, 0.16);
    backdrop-filter: blur(14px);
}

.header-content {
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-image {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    overflow: hidden;
    border-radius: 50%;
    background: #050505;
    border: 1px solid var(--gold);
    box-shadow: 0 0 18px rgba(200, 149, 61, 0.14);
    position: relative;
}

.logo-image img {
    position: absolute;
    width: 100%;
    height: auto;
    max-width: none;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    object-fit: contain;
}

.logo-name {
    color: var(--gold-light);
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 15px;
}

.main-nav a {
    position: relative;
    color: var(--cream-dark);
    font-size: 0.85rem;
    font-weight: 600;
    transition: 180ms ease;
}

.main-nav a:hover {
    color: var(--gold-light);
}

.main-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -5px;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 180ms ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-link {
    position: relative;
    width: 37px;
    height: 37px;
    display: grid;
    place-items: center;
    background: var(--black-light);
    border: 1px solid rgba(200, 149, 61, 0.18);
    border-radius: 50%;
    font-size: 0.9rem;
}

#cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 17px;
    height: 17px;
    display: grid;
    place-items: center;
    background: var(--gold);
    color: var(--black);
    border-radius: 50%;
    font-size: 0.62rem;
    font-weight: 900;
}

.hero {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 75% 40%, rgba(200, 149, 61, 0.12), transparent 28%),
        radial-gradient(circle at 20% 80%, rgba(200, 149, 61, 0.05), transparent 25%),
        var(--black);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle, rgba(200, 149, 61, 0.25) 1px, transparent 1px);
    background-size: 45px 45px;
    opacity: 0.08;
}

.hero::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    left: -180px;
    bottom: -220px;
    border: 1px solid rgba(200, 149, 61, 0.12);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-block: 90px;
}

.hero-text {
    max-width: 680px;
}

.hero-text span {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--gold-light);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.25em;
}

.hero h1 {
    max-width: 700px;
    margin-bottom: 22px;
    color: var(--cream);
    font-size: clamp(3rem, 9vw, 6rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.hero p {
    max-width: 560px;
    margin-bottom: 32px;
    color: var(--gray);
    font-size: clamp(1rem, 2vw, 1.12rem);
}

.categories {
    background: var(--black-soft);
}

.category-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.category-card {
    position: relative;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px;
    overflow: hidden;
    background: var(--black-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: 200ms ease;
}

.category-card::before {
    content: "";
    position: absolute;
    width: 100px;
    height: 100px;
    left: -35px;
    bottom: -50px;
    border: 1px solid rgba(200, 149, 61, 0.16);
    border-radius: 50%;
}

.category-card span {
    color: var(--gold-dark);
    font-size: 0.75rem;
    font-weight: 900;
}

.category-card h3 {
    color: var(--cream);
    font-size: 1.05rem;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: rgba(200, 149, 61, 0.5);
    box-shadow: var(--shadow);
}

.products-section {
    background: var(--black);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.product-card {
    overflow: hidden;
    background: var(--black-card);
    border: 1px solid rgba(200, 149, 61, 0.15);
    border-radius: var(--radius);
    transition: 200ms ease;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(200, 149, 61, 0.4);
    box-shadow: var(--shadow);
}

.product-image {
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background:
        radial-gradient(circle, rgba(200, 149, 61, 0.08), transparent 60%),
        #0b0b0b;
}

.product-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: rgba(200, 149, 61, 0.35);
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.2em;
}

.product-info {
    padding: 16px;
}

.product-info h3 {
    margin-bottom: 5px;
    color: var(--cream);
    font-size: 0.98rem;
}

.product-price {
    color: var(--gold-light);
    font-size: 1rem;
    font-weight: 900;
}

.page-header {
    position: relative;
    overflow: hidden;
    padding-block: 90px 70px;
    background:
        radial-gradient(circle at 20% 40%, rgba(200, 149, 61, 0.1), transparent 30%),
        var(--black-soft);
    border-bottom: 1px solid rgba(200, 149, 61, 0.12);
}

.page-header::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle, rgba(200, 149, 61, 0.22) 1px, transparent 1px);
    background-size: 45px 45px;
    opacity: 0.06;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-label {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--gold-light);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.page-header h1 {
    margin-bottom: 12px;
    color: var(--cream);
    font-size: clamp(2.4rem, 7vw, 4.5rem);
    line-height: 1;
}

.page-header p {
    color: var(--gray);
    font-size: 1rem;
}

.products-toolbar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 35px;
}

.search-box {
    width: 100%;
}

.search-box input {
    width: 100%;
    min-height: 52px;
    padding: 0 18px;
    background: var(--black-card);
    color: var(--cream);
    border: 1px solid rgba(200, 149, 61, 0.22);
    border-radius: 8px;
    outline: none;
    transition: 180ms ease;
}

.search-box input::placeholder {
    color: #77716a;
}

.search-box input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(200, 149, 61, 0.08);
}

.category-filter {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
    scrollbar-color: var(--gold-dark) transparent;
}

.filter-btn {
    flex: 0 0 auto;
    min-height: 42px;
    padding-inline: 18px;
    background: var(--black-card);
    color: var(--cream-dark);
    border: 1px solid rgba(200, 149, 61, 0.18);
    border-radius: 6px;
    cursor: pointer;
    transition: 180ms ease;
}

.filter-btn:hover {
    color: var(--gold-light);
    border-color: rgba(200, 149, 61, 0.45);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: var(--black);
    border-color: var(--gold-light);
    font-weight: 800;
}

.offers-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at center, rgba(200, 149, 61, 0.11), transparent 45%),
        var(--black-soft);
    border-block: 1px solid rgba(200, 149, 61, 0.12);
}

.offer-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin-inline: auto;
    text-align: center;
}

.offer-content span {
    color: var(--gold-light);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.offer-content h2 {
    margin-block: 14px 18px;
    color: var(--cream);
    font-size: clamp(2rem, 6vw, 3.6rem);
    line-height: 1.1;
}

.offer-content p {
    margin-bottom: 30px;
    color: var(--gray);
}

.product-details {
    background: var(--black);
}

.product-details-grid {
    display: grid;
    gap: 35px;
}

.product-details-image {
    min-height: 480px;
    overflow: hidden;
    background:
        radial-gradient(circle at center, rgba(200, 149, 61, 0.1), transparent 55%),
        var(--black-card);
    border: 1px solid rgba(200, 149, 61, 0.16);
    border-radius: var(--radius);
}

.product-details-image .product-placeholder {
    min-height: 480px;
    font-size: 1.5rem;
}

.product-details-info {
    padding-block: 10px;
}

.product-category {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--gold-light);
    font-size: 0.85rem;
    font-weight: 800;
}

.product-details-info h1 {
    margin-bottom: 12px;
    color: var(--cream);
    font-size: clamp(2rem, 6vw, 3.5rem);
    line-height: 1.1;
}

.product-details-price {
    margin-bottom: 25px;
    color: var(--gold-light);
    font-size: 1.5rem;
    font-weight: 900;
    direction: ltr;
    text-align: right;
}

.product-description {
    max-width: 600px;
    margin-bottom: 30px;
    color: var(--gray);
}

.product-option {
    margin-bottom: 25px;
}

.product-option h3 {
    margin-bottom: 10px;
    color: var(--cream);
    font-size: 1rem;
}

.option-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.option-buttons button {
    min-width: 48px;
    min-height: 44px;
    padding-inline: 16px;
    background: var(--black-card);
    color: var(--cream-dark);
    border: 1px solid rgba(200, 149, 61, 0.2);
    border-radius: 6px;
    cursor: pointer;
    transition: 180ms ease;
}

.option-buttons button:hover,
.option-buttons button.active {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold-light);
}

.add-to-cart-btn {
    width: 100%;
    max-width: 360px;
    margin-top: 10px;
    border: 0;
    cursor: pointer;
}

.site-footer {
    background: #050505;
    color: var(--cream);
    padding-top: 60px;
    border-top: 1px solid rgba(200, 149, 61, 0.16);
}

.footer-grid {
    display: grid;
    gap: 40px;
}

.footer-logo {
    color: var(--gold-light);
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 0.15em;
}

.footer-brand p {
    max-width: 350px;
    margin-top: 14px;
    color: var(--gray);
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links h3,
.footer-contact h3 {
    margin-bottom: 8px;
    color: var(--cream);
}

.footer-links a,
.footer-contact a {
    color: var(--gray);
    transition: 180ms ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--gold-light);
}

.whatsapp-link {
    font-weight: 700;
}

.footer-bottom {
    margin-top: 50px;
    padding-block: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #69645f;
    font-size: 0.8rem;
}

.cart-section {
    background: var(--black);
}

.cart-layout {
    display: grid;
    gap: 30px;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cart-item {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 16px;
    padding: 16px;
    background: var(--black-card);
    border: 1px solid rgba(200, 149, 61, 0.15);
    border-radius: var(--radius);
    transition: 180ms ease;
}

.cart-item:hover {
    border-color: rgba(200, 149, 61, 0.35);
    box-shadow: var(--shadow);
}

.cart-item-image {
    width: 90px;
    height: 112px;
    overflow: hidden;
    background:
        radial-gradient(circle, rgba(200, 149, 61, 0.08), transparent 60%),
        #0b0b0b;
    border-radius: 8px;
}

.cart-item-image .product-placeholder {
    height: 100%;
    font-size: 0.7rem;
}

.cart-item-info {
    min-width: 0;
}

.cart-item-info h2 {
    margin-bottom: 8px;
    color: var(--cream);
    font-size: 1.05rem;
}

.cart-item-details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-bottom: 10px;
    color: var(--gray);
    font-size: 0.82rem;
}

.cart-item-price {
    margin-bottom: 14px;
    color: var(--gold-light);
    font-weight: 900;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.quantity-btn {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    background: var(--black-light);
    color: var(--cream);
    border: 1px solid rgba(200, 149, 61, 0.2);
    border-radius: 6px;
    cursor: pointer;
    transition: 180ms ease;
}

.quantity-btn:hover {
    color: var(--gold-light);
    border-color: var(--gold);
}

.cart-item-quantity {
    min-width: 30px;
    text-align: center;
    color: var(--cream);
    font-weight: 800;
}

.remove-cart-item {
    min-height: 34px;
    margin-inline-start: 8px;
    padding-inline: 14px;
    background: transparent;
    color: #a89f94;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    cursor: pointer;
    transition: 180ms ease;
}

.remove-cart-item:hover {
    color: var(--gold-light);
    border-color: rgba(200, 149, 61, 0.4);
}

.cart-item-total {
    grid-column: 1 / -1;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    color: var(--gold-light);
    font-size: 1rem;
    font-weight: 900;
    text-align: left;
    direction: ltr;
}

.cart-summary {
    height: fit-content;
    padding: 24px;
    background: var(--black-card);
    border: 1px solid rgba(200, 149, 61, 0.2);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.cart-summary h2 {
    margin-bottom: 24px;
    color: var(--cream);
    font-size: 1.25rem;
}

.summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 14px;
    color: var(--gray);
}

.summary-row strong {
    color: var(--cream);
}

.summary-divider {
    height: 1px;
    margin-block: 20px;
    background: rgba(255, 255, 255, 0.08);
}

.summary-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.summary-total span {
    color: var(--cream);
    font-weight: 700;
}

.summary-total strong {
    color: var(--gold-light);
    font-size: 1.35rem;
}

.checkout-btn {
    width: 100%;
    border: 0;
    cursor: pointer;
}

.continue-shopping {
    display: block;
    margin-top: 16px;
    color: var(--gray);
    text-align: center;
    font-size: 0.9rem;
    transition: 180ms ease;
}

.continue-shopping:hover {
    color: var(--gold-light);
}

.cart-empty {
    min-height: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: var(--black-card);
    border: 1px solid rgba(200, 149, 61, 0.15);
    border-radius: var(--radius);
    text-align: center;
}

.cart-empty-icon {
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    background: var(--black-light);
    border: 1px solid rgba(200, 149, 61, 0.22);
    border-radius: 50%;
    font-size: 1.7rem;
}

.cart-empty h2 {
    margin-bottom: 8px;
    color: var(--cream);
    font-size: 1.5rem;
}

.cart-empty p {
    margin-bottom: 24px;
    color: var(--gray);
}

@media (min-width: 600px) {

    .container {
        width: min(calc(100% - 48px), var(--container));
    }

    .category-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }

    .products-toolbar {
        gap: 24px;
    }

    .search-box {
        max-width: 520px;
    }

    .cart-item {
        grid-template-columns: 110px minmax(0, 1fr) auto;
        gap: 20px;
        padding: 20px;
    }

    .cart-item-image {
        width: 110px;
        height: 138px;
    }

    .cart-item-total {
        grid-column: auto;
        padding-top: 0;
        border-top: 0;
        align-self: start;
        text-align: right;
        direction: rtl;
    }

}

@media (min-width: 900px) {

    .container {
        width: min(calc(100% - 64px), var(--container));
    }

    .main-nav {
        display: flex;
    }

    .product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .hero {
        min-height: 700px;
    }

    .section {
        padding-block: 100px;
    }

    .products-toolbar {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .category-filter {
        justify-content: flex-end;
    }

    .product-details-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: center;
        gap: 70px;
    }

    .product-details-image {
        min-height: 620px;
    }

    .product-details-image .product-placeholder {
        min-height: 620px;
    }

    .add-to-cart-btn {
        width: auto;
    }

    .cart-layout {
        grid-template-columns: minmax(0, 1fr) 340px;
        align-items: start;
        gap: 40px;
    }

    .cart-summary {
        position: sticky;
        top: 90px;
    }

}

@media (max-width: 899px) {
    .main-nav {
        display: flex !important;
        gap: 12px;
    }
    .logo-name {
        display: none;
    }
}

@media (min-width: 1400px) {

    .container {
        max-width: 1280px;
    }

    .hero h1 {
        font-size: 6rem;
    }

}

.cart-wrap > * {
    min-width: 0;
}

.cart-thumb {
    flex-shrink: 0;
}

.cart-text {
    min-width: 0;
    overflow-wrap: anywhere;
}

@media (max-width: 767px) {
    .cart-wrap {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 20px !important;
    }

    .cart-row {
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 12px !important;
        gap: 12px !important;
    }

    .cart-item-main {
        width: 100%;
    }

    .cart-controls {
        width: 100%;
        justify-content: space-between !important;
    }

    .cart-aside {
        padding: 16px !important;
    }

    #product-details-container {
        grid-template-columns: minmax(0, 1fr) !important;
        padding: 16px !important;
        gap: 20px !important;
    }
}


/* Toast notification */
.toast {
  --toast-color: #55df8b;
  --toast-bg: #14291f;

  position: fixed;
  z-index: 99999;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));

  display: flex;
  align-items: center;
  gap: 12px;

  width: max-content;
  max-width: calc(100% - 32px);
  box-sizing: border-box;
  padding: 15px 18px 18px;

  color: #fff;
  background: var(--toast-bg);
  border: 1px solid color-mix(in srgb, var(--toast-color) 35%, transparent);
  border-radius: 14px;
  box-shadow: 0 12px 35px #0003;

  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 18px) scale(.96);
  pointer-events: none;
  overflow: hidden;

  transition:
    opacity .28s ease,
    transform .28s cubic-bezier(.2,.8,.2,1),
    visibility .28s;
}

.toast.show {
  opacity: 1;
  visibility: visible;
  animation: toast-enter 0.45s cubic-bezier(.16, 1, .3, 1) both;
}

@keyframes toast-enter {
  from {
    opacity: 0;
    transform: translate(-50%, 25px) scale(.92);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
}

.toast-success {
  --toast-color: #55df8b;
  --toast-bg: #14291f;
}

.toast-error {
  --toast-color: #ff7272;
  --toast-bg: #321b1e;
}

.toast-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--toast-color);
  background: color-mix(in srgb, var(--toast-color) 15%, transparent);

  font-size: 25px;
  font-weight: 700;
  line-height: 1;

  animation: toast-icon-pop .4s cubic-bezier(.2,1.5,.5,1) both;
}

.toast-content {
  font-family: inherit;
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--toast-color);
  transform-origin: left;
  animation: toast-progress 3s linear forwards;
}

@keyframes toast-icon-pop {
  from {
    opacity: 0;
    transform: scale(.4) rotate(-20deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

@keyframes toast-progress {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}

@media (max-width: 480px) {
  .toast {
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    padding: 13px 15px 16px;
    max-width: calc(100% - 24px);
    gap: 10px;
  }

.toast-icon {
    width: 32px;
    height: 32px;
    font-size: 23px;
  }

  .toast-content {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .toast,
  .toast-icon,
  .toast-progress {
    animation: none;
    transition: none;
  }
}

.toast.hiding {
    visibility: visible !important;
    pointer-events: none;
    animation: toast-drop 0.25s ease-in forwards !important;
}

@keyframes toast-drop {
    from {
        opacity: 1;
        transform: translate(-50%, 0);
    }

    to {
        opacity: 0;
        transform: translate(-50%, 60px);
    }
}


/* ===== تحسينات الشاشات الصغيرة (بدون تغيير الشكل العام) ===== */
.fa2seh,
.fa2sehh {
    white-space: nowrap;
}

.main-nav {
    min-width: 0;
}

@media (max-width: 480px) {
    .header-content {
        gap: 8px;
    }

    .main-nav {
        gap: 6px !important;
    }

    .fa2seh {
        padding: 5px 7px;
        font-size: 13px;
    }

    .fa2sehh {
        padding: 5px 7px;
        font-size: 12px;
    }

    /* منع تغيّر الحجم عند اللمس على الجوال حتى ما يتحرك الهيدر */
    .fa2seh:hover,
    .fa2seh:active {
        padding: 5px 7px;
        font-size: 13px;
    }

    .fa2sehh:hover,
    .fa2sehh:active {
        padding: 5px 7px;
        font-size: 12px;
    }

    .page-header {
        padding-block: 60px 45px;
    }

    .section {
        padding-block: 50px;
    }
}

@media (max-width: 360px) {
    .main-nav {
        gap: 4px !important;
    }

    .fa2seh {
        padding: 4px 6px;
        font-size: 12px;
    }

    .fa2sehh {
        padding: 4px 6px;
        font-size: 11px;
    }

    .fa2seh:hover,
    .fa2seh:active {
        padding: 4px 6px;
        font-size: 12px;
    }

    .fa2sehh:hover,
    .fa2sehh:active {
        padding: 4px 6px;
        font-size: 11px;
    }

    .logo-image {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .cart-link {
        width: 34px;
        height: 34px;
    }
}

@media (max-width: 767px) {
    #product-details-container .product-details-image,
    #product-details-container .product-details-image .product-placeholder {
        min-height: 0;
    }
}

/* وصف بسكرول: ما بيكبّر الكرت مهما كان النص طويل */
.desc-scroll {
    padding-inline-end: 6px;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--gold-dark) transparent;
}

.desc-scroll::-webkit-scrollbar {
    width: 5px;
}

.desc-scroll::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 4px;
}
