/* Flash announcement shared with the homepage. */
.flash-announcement {
    background: #3c2925;
    color: #fffaf5;
    position: relative;
    z-index: 2;
    border-bottom: 1px solid #db8f26;
}

.flash-announcement-inner {
    min-height: 64px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    color: inherit;
    text-decoration: none;
}

.flash-announcement-inner:hover { color: #fffaf5; text-decoration: none; }
.flash-announcement-copy { display: flex; flex-direction: column; min-width: 0; gap: 1px; }
.flash-announcement-label { display: inline-flex; align-items: center; gap: 7px; padding-left: 18px; border-left: 1px solid rgba(255, 211, 126, .55); color: #ffd37e; font-size: .84rem; font-weight: 800; white-space: nowrap; }
.flash-announcement-title { color: #fff; font-size: 1rem; white-space: nowrap; }
.flash-announcement-copy small { color: #d9c8bf; font-size: .76rem; }
.flash-announcement-link { display: inline-flex; align-items: center; gap: 8px; padding: 8px 0 8px 2px; color: #ffd37e; font-size: .88rem; font-weight: 800; white-space: nowrap; transition: color .2s ease, transform .2s ease; }
.flash-announcement-link i { font-size: .78rem; margin-right: 3px; }
.flash-announcement-inner:hover .flash-announcement-link { color: #fff; transform: translateX(-3px); }

.sale-page { background: #fffaf5; color: #3c2925; direction: rtl; text-align: right; }
.sale-page .navbar { background: rgba(255, 250, 245, .97) !important; box-shadow: 0 2px 14px rgba(60, 41, 37, .08); }
.sale-page .navbar-brand { color: #b02c60 !important; }
.sale-page .nav-link { color: #5d4842; }
.sale-page .nav-link.active, .sale-page .nav-link:hover { color: #b02c60 !important; }
.sale-page .navbar-collapse { direction: rtl; }
.cart-toggle { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 6px; background: #3c2925; color: #fff; padding: 9px 13px; margin-right: 18px; cursor: pointer; font: inherit; font-size: .86rem; white-space: nowrap; }
.cart-toggle:hover { background: #b02c60; }
.cart-toggle i { color: #ffd37e; }
.cart-toggle strong { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 4px; border-radius: 50%; background: #db8f26; color: #fff; font-size: .75rem; }

.sale-hero { padding: 68px 0 72px; overflow: hidden; }
.sale-hero-grid { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(320px, .97fr); align-items: center; gap: 72px; }
.sale-hero-copy { padding-right: 4px; }
.sale-kicker, .section-eyebrow { color: #b02c60; font-size: .84rem; font-weight: 800; letter-spacing: .02em; }
.sale-kicker { display: inline-flex; align-items: center; gap: 8px; border-bottom: 2px solid #edc77f; padding-bottom: 7px; }
.sale-kicker i { color: #db8f26; }
.sale-hero h1 { color: #3c2925; font-size: clamp(2.25rem, 4vw, 4.25rem); line-height: 1.38; font-weight: 400; margin: 20px 0 18px; }
.sale-hero h1 strong { color: #b02c60; font-weight: 800; }
.sale-hero-copy > p { color: #705e58; font-size: 1.08rem; line-height: 2.05; max-width: 560px; margin-bottom: 28px; }
.sale-primary-button { display: inline-flex; align-items: center; gap: 12px; background: #b02c60; color: #fff; border-radius: 7px; padding: 13px 22px; font-weight: 700; transition: background .2s ease, transform .2s ease, box-shadow .2s ease; }
.sale-primary-button:hover { color: #fff; background: #8e214c; text-decoration: none; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(176, 44, 96, .18); }
.sale-primary-button i { font-size: .85rem; }
.sale-hero-visual { position: relative; max-width: 470px; justify-self: center; }
.sale-hero-visual::before { content: ''; position: absolute; inset: 28px -22px -22px 22px; border: 1px solid #ebc873; border-radius: 50% 50% 8px 8px; transform: rotate(-4deg); }
.sale-hero-visual img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px 12px 90px 12px; position: relative; box-shadow: 18px 18px 0 #f2dfbb; }
.sale-hero-sticker { position: absolute; z-index: 1; top: 20px; right: -27px; display: grid; place-content: center; width: 92px; height: 92px; border-radius: 50%; background: #db8f26; color: white; text-align: center; line-height: 1.35; font-size: .88rem; transform: rotate(9deg); box-shadow: 0 7px 14px rgba(60, 41, 37, .16); }
.sale-hero-sticker strong { font-size: 1.08rem; }
.sale-hero-caption { position: absolute; z-index: 2; bottom: -15px; left: -25px; display: inline-flex; align-items: center; gap: 8px; background: #3c2925; color: #fff; padding: 11px 15px; border-radius: 5px; font-size: .86rem; box-shadow: 0 7px 18px rgba(60, 41, 37, .17); }
.sale-hero-caption i { color: #ffd37e; }

.offers-section { padding: 60px 0 70px; background: #f5eadb; }
.section-heading { text-align: right; }
.compact-heading { margin-bottom: 22px; }
.section-heading h2 { color: #3c2925; font-size: 2.1rem; margin: 7px 0 0; font-weight: 800; }
.offers-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.offer-item { display: flex; align-items: center; gap: 17px; padding: 21px 24px; border-radius: 8px; background: #fffaf5; border: 1px solid rgba(176, 44, 96, .1); }
.offer-item h3 { color: #3c2925; font-size: 1.13rem; margin: 0 0 6px; font-weight: 800; }
.offer-item p { color: #705e58; margin: 0; font-size: .95rem; }
.offer-icon { flex: 0 0 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #b02c60; font-size: 1.22rem; }
.offer-discount .offer-icon { background: #db8f26; }
.offer-note { color: #705e58; font-size: .9rem; margin: 20px 0 0; }
.offer-note i { color: #b02c60; margin-left: 5px; }

.products-section { padding: 82px 0 90px; }
.products-heading { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-bottom: 32px; }
.products-heading h2 { font-size: 2.6rem; }
.products-heading p { color: #705e58; margin: 10px 0 0; }
.products-tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.search-box { display: flex; align-items: center; gap: 9px; min-width: 220px; height: 44px; padding: 0 13px; border: 1px solid #e1cec1; border-radius: 6px; background: #fff; color: #9a8176; margin: 0; }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; color: #3c2925; font-family: inherit; font-size: .9rem; }
.search-box input::placeholder { color: #9a8176; }
.category-tabs { display: flex; padding: 4px; gap: 3px; background: #f5eadb; border-radius: 6px; }
.category-tab { border: 0; background: transparent; border-radius: 4px; color: #705e58; padding: 8px 13px; cursor: pointer; font-family: inherit; font-size: .88rem; }
.category-tab.is-active, .category-tab:hover { background: #fff; color: #b02c60; box-shadow: 0 2px 8px rgba(60, 41, 37, .08); }
.products-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
.product-card { min-width: 0; background: #fff; border: 1px solid #eee0d4; border-radius: 8px; overflow: hidden; transition: transform .22s ease, box-shadow .22s ease; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 16px 30px rgba(60, 41, 37, .12); }
.product-card[hidden] { display: none; }
.product-image-wrap { position: relative; aspect-ratio: 1; background: #f2e5d6; overflow: hidden; }
.product-image { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .35s ease; }
.product-image-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; width: 100%; height: 100%; }
.product-image-gallery .product-image { min-width: 0; }
.product-card:hover .product-image { transform: scale(1.04); }
.product-category { position: absolute; z-index: 1; top: 13px; right: 13px; padding: 5px 10px; border-radius: 4px; background: #3c2925; color: #fff; font-size: .78rem; }
.pastry-tag { background: #db8f26; }
.product-body { padding: 19px 19px 17px; }
.product-title-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.product-title-row h3 { color: #3c2925; font-size: 1.2rem; margin: 0; font-weight: 800; }
.product-title-row i { color: #b02c60; font-size: 1.15rem; }
.product-description { color: #806c64; font-size: .87rem; line-height: 1.9; min-height: 52px; margin: 10px 0 14px; }
.product-footer { display: flex; align-items: end; justify-content: space-between; gap: 8px; border-top: 1px solid #f0e5dc; padding-top: 13px; }
.product-price { display: flex; flex-direction: column; align-items: flex-start; }
.product-price strong { color: #b02c60; font-size: 1.13rem; line-height: 1.3; }
.product-price span { color: #9a8176; font-size: .72rem; margin-top: 3px; }
.product-add-cart { display: inline-flex; align-items: center; justify-content: center; gap: 6px; color: #fff; background: #218c61; border: 0; padding: 8px 11px; border-radius: 5px; font: inherit; font-size: .82rem; font-weight: 700; white-space: nowrap; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.product-add-cart:hover, .product-add-cart.is-added { color: #fff; background: #176d4a; }
.product-add-cart:active { transform: scale(.97); }
.no-products { text-align: center; color: #705e58; background: #f5eadb; padding: 20px; border-radius: 6px; }

.telegram-section { background: #3c2925; color: #fffaf5; padding: 58px 0; }
.telegram-section-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.telegram-section .section-eyebrow { color: #ffd37e; }
.telegram-section h2 { color: #fff; font-size: 1.85rem; margin: 8px 0 8px; }
.telegram-section p { color: #dfcbc1; margin: 0; }
.telegram-note { color: #ffd37e; margin-right: 8px; }
.contact-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.phone-contact-button, .telegram-contact-button { display: inline-flex; align-items: center; gap: 10px; color: #fff; padding: 13px 20px; border-radius: 7px; font-weight: 700; white-space: nowrap; transition: background .2s ease, transform .2s ease; }
.phone-contact-button { background: #218c61; }
.phone-contact-button:hover { color: #fff; background: #176d4a; text-decoration: none; transform: translateY(-2px); }
.telegram-contact-button { background: #2388c9; }
.telegram-contact-button:hover { color: #fff; background: #176ca3; text-decoration: none; transform: translateY(-2px); }
.sale-footer { border-top-color: #db8f26; }
.sale-footer .small a { color: #ffd37e; }

/* The cart is intentionally local-only: there is no checkout or message action here. */
.cart-overlay { position: fixed; inset: 0; z-index: 1040; background: rgba(60, 41, 37, .42); }
.cart-panel { position: fixed; z-index: 1050; top: 0; right: 0; display: flex; flex-direction: column; width: min(100%, 420px); height: 100vh; padding: 28px 23px 22px; background: #fffaf5; box-shadow: -12px 0 34px rgba(60, 41, 37, .18); transform: translateX(105%); transition: transform .25s ease; }
.cart-is-open .cart-panel { transform: translateX(0); }
.cart-panel-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; padding-bottom: 20px; border-bottom: 1px solid #ead9ce; }
.cart-panel-header h2 { color: #3c2925; font-size: 1.55rem; margin: 5px 0 0; }
.cart-close { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; border: 1px solid #e5d0c1; border-radius: 50%; background: transparent; color: #705e58; cursor: pointer; font-size: 1rem; }
.cart-close:hover { background: #3c2925; color: #fff; }
.cart-items { flex: 1; overflow-y: auto; padding: 18px 0; }
.cart-item { display: grid; grid-template-columns: 56px minmax(0, 1fr) 30px; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid #ead9ce; }
.cart-item img { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; }
.cart-item-details { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.cart-item-details strong { overflow: hidden; color: #3c2925; font-size: .9rem; text-overflow: ellipsis; white-space: nowrap; }
.cart-item-details > span { color: #b02c60; font-size: .77rem; }
.cart-quantity { display: inline-flex; align-items: center; align-self: flex-start; gap: 8px; color: #705e58; font-size: .8rem; }
.cart-quantity button, .cart-item-remove { display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid #e5d0c1; border-radius: 4px; background: #fff; color: #705e58; cursor: pointer; font-size: .65rem; }
.cart-quantity button:hover { border-color: #b02c60; color: #b02c60; }
.cart-item-remove { border: 0; background: transparent; color: #b02c60; font-size: .82rem; }
.cart-item-remove:hover { color: #8e214c; }
.cart-empty { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 150px; color: #806c64; font-size: .92rem; }
.cart-empty i { color: #db8f26; }
.cart-panel-footer { border-top: 1px solid #ead9ce; padding-top: 16px; }
.cart-total { display: flex; align-items: baseline; gap: 7px; color: #806c64; font-size: .88rem; }
.cart-total strong { color: #b02c60; font-size: 1.3rem; }
.cart-price-total { margin-top: 9px; padding-top: 9px; border-top: 1px solid #ead9ce; }
.cart-clear { display: inline-flex; align-items: center; gap: 7px; margin-top: 15px; padding: 0; border: 0; background: transparent; color: #b02c60; cursor: pointer; font: inherit; font-size: .82rem; }
.cart-clear:disabled { color: #b9aaa3; cursor: not-allowed; }

@media (max-width: 991px) {
    .sale-hero-grid { gap: 45px; }
    .sale-hero h1 { font-size: 3rem; }
    .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    .flash-announcement-inner { min-height: 74px; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; padding: 9px 15px; }
    .flash-announcement-label { padding-left: 10px; font-size: .75rem; }
    .flash-announcement-title { font-size: .87rem; white-space: normal; line-height: 1.5; }
    .flash-announcement-copy small { font-size: .69rem; }
    .flash-announcement-link { font-size: .75rem; }
    .sale-hero { padding: 43px 0 65px; }
    .sale-hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .sale-hero h1 { font-size: 2.45rem; }
    .sale-hero-visual { width: min(90%, 420px); }
    .sale-hero-caption { left: -10px; }
    .offers-grid { grid-template-columns: 1fr; }
    .products-heading { display: block; }
    .products-tools { margin-top: 22px; justify-content: flex-start; }
    .products-grid { gap: 16px; }
    .telegram-section-inner { display: block; }
    .contact-actions { margin-top: 22px; }
}

@media (max-width: 991px) {
    .sale-nav .container { flex-wrap: wrap; }
    .sale-nav .navbar-brand { margin-left: auto; }
    .sale-nav .cart-toggle { margin-right: 8px; padding: 8px 10px; }
    .sale-nav .navbar-collapse { flex-basis: 100%; order: 4; }
}

@media (max-width: 480px) {
    .sale-hero h1 { font-size: 2rem; }
    .sale-hero-copy > p { font-size: .98rem; }
    .section-heading h2, .products-heading h2 { font-size: 1.85rem; }
    .products-grid { grid-template-columns: 1fr; }
    .products-tools { display: block; }
    .search-box { width: 100%; }
    .category-tabs { margin-top: 10px; justify-content: center; }
    .category-tab { flex: 1; }
    .telegram-section h2 { font-size: 1.5rem; line-height: 1.6; }
}
