* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
    padding-bottom: 90px;
    /* Space for bottom nav */
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header */
.app-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    background: var(--secondary-color);
    color: white;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.header-logo {
    width: 100px;
    /* height: 40px;*/
    /* background-color: rgba(255, 255, 255, 0.2);*/
    color: white;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.header-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.header-title {
    font-size: 16px;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.header-actions {
    display: flex;
    gap: 5px;
}

.action-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    position: relative;
    cursor: pointer;
}

.badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--secondary-color);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 10px;
    border: 2px solid var(--bg-color);
}

/* Container */
.container {
    padding: 0 20px;
}

/* Section Header */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 15px 0 15px 0;
}

.section-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.section-header a {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 500;
    display: flex;
    align-items: center;
}

/* Horizontal Scroll Containers */
.horizontal-scroll {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding-left: 20px;
    padding-right: 20px;
    scroll-padding-left: 20px;
    scroll-padding-right: 20px;
}

.horizontal-scroll::-webkit-scrollbar {
    display: none;
}

/* Scroll Arrows */
.scroll-wrapper {
    position: relative;
}

.scroll-arrow {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
    color: var(--primary-color);
    font-size: 20px;
    z-index: 10;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.scroll-arrow.visible {
    opacity: 1;
    pointer-events: auto;
}

.scroll-left {
    left: 5px;
}

.scroll-right {
    right: 5px;
}

/* Category Card */
.category-card {
    min-width: 100px;
    width: 100px;
    background: var(--card-bg);
    border-radius: 16px;
    padding: 15px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    scroll-snap-align: start;
    border: 1px solid var(--border-color);
    text-align: center;
}

.cat-img-wrap {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cat-img-wrap.search-bg {
    background-color: var(--primary-color);
    color: white;
    font-size: 28px;
}

.cat-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-card span {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.2;
}

/* Large Product Card (En Beğenilenler) */
.large-product-card {
    min-width: 260px;
    width: 260px;
    background: var(--card-bg);
    border-radius: 20px;
    padding: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    scroll-snap-align: start;
    border: 1px solid var(--border-color);
}

.large-product-img {
    width: 100%;
    height: 160px;
    border-radius: 16px;
    object-fit: cover;
    margin-bottom: 12px;
    position: relative;
}

.rating-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: white;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--text-dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.rating-badge i {
    color: #ff9800;
}

.l-prod-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.l-prod-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.l-prod-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.add-btn {
    width: 36px;
    height: 36px;
    background-color: #00c853;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.products-grid.double-row {
    grid-template-columns: repeat(2, 1fr);
}

.products-grid.single-row {
    grid-template-columns: repeat(1, 1fr);
}

.products-grid.single-row .grid-product-img {
    height: 180px;
}

.grid-product-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-color);
}

.grid-product-img {
    width: 100%;
    height: 120px;
    border-radius: 12px;
    object-fit: cover;
    margin-bottom: 10px;
}

.grid-prod-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 5px 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.grid-prod-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
}

/* Bottom Nav */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: transparent;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 10px 10px 32px 10px;
    z-index: 1000;
    pointer-events: none;
    border: none;
    box-shadow: none;
    gap: 0px;
}

.bottom-nav-pill {
    background: white;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 8px 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    pointer-events: auto;
    flex: 1;
    max-width: 170px;
    height: 58px;
}

.bottom-nav-center {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    pointer-events: auto;
    position: relative;
    width: 72px;
    height: 72px;
    margin-left: -22px;
    margin-right: -22px;
    z-index: 10;
    margin-bottom: -5px;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: #8e8e93;
    font-size: 10px;
    font-weight: 600;
    position: relative;
    text-decoration: none;
    flex: 1;
}

.bottom-nav .nav-item>span {
    display: block;
    width: 100%;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
}

.nav-item.active {
    color: var(--primary-color);
}

.nav-icon {
    font-size: 20px;
    line-height: 1;
}

.nav-item.cart-item {
    margin-top: 0;
}

.cart-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    border: 4px solid var(--card-bg) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cart-circle:hover {
    transform: translateY(-2px);
}

.cart-circle i {
    font-size: 24px;
    margin-top: 4px;
}

.cart-circle .center-label {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.cart-circle .badge {
    position: absolute;
    top: -4px !important;
    right: -4px !important;
    background-color: var(--secondary-color) !important;
    color: white !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    padding: 3px 6px !important;
    border-radius: 50% !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}

.cart-circle.package-gold {
    background: linear-gradient(135deg, #ffe58f 0%, #d4b106 50%, #ad8b00 100%);
    box-shadow: 0 8px 25px rgba(212, 177, 6, 0.4);
}

.cart-circle.package-silver {
    background: linear-gradient(135deg, #fdfdfd 0%, #e1e4e6 20%, #b8babd 40%, #e8ebed 60%, #9ba0a3 80%, #d8dbdd 100%) !important;
    box-shadow: 0 8px 25px rgba(184, 186, 189, 0.55), inset 0 2px 4px rgba(255, 255, 255, 0.9) !important;
    color: #1f2937 !important;
}

.cart-circle.package-silver i,
.cart-circle.package-silver .center-label {
    color: #1f2937 !important;
}

.cart-circle.package-bronze {
    background: linear-gradient(135deg, #f3a97d 0%, #c86b32 50%, #8c3f15 100%);
    box-shadow: 0 8px 25px rgba(200, 107, 50, 0.35);
}

.cart-circle.package-emerald {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%) !important;
    box-shadow: 0 8px 25px rgba(56, 239, 125, 0.45), inset 0 2px 4px rgba(255, 255, 255, 0.4) !important;
    color: #ffffff !important;
}

.cart-circle.package-emerald i,
.cart-circle.package-emerald .center-label {
    color: #ffffff !important;
}

.cart-circle.package-ruby {
    background: linear-gradient(135deg, #cb2d3e 0%, #ef473a 100%) !important;
    box-shadow: 0 8px 25px rgba(239, 71, 58, 0.45), inset 0 2px 4px rgba(255, 255, 255, 0.4) !important;
    color: #ffffff !important;
}

.cart-circle.package-ruby i,
.cart-circle.package-ruby .center-label {
    color: #ffffff !important;
}

.cart-circle.package-sapphire {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%) !important;
    box-shadow: 0 8px 25px rgba(42, 82, 152, 0.45), inset 0 2px 4px rgba(255, 255, 255, 0.4) !important;
    color: #ffffff !important;
}

.cart-circle.package-sapphire i,
.cart-circle.package-sapphire .center-label {
    color: #ffffff !important;
}

.cart-circle.package-midnight {
    background: linear-gradient(135deg, #141e30 0%, #243b55 100%) !important;
    box-shadow: 0 8px 25px rgba(36, 59, 85, 0.45), inset 0 2px 4px rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
}

.cart-circle.package-midnight i,
.cart-circle.package-midnight .center-label {
    color: #ffffff !important;
}

.cart-circle.package-purple_haze {
    background: linear-gradient(135deg, #7028e4 0%, #e5b2ca 100%) !important;
    box-shadow: 0 8px 25px rgba(112, 40, 228, 0.45), inset 0 2px 4px rgba(255, 255, 255, 0.4) !important;
    color: #ffffff !important;
}

.cart-circle.package-purple_haze i,
.cart-circle.package-purple_haze .center-label {
    color: #ffffff !important;
}

.cart-circle.package-rainbow {
    background: linear-gradient(135deg, #ff007f 0%, #7f00ff 50%, #00f0ff 100%) !important;
    box-shadow: 0 8px 25px rgba(127, 0, 255, 0.45), inset 0 2px 4px rgba(255, 255, 255, 0.5) !important;
    color: #ffffff !important;
}

.cart-circle.package-rainbow i,
.cart-circle.package-rainbow .center-label {
    color: #ffffff !important;
}

.cart-circle.package-sunset {
    background: linear-gradient(135deg, #f857a6 0%, #ff5858 100%) !important;
    box-shadow: 0 8px 25px rgba(255, 88, 88, 0.45), inset 0 2px 4px rgba(255, 255, 255, 0.4) !important;
    color: #ffffff !important;
}

.cart-circle.package-sunset i,
.cart-circle.package-sunset .center-label {
    color: #ffffff !important;
}

.cart-circle.package-ocean {
    background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%) !important;
    box-shadow: 0 8px 25px rgba(0, 114, 255, 0.45), inset 0 2px 4px rgba(255, 255, 255, 0.4) !important;
    color: #ffffff !important;
}

.cart-circle.package-ocean i,
.cart-circle.package-ocean .center-label {
    color: #ffffff !important;
}

.bottom-brand-disclaimer {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    color: #8e8e93;
    font-weight: 500;
    pointer-events: auto;
    white-space: nowrap;
    text-align: center;
}

.bottom-brand-disclaimer a {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
}

/* Classic Footer Style Overrides */
.bottom-nav.nav-classic {
    background: white;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
    padding: 0 15px env(safe-area-inset-bottom) 15px;
    height: calc(64px + env(safe-area-inset-bottom));
    pointer-events: auto;
    gap: 0px;
    justify-content: space-around;
    border-top: 1px solid var(--border-color);
}

.bottom-nav.nav-classic .bottom-nav-pill {
    background: transparent;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 6px 0 14px 0;
    height: 64px;
    max-width: none;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.bottom-nav.nav-classic .bottom-nav-center {
    width: 56px;
    height: 56px;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 24px;
}

.bottom-nav.nav-classic .cart-circle {
    width: 56px;
    height: 56px;
    border: 4px solid var(--bg-color) !important;
}

.bottom-nav.nav-classic .cart-circle i {
    font-size: 20px;
    margin-top: 0;
}

.bottom-nav.nav-classic .cart-circle .center-label {
    display: none;
}

.bottom-nav.nav-classic .cart-circle .badge {
    top: -4px !important;
    right: -4px !important;
}

.bottom-nav.nav-classic .bottom-brand-disclaimer {
    bottom: calc(2px + env(safe-area-inset-bottom));
    font-size: 9px;
}

html.dark-mode .bottom-nav.nav-classic {
    background: var(--card-bg) !important;
    border-top: 1px solid var(--border-color) !important;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.4) !important;
}

html.dark-mode .bottom-nav.nav-classic .bottom-nav-pill {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Glassmorphism Bottom Nav (Bulanık Cam) */
.bottom-nav.nav-glass {
    background: transparent;
    box-shadow: none;
    border: none;
}

.bottom-nav.nav-glass .bottom-nav-pill {
    background: rgba(255, 255, 255, 0.72) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08) !important;
}

.bottom-nav.nav-glass .cart-circle {
    border-color: rgba(255, 255, 255, 0.5) !important;
}

html.dark-mode .bottom-nav.nav-glass .bottom-nav-pill {
    background: rgba(31, 41, 55, 0.72) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
}

html.dark-mode .bottom-nav.nav-glass .cart-circle {
    border-color: rgba(31, 41, 55, 0.5) !important;
}

/* Bubbles Bottom Nav (Bağımsız Balonlar) */
.bottom-nav.nav-bubbles {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 10px 10px 24px 10px !important;
    pointer-events: none;
    gap: 12px;
    justify-content: center;
}

.bottom-nav.nav-bubbles .bottom-nav-pill {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    height: auto !important;
    max-width: none !important;
    display: flex !important;
    gap: 10px;
    pointer-events: auto;
    flex: initial !important;
}

.bottom-nav.nav-bubbles .bottom-nav-center {
    pointer-events: auto;
    margin-left: -5px;
    margin-right: -5px;
    margin-bottom: 0;
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bottom-nav.nav-bubbles .bottom-nav-center .cart-item {
    width: auto !important;
    height: auto !important;
    flex: none !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    border: none !important;
    transform: none !important;
}

.bottom-nav.nav-bubbles .cart-circle {
    width: 68px;
    height: 68px;
    border: none !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
}

.bottom-nav.nav-bubbles .cart-circle .badge {
    top: -2px !important;
    right: -2px !important;
}

.bottom-nav.nav-bubbles .cart-circle i {
    font-size: 22px;
    margin-top: 0;
}

.bottom-nav.nav-bubbles .cart-circle .center-label {
    display: none;
}

.bottom-nav.nav-bubbles .bottom-nav-pill .nav-item {
    background: #ffffff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    flex: none;
    transition: transform 0.2s, background-color 0.2s;
}

.bottom-nav.nav-bubbles .bottom-nav-pill .nav-item span {
    display: none !important;
}

.bottom-nav.nav-bubbles .bottom-nav-pill .nav-item.active {
    background: var(--primary-color);
    color: #ffffff !important;
    transform: translateY(-4px);
}

.bottom-nav.nav-bubbles .bottom-nav-pill .nav-item.active i {
    color: #ffffff !important;
}

html.dark-mode .bottom-nav.nav-bubbles .bottom-nav-pill .nav-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

html.dark-mode .bottom-nav.nav-bubbles .bottom-nav-pill .nav-item.active {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

/* Neon Glow Bottom Nav (Gece Parıltısı Rıhtımı) */
.bottom-nav.nav-neon {
    background: transparent;
    box-shadow: none;
    border: none;
}

.bottom-nav.nav-neon .bottom-nav-pill {
    background: #0d0e12 !important;
    border: 2px solid var(--primary-color) !important;
    box-shadow: 0 8px 30px color-mix(in srgb, var(--primary-color) 35%, transparent) !important;
}

.bottom-nav.nav-neon .nav-item {
    color: #8e8e93;
}

.bottom-nav.nav-neon .nav-item.active {
    color: var(--primary-color) !important;
}

.bottom-nav.nav-neon .cart-circle {
    border: 4px solid #0d0e12 !important;
}

/* OfoSoft Mavisi Bottom Nav Style */
.bottom-nav.nav-ofosoft {
    background: transparent;
    box-shadow: none;
    border: none;
}

.bottom-nav.nav-ofosoft .bottom-nav-pill {
    background: linear-gradient(135deg, #0d1b2a 0%, #0c2340 100%) !important;
    border: 2px solid #00c6ff !important;
    box-shadow: 0 8px 30px rgba(0, 198, 255, 0.3) !important;
}

.bottom-nav.nav-ofosoft .nav-item {
    color: rgba(255, 255, 255, 0.6) !important;
}

.bottom-nav.nav-ofosoft .nav-item.active {
    color: #00c6ff !important;
}

.bottom-nav.nav-ofosoft .cart-circle {
    border: 4px solid #0c2340 !important;
}

/* Floating Curved Hanging Header Style */
.app-header.header-curved {
    width: calc(100% - 24px);
    left: 12px;
    right: 12px;
    top: 12px;
    border-radius: 20px !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.app-header.header-curved+main {
    padding-top: 85px !important;
}

/* Glassmorphism Header (Bulanık Cam) */
.app-header.header-glass {
    background: rgba(255, 255, 255, 0.72) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    color: var(--text-dark) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.app-header.header-glass .header-title {
    color: var(--text-dark) !important;
}

.app-header.header-glass .action-icon {
    background-color: rgba(0, 0, 0, 0.05) !important;
    color: var(--text-dark) !important;
}

.app-header.header-glass .header-menu-btn {
    color: var(--text-dark) !important;
}

html.dark-mode .app-header.header-glass {
    background: rgba(31, 41, 55, 0.72) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

html.dark-mode .app-header.header-glass .header-title {
    color: var(--text-dark) !important;
}

html.dark-mode .app-header.header-glass .action-icon {
    background-color: rgba(255, 255, 255, 0.08) !important;
    color: var(--text-dark) !important;
}

html.dark-mode .app-header.header-glass .header-menu-btn {
    color: var(--text-dark) !important;
}

.app-header.header-glass+main {
    padding-top: 85px !important;
}

/* Bubbles Header Style (Bağımsız Balonlar) */
.app-header.header-bubbles {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 12px 15px !important;
    pointer-events: none;
}

.app-header.header-bubbles .header-left {
    background: var(--secondary-color);
    padding: 8px 16px;
    border-radius: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    pointer-events: auto;
    max-width: max-content;
    height: 52px;
}

.app-header.header-bubbles .header-logo {
    background-color: rgba(255, 255, 255, 0.15) !important;
}

.app-header.header-bubbles .header-actions {
    pointer-events: auto;
}

.app-header.header-bubbles .action-icon {
    background: var(--secondary-color) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    width: 52px;
    height: 52px;
}

html.dark-mode .app-header.header-bubbles .header-left {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

html.dark-mode .app-header.header-bubbles .action-icon {
    background: var(--card-bg) !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

html.dark-mode .app-header.header-bubbles .header-left .header-title {
    color: var(--text-dark) !important;
}

html.dark-mode .app-header.header-bubbles .header-menu-btn {
    color: var(--text-dark) !important;
}

.app-header.header-bubbles+main {
    padding-top: 90px !important;
}

/* Neon Glow Header Style (Gece Parıltısı) */
.app-header.header-neon {
    background: #0d0e12 !important;
    border-bottom: 2px solid var(--primary-color);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    box-shadow: 0 5px 20px color-mix(in srgb, var(--primary-color) 35%, transparent) !important;
}

.app-header.header-neon .header-title {
    color: #ffffff !important;
}

.app-header.header-neon .header-menu-btn {
    color: #ffffff !important;
}

.app-header.header-neon .action-icon {
    background-color: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
}

.app-header.header-neon+main {
    padding-top: 85px !important;
}

/* OfoSoft Mavisi Header Style */
.app-header.header-ofosoft {
    background: linear-gradient(135deg, #0d1b2a 0%, #0072ff 100%) !important;
    border-bottom: 2px solid #00c6ff !important;
    box-shadow: 0 5px 25px rgba(0, 198, 255, 0.4) !important;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.app-header.header-ofosoft .header-title {
    color: #ffffff !important;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.app-header.header-ofosoft .header-menu-btn {
    color: #ffffff !important;
    /*  background-color: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;*/
}

.app-header.header-ofosoft .action-icon {
    /*  background-color: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;*/
    color: #ffffff !important;
}

.app-header.header-ofosoft+main {
    padding-top: 85px !important;
}

/* Fallback/classic main spacing if dynamic class is removed */
.app-header.header-classic+main {
    padding-top: 85px !important;
}

/* AJAX Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-color);
    z-index: 999;
    display: none;
    flex-direction: column;
    padding-bottom: 90px;
}

.search-header {
    padding: 15px 20px;
    background: var(--card-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-back {
    font-size: 24px;
    color: var(--text-dark);
    cursor: pointer;
}

.search-input-box {
    flex: 1;
    background: #f3f4f6;
    border-radius: 12px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    height: 44px;
}

.search-input-box i {
    color: #9ca3af;
    font-size: 18px;
}

.search-input-box input {
    border: none;
    background: transparent;
    width: 100%;
    height: 100%;
    padding: 0 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    outline: none;
}

.search-clear {
    background: #e5e7eb;
    color: #4b5563;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    display: none;
}

.search-results {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

/* Search Result Card */
.search-result-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 12px;
    display: flex;
    gap: 15px;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-color);
    margin-bottom: 12px;
}

.s-res-img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    background: #f3f4f6;
}

.s-res-info {
    flex: 1;
}

.s-res-title {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 4px 0;
}

.s-res-cat {
    font-size: 11px;
    background: #f3f4f6;
    padding: 2px 8px;
    border-radius: 8px;
    color: var(--text-muted);
    display: inline-block;
}

.s-res-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
}

/* Skeleton & States */
.search-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.search-empty i {
    font-size: 48px;
    color: #d1d5db;
    margin-bottom: 10px;
}

/* Tüm Menüler Overlay Styles */
.am-cat-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #f3f4f6;
    color: var(--text-dark);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.am-cat-pill img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
}

.am-cat-pill.active {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.am-cat-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 20px 0 15px 0;
    position: relative;
}

.am-cat-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #e5e7eb;
}

/* List View */
.am-list-view .am-product-card {
    display: flex;
    background: white;
    border-radius: 16px;
    padding: 12px;
    gap: 15px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-color);
    align-items: center;
}

.am-list-view .am-prod-img-wrap {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #f3f4f6;
}

.am-list-view .am-prod-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.am-list-view .am-prod-action {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 80px;
}

/* Grid View */
.am-grid-view .am-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
}

.am-grid-view .am-product-card {
    background: white;
    border-radius: 16px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-color);
}

.am-grid-view .am-prod-img-wrap {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    background: #f3f4f6;
    margin-bottom: 5px;
}

.am-grid-view .am-prod-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.am-grid-view .am-prod-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.am-prod-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-img {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #d1d5db;
}

.am-prod-title {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

.am-prod-desc {
    font-size: 11px;
    color: var(--text-muted);
    margin: 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.am-grid-view .am-prod-desc {
    display: none;
}

.am-prod-cal {
    font-size: 11px;
    font-weight: 600;
    color: #f97316;
}

.am-prod-price {
    font-size: 15px;
    font-weight: 800;
    color: var(--primary-color);
}

/* Scroll To Top */
.scroll-to-top {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 1001;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Product Detail Bottom Sheet */
.pd-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pd-sheet {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    max-height: 85vh;
    background: white;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    z-index: 1051;
    display: flex;
    flex-direction: column;
    transition: bottom 0.3s ease;
    overflow: hidden;
}

.pd-sheet.open {
    bottom: 0;
}

.pd-overlay.open {
    display: block;
    opacity: 1;
}

.pd-img-header {
    position: relative;
    width: 100%;
    height: 250px;
    background: #f3f4f6;
}

.pd-img-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes pulseWave {
    0% {
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1), 0 0 0 0 rgba(0, 0, 0, 0.15);
    }

    70% {
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1), 0 0 0 12px rgba(0, 0, 0, 0);
    }

    100% {
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1), 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

.pd-back-btn,
.pd-fav-btn {
    position: absolute;
    top: 20px;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text-dark);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 10;
}

.pd-back-btn {
    right: 20px;
    animation: pulseWave 1s infinite;
}

.pd-fav-btn {
    left: 20px;
    color: #f43f5e;
}

.pd-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    padding-bottom: 20px;
}

.pd-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.pd-title {
    font-size: 22px;
    font-weight: 800;
    margin: 0;
}

.pd-badge {
    background: var(--primary-color);
    color: white;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
}

.pd-feedback-btn {
    background: color-mix(in srgb, var(--primary-color) 10%, white) !important;
    border-color: color-mix(in srgb, var(--primary-color) 25%, white) !important;
    cursor: pointer;
}

.pd-feedback-btn i,
.pd-feedback-btn span {
    color: var(--primary-color) !important;
}

html.dark-mode .pd-feedback-btn {
    background: color-mix(in srgb, var(--primary-color) 15%, #18181b) !important;
    border-color: color-mix(in srgb, var(--primary-color) 30%, #18181b) !important;
}

.pd-stats {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 13px;
    color: var(--text-muted);
}

.pd-stats i {
    font-size: 16px;
    margin-right: 4px;
}

.pd-stars {
    color: #fbbf24;
}

/* Variations Table */
.pd-var-box {
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 15px;
    margin-bottom: 20px;
}

.pd-var-box.highlighted {
    animation: varPulse 1.2s ease-in-out 3;
    border: 2px solid var(--primary-color) !important;
    transition: all 0.3s ease;
}

@keyframes varPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.5);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
        transform: scale(1.02);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

.pd-var-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
    cursor: pointer;
}

.pd-var-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.pd-var-row.header {
    font-weight: 700;
    color: var(--primary-color);
    border-bottom: 2px solid #e5e7eb;
    padding-top: 0;
    cursor: default;
}

.pd-var-title {
    flex: 2;
    font-weight: 600;
    font-size: 14px;
}

.pd-var-price {
    flex: 1;
    text-align: center;
    font-size: 14px;
    color: var(--text-dark);
}

.pd-var-radio {
    flex: 1;
    text-align: right;
}

/* Info Cards */
.pd-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 25px;
}

.pd-info-card {
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 4px;
    text-align: center;
}

.pd-info-card i {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.pd-info-card span {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.2;
}

/* Description */
.pd-desc-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

.pd-desc-text {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Sticky Bottom Bar */
.pd-bottom-bar {
    position: relative;
    background: white;
    padding: 15px 20px;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 10;
}

.pd-total-price {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-dark);
}

.pd-add-btn {
    background: #00c853;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(0, 200, 83, 0.3);
    cursor: pointer;
}

.pd-add-btn:disabled {
    background: #d1d5db;
    box-shadow: none;
    cursor: not-allowed;
}

.interactive-stars {
    display: flex;
    align-items: center;
    gap: 2px;
    cursor: pointer;
    position: relative;
}

.interactive-stars i {
    font-size: 18px;
    color: #d1d5db;
    transition: color 0.2s;
}

.interactive-stars i.active {
    color: #fbbf24;
}

.interactive-stars i.half-active {
    background: linear-gradient(to right, #fbbf24 50%, #d1d5db 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Sidebar & Corporate Modals */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    bottom: 0;
    width: 280px;
    background: white;
    z-index: 2001;
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.1);
}

.sidebar.open {
    left: 0;
}

.sidebar-overlay.open {
    display: block;
    opacity: 1;
}

.sidebar-header {
    background: var(--secondary-color);
    padding: 30px 20px 20px 20px;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: background-color 0.2s, transform 0.2s;
    padding: 0;
    line-height: 1;
}

.sidebar-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.sidebar-close-btn:active {
    transform: scale(0.95);
}

.sidebar-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}

.sidebar-header .table-name {
    font-size: 14px;
    opacity: 0.9;
}

.sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 500;
    border: none;
    background: transparent;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s;
}

.sidebar-btn:hover {
    background: #f3f4f6;
}

.sidebar-btn i {
    font-size: 22px;
    color: var(--primary-color);
    width: 25px;
    text-align: center;
}

.sidebar-btn.action-btn {
    background: #f8f9fa;
    margin: 0 15px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.sidebar-btn.action-btn i {
    color: #f97316;
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.sidebar-footer a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    background: #f3f4f6;
    color: var(--text-dark);
    font-size: 20px;
    transition: all 0.2s;
}

.sidebar-footer a:hover {
    transform: translateY(-2px);
}

.sidebar-footer a.whatsapp:hover {
    background: #25D366;
    color: white;
}

.sidebar-footer a.instagram:hover {
    background: #E1306C;
    color: white;
}

.sidebar-footer a.facebook:hover {
    background: #1877F2;
    color: white;
}

.sidebar-footer a.twitter:hover {
    background: #000000;
    color: white;
}

/* General Bottom Sheet for Info */
.info-sheet {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    max-height: 80vh;
    background: white;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    z-index: 2051;
    display: flex;
    flex-direction: column;
    transition: bottom 0.3s ease;
    overflow: hidden;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.1);
}

.info-sheet.open {
    bottom: 0;
}

.info-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.info-sheet-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
}

.info-sheet-close {
    width: 36px;
    height: 36px;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text-dark);
    cursor: pointer;
    border: none;
}

.info-sheet-content {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Balloon / Popover Menu for Orders & Table Services */
.orders-popover {
    display: none;
    position: fixed;
    bottom: 90px;
    right: 15px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid #e5e7eb;
    width: 200px;
    z-index: 9999;
    overflow: visible;
    pointer-events: auto;
    /* so arrow can pop out */
    animation: popoverFadeIn 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popoverFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.95);
    }

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

.orders-popover-arrow {
    position: absolute;
    bottom: -6px;
    right: 32px;
    width: 12px;
    height: 12px;
    background: white;
    border-right: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    transform: rotate(45deg);
}

.orders-popover-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s;
    cursor: pointer;
    text-decoration: none;
}

.orders-popover-item:hover {
    background: #f9fafb;
}

.orders-popover-item:first-child {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.orders-popover-item:last-child {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

/* Welcome Screen Overlay */
.welcome-screen-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;
    background-color: #000000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.welcome-media-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.welcome-media-container img,
.welcome-media-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6) contrast(1.1);
}

.welcome-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
}

.welcome-top {
    margin-top: 15vh;
}

.welcome-logo {
    max-height: 80px;
    width: auto;
    border-radius: 5px;
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.welcome-title {
    font-size: 28px;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
    margin: 10px 0;
    animation: welcomeFadeInDown 0.8s ease-out;
}

.welcome-subtitle {
    font-size: 16px;
    font-weight: 400;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
    opacity: 0.9;
    animation: welcomeFadeInUp 0.8s ease-out 0.2s both;
}

.welcome-bottom {
    margin-bottom: 15vh;
    width: 100%;
    padding: 0 30px;
    box-sizing: border-box;
    animation: welcomeFadeInUp 0.8s ease-out 0.4s both;
}

.btn-welcome-enter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primary-color);
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    padding: 15px 35px;
    border-radius: 30px;
    border: none;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-welcome-enter:hover {
    transform: scale(1.02);
    background: var(--secondary-color);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

@keyframes welcomeFadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

@keyframes welcomeFadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Comments Section Styles */
.pd-comment-item {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease;
}

.pd-comment-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    background: #f1f5f9;
}

.pd-comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pd-comment-author {
    font-weight: 700;
    font-size: 14px;
    color: #1e293b;
}

.pd-comment-date {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 500;
}

.pd-comment-msg {
    margin: 0;
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
    white-space: pre-line;
}

#pdCommentsList::-webkit-scrollbar {
    width: 4px;
}

#pdCommentsList::-webkit-scrollbar-track {
    background: transparent;
}

#pdCommentsList::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

#pdCommentsList::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Kategori Gösterim Çeşitleri */
.horizontal-scroll.small-scroll {
    gap: 10px;
}

.horizontal-scroll.small-scroll .category-card {
    min-width: max-content;
    width: auto;
    flex-direction: row;
    align-items: center;
    padding: 8px 14px;
    gap: 8px;
    border-radius: 20px;
    scroll-snap-align: start;
}

.horizontal-scroll.small-scroll .category-card .cat-img-wrap {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    flex-shrink: 0;
}

.horizontal-scroll.small-scroll .category-card .cat-img-wrap.search-bg {
    font-size: 13px !important;
}

.horizontal-scroll.small-scroll .category-card .cat-img-wrap i {
    font-size: 13px !important;
}

.horizontal-scroll.small-scroll .category-card span {
    font-size: 13px;
    white-space: nowrap;
}

/* Çift Sıra Grid */
.categories-double-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 20px 15px 20px;
}

.categories-double-grid .category-card {
    min-width: unset;
    width: 100%;
}

.categories-double-grid.small-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.categories-double-grid.small-grid .category-card {
    min-width: unset;
    width: 100%;
    flex-direction: row;
    align-items: center;
    padding: 8px 12px;
    gap: 8px;
    border-radius: 20px;
}

.categories-double-grid.small-grid .category-card .cat-img-wrap {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    flex-shrink: 0;
}

.categories-double-grid.small-grid .category-card .cat-img-wrap.search-bg {
    font-size: 13px !important;
}

.categories-double-grid.small-grid .category-card .cat-img-wrap i {
    font-size: 13px !important;
}

.categories-double-grid.small-grid .category-card span {
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Resimsiz Liste */
.categories-text-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0 20px 15px 20px;
}

.categories-text-list .am-cat-pill {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 6px;
    width: 100%;
}

.categories-text-list .am-cat-pill:first-child:has(i) {
    grid-column: span 2;
}

.categories-text-list .am-cat-pill:hover,
.categories-text-list .am-cat-pill.active {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* --- Dark Mode & UI Clean Background Styles --- */
html.route-menuler #allMenusOverlay {
    display: flex !important;
}

html.route-favoriler #favoritesOverlay {
    display: flex !important;
}

/* Gece Modu Stilleri */
/* Gece Modu Stilleri */
html.dark-mode {
    --bg-color: #121212 !important;
    --card-bg: #1e1e1e !important;
    --text-dark: #f3f4f6 !important;
    --text-muted: #9ca3af !important;
    --border-color: #2d2d2d !important;
}

/* Premium Themes Dark Mode Variable Overrides */
html.dark-mode.obsidian {
    --bg-color: #0a0a0a !important;
    --card-bg: #151515 !important;
    --text-dark: #f5f5f7 !important;
    --text-muted: #8e8e93 !important;
    --border-color: #222222 !important;
}

html.dark-mode.nordic {
    --bg-color: #141a14 !important;
    --card-bg: #1d261d !important;
    --text-dark: #f0f4f0 !important;
    --text-muted: #8fa38f !important;
    --border-color: #2d3b2d !important;
}

html.dark-mode.royal {
    --bg-color: #0b0f19 !important;
    --card-bg: #151c2c !important;
    --text-dark: #f1f5f9 !important;
    --text-muted: #94a3b8 !important;
    --border-color: #1e293b !important;
}

html.dark-mode.crimson {
    --bg-color: #1c0a0c !important;
    --card-bg: #2a1215 !important;
    --text-dark: #ffe4e6 !important;
    --text-muted: #fda4af !important;
    --border-color: #3d1d21 !important;
}

html.dark-mode.sivasspor {
    --bg-color: #150506 !important;
    --card-bg: #240c0e !important;
    --text-dark: #fcfcfc !important;
    --text-muted: #e6b8bb !important;
    --border-color: #3b171a !important;
}

html.dark-mode body {
    background-color: var(--bg-color) !important;
    color: var(--text-dark) !important;
}

html.dark-mode .bottom-nav {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

html.dark-mode .bottom-nav-pill {
    background: var(--card-bg) !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

html.dark-mode .nav-item {
    color: var(--text-muted) !important;
}

html.dark-mode .nav-item.active {
    color: var(--primary-color) !important;
}

html.dark-mode .large-product-card,
html.dark-mode .grid-product-card,
html.dark-mode .am-product-card,
html.dark-mode .category-card,
html.dark-mode .pd-sheet,
html.dark-mode .orders-popover,
html.dark-mode .info-sheet,
html.dark-mode .sidebar,
html.dark-mode .pd-bottom-bar,
html.dark-mode .search-header,
html.dark-mode .cart-sheet,
html.dark-mode .welcome-card,
html.dark-mode .modal-content,
html.dark-mode .pd-info-card,
html.dark-mode .pd-var-box,
html.dark-mode .search-input-box,
html.dark-mode .orders-popover-item,
html.dark-mode .pd-comment-item,
html.dark-mode .cart-item-row,
html.dark-mode #cartSummaryCard,
html.dark-mode .cart-bottom,
html.dark-mode .welcome-container {
    background-color: var(--card-bg) !important;
    color: var(--text-dark) !important;
    border-color: var(--border-color) !important;
}

html.dark-mode .pd-bottom-bar,
html.dark-mode .search-header,
html.dark-mode .orders-popover-item,
html.dark-mode .sidebar-btn,
html.dark-mode .sidebar-footer,
html.dark-mode .info-sheet-header,
html.dark-mode .pd-var-row,
html.dark-mode .pd-comment-item,
html.dark-mode .am-product-card,
html.dark-mode .category-card,
html.dark-mode .am-cat-pill,
html.dark-mode .cart-circle {
    border-color: var(--border-color) !important;
}

html.dark-mode .orders-popover-item span,
html.dark-mode .sidebar-btn span,
html.dark-mode .pd-title,
html.dark-mode .pd-desc-title,
html.dark-mode .am-prod-title,
html.dark-mode .l-prod-title,
html.dark-mode .grid-prod-title,
html.dark-mode .pd-comment-author,
html.dark-mode .am-prod-price,
html.dark-mode .l-prod-price,
html.dark-mode .grid-prod-price,
html.dark-mode .pd-total-price,
html.dark-mode .cart-total-row,
html.dark-mode .sidebar-header .table-name {
    color: var(--text-dark) !important;
}

html.dark-mode .orders-popover-arrow {
    background: var(--card-bg) !important;
    border-left: 1px solid var(--border-color) !important;
    border-top: 1px solid var(--border-color) !important;
}

html.dark-mode .search-overlay,
html.dark-mode #allMenusOverlay,
html.dark-mode #favoritesOverlay,
html.dark-mode #ordersOverlay,
html.dark-mode .sidebar-content,
html.dark-mode .info-sheet-content,
html.dark-mode .cart-content,
html.dark-mode .pd-content {
    background-color: var(--bg-color) !important;
    color: var(--text-dark) !important;
}

html.dark-mode input,
html.dark-mode textarea,
html.dark-mode select {
    background-color: var(--card-bg) !important;
    color: var(--text-dark) !important;
    border-color: var(--border-color) !important;
}

html.dark-mode .am-cat-pill {
    background: var(--card-bg) !important;
    color: var(--text-muted) !important;
}

html.dark-mode .am-cat-pill.active {
    background: var(--primary-color) !important;
    color: white !important;
}

html.dark-mode .am-cat-pill img {
    filter: brightness(0.8);
}

html.dark-mode .am-cat-pill.active img {
    filter: none;
}

html.dark-mode .rating-badge {
    background: rgba(30, 30, 30, 0.9) !important;
    color: #fbbf24 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

html.dark-mode div[style*="background:white"],
html.dark-mode div[style*="background: white"],
html.dark-mode div[style*="background:#fff"],
html.dark-mode div[style*="background: #fff"],
html.dark-mode div[style*="background: #ffffff"],
html.dark-mode div[style*="background:#ffffff"] {
    background-color: var(--card-bg) !important;
    color: var(--text-dark) !important;
}

/* Default Light Mode Styles for Clean Background Override */
.am-overlay-bg {
    background-color: #f8f9fa;
}

div.search-back {
    background-color: #f3f4f6;
    color: var(--text-dark);
    transition: background-color 0.2s, color 0.2s;
}

.am-cat-scroll-container {
    background-color: #ffffff;
}

#amSearchInputContainer {
    /*background-color: #f8f9fa;*/
}

#amSearchInputContainer .search-input-box {
    background-color: #ffffff;
}

.overlay-close-btn {
    border: none;
    background: #f3f4f6;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-dark);
    transition: background-color 0.2s, color 0.2s;
}

.bottom-sheet-modal-content {
    background-color: #ffffff;
    color: var(--text-dark);
}

/* Dark Mode Styling Overrides */
html.dark-mode .am-overlay-bg {
    background-color: var(--bg-color) !important;
    background: var(--bg-color) !important;
}

html.dark-mode div.search-back {
    background-color: var(--border-color) !important;
    background: var(--border-color) !important;
    color: var(--text-dark) !important;
}

html.dark-mode .am-cat-scroll-container {
    background-color: var(--card-bg) !important;
    border-bottom-color: var(--border-color) !important;
}

html.dark-mode #amSearchInputContainer {
    /*  background-color: var(--bg-color) !important;
    background: var(--bg-color) !important;*/
}

html.dark-mode #amSearchInputContainer .sidebar-btn.action-btn {
    background-color: none;
}

html.dark-mode #amSearchInputContainer .search-input-box {
    background-color: var(--card-bg) !important;
    background: var(--card-bg) !important;
    border-color: var(--border-color) !important;
}

html.dark-mode .search-input-box {
    background-color: var(--card-bg) !important;
    background: var(--card-bg) !important;
    border-color: var(--border-color) !important;
}

html.dark-mode .search-input-box input {
    color: var(--text-dark) !important;
}

html.dark-mode .search-input-box i {
    color: var(--text-muted) !important;
}

html.dark-mode .search-back {
    background-color: var(--border-color) !important;
    background: var(--border-color) !important;
    color: var(--text-dark) !important;
}

html.dark-mode .pd-back-btn,
html.dark-mode .pd-fav-btn {
    background-color: var(--card-bg) !important;
    color: var(--text-dark) !important;
    border: 1px solid var(--border-color) !important;
}

html.dark-mode .overlay-close-btn {
    background-color: var(--border-color) !important;
    background: var(--border-color) !important;
    color: var(--text-dark) !important;
}

html.dark-mode .bottom-sheet-modal-content {
    background-color: var(--card-bg) !important;
    color: var(--text-dark) !important;
}

html.dark-mode .s-res-cat {
    background-color: var(--border-color) !important;
    color: var(--text-muted) !important;
}

html.dark-mode .s-res-img {
    background-color: var(--border-color) !important;
}

html.dark-mode .cat-img-wrap div {
    background-color: var(--border-color) !important;
}

html.dark-mode .orders-popover-item:hover,
html.dark-mode .sidebar-btn:hover {
    background-color: var(--border-color) !important;
}

html.dark-mode button[style*="background:white"],
html.dark-mode button[style*="background: white"] {
    background-color: var(--card-bg) !important;
    color: var(--text-dark) !important;
    border-color: var(--border-color) !important;
}

/* Watermark Background Styles */
.menu-watermark-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    object-position: center;
    opacity: 0.06;
    /* Opacity low enough to not block foreground elements ("boğmasın") */
    pointer-events: none;
    z-index: 0;
    /* Place it above body background, below cards */
    user-select: none;
    -webkit-user-drag: none;
}

/* Card Stacking to render above Watermark */
.category-card,
.large-product-card,
.grid-product-card,
.am-product-card,
.search-result-card,
.am-cat-scroll-container,
#amSearchInputContainer,
.search-header,
.search-results,
.search-empty,
.categories-text-list .am-cat-pill {
    position: relative;
    z-index: 1;
}

/* Small screen adjustments for product details */
@media (max-height: 667px) {
    .pd-img-header {
        height: 180px;
    }
}

/* Dark mode adjustments for categories list glassmorphism */
html.dark-mode .categories-text-list .am-cat-pill {
    background: rgba(31, 41, 55, 0.85) !important;
}

/* Dark mode adjustments for sidebar buttons and footer */
html.dark-mode .sidebar-btn {
    color: var(--text-dark) !important;
}

html.dark-mode .sidebar-btn.action-btn {
    background-color: var(--card-bg) !important;
    border-color: var(--border-color) !important;
}

html.dark-mode .sidebar-footer a {
    background-color: var(--card-bg) !important;
    color: var(--text-dark) !important;
    border: 1px solid var(--border-color) !important;
}

html.dark-mode #sidebarServiceDivider {
    border-top-color: var(--border-color) !important;
}

/* Sidebar Header Styles parallel to Top Header Styles */
.sidebar-header.header-classic {
    background: var(--primary-color) !important;
    color: #ffffff !important;
}

.sidebar-header.header-curved {
    background: var(--primary-color) !important;
    color: #ffffff !important;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    margin: 10px;
    padding: 25px 20px 20px 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.sidebar-header.header-glass {
    background: rgba(255, 255, 255, 0.72) !important;
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--text-dark) !important;
    padding-top: 35px;
}

.sidebar-header.header-glass h3 {
    color: var(--text-dark) !important;
}

.sidebar-header.header-glass .table-name {
    color: var(--text-dark) !important;
    opacity: 0.85;
}

.sidebar-header.header-glass .sidebar-close-btn {
    background: rgba(0, 0, 0, 0.05) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
    color: var(--text-dark) !important;
}

html.dark-mode .sidebar-header.header-glass {
    background: rgba(31, 41, 55, 0.72) !important;
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
}

html.dark-mode .sidebar-header.header-glass h3 {
    color: #ffffff !important;
}

html.dark-mode .sidebar-header.header-glass .table-name {
    color: #ffffff !important;
}

html.dark-mode .sidebar-header.header-glass .sidebar-close-btn {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
}

.sidebar-header.header-bubbles {
    background: transparent !important;
    padding: 20px;
    gap: 8px;
}

.sidebar-header.header-bubbles h3 {
    background: var(--secondary-color);
    color: white !important;
    padding: 8px 16px;
    border-radius: 30px;
    display: inline-block;
    max-width: max-content;
}

.sidebar-header.header-bubbles .table-name {
    background: var(--secondary-color);
    color: white !important;
    padding: 6px 12px;
    border-radius: 20px;
    display: inline-block;
    max-width: max-content;
}

.sidebar-header.header-bubbles .sidebar-close-btn {
    background: var(--secondary-color) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
    border: none !important;
}

html.dark-mode .sidebar-header.header-bubbles h3,
html.dark-mode .sidebar-header.header-bubbles .table-name {
    background: var(--card-bg) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-dark) !important;
}

html.dark-mode .sidebar-header.header-bubbles .sidebar-close-btn {
    background: var(--card-bg) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-dark) !important;
}

.sidebar-header.header-neon {
    background: #0d0e12 !important;
    border-bottom: 2px solid var(--primary-color) !important;
    box-shadow: 0 5px 20px color-mix(in srgb, var(--primary-color) 35%, transparent) !important;
    color: #ffffff !important;
}

.sidebar-header.header-neon h3,
.sidebar-header.header-neon .table-name {
    color: #ffffff !important;
}

.sidebar-header.header-neon .sidebar-close-btn {
    border: 1px solid var(--primary-color) !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

.sidebar-header.header-ofosoft {
    background: linear-gradient(135deg, #0d1b2a 0%, #0072ff 100%) !important;
    border-bottom: 2px solid #00c6ff !important;
    box-shadow: 0 5px 25px rgba(0, 198, 255, 0.3) !important;
    color: #ffffff !important;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.sidebar-header.header-ofosoft h3,
.sidebar-header.header-ofosoft .table-name {
    color: #ffffff !important;
}

.sidebar-header.header-ofosoft .sidebar-close-btn {
    border: 1px solid rgba(0, 198, 255, 0.4) !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

/* Homepage Promo Banner Styles */
.home-banner-container {
    margin-top: 5px;
    margin-bottom: 0px;
    padding: 0 10px;
}

.home-banner {
    display: block;
    background: linear-gradient(135deg, #091526 0%, #12253f 100%);
    border-radius: 20px;
    /* Default soft oval style */
    padding: 14px 18px;
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(9, 21, 38, 0.12);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.home-banner.has-link:active {
    transform: scale(0.98);
    opacity: 0.95;
}

.home-banner-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    z-index: 2;
}

.home-banner-gorsel {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-banner-gorsel img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.home-banner-content {
    flex: 1;
    min-width: 0;
    /* Prevents overflow of text */
}

.home-banner-content p {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
}

.home-banner-content h1,
.home-banner-content h2,
.home-banner-content h3,
.home-banner-content h4,
.home-banner-content h5,
.home-banner-content h6 {
    margin: 0 0 3px 0;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
}

.home-banner-btn-wrap {
    flex-shrink: 0;
}

.home-banner-btn {
    width: 36px;
    height: 36px;
    background: #ffb703;
    color: #091526;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(255, 183, 3, 0.25);
    transition: transform 0.2s ease;
}

.home-banner:hover .home-banner-btn {
    transform: scale(1.08);
}

html.dark-mode .home-banner {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.08);
}

.home-banner-image-wrap {
    display: block;
    width: 100%;
    border-radius: 20px;
    /* Default soft oval style */
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.home-banner-image-wrap.has-link:active {
    transform: scale(0.98);
    opacity: 0.95;
}

.home-banner-img-full {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

html.dark-mode .home-banner-image-wrap {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.05);
}

/* Compact View (Resimsiz Liste) */
.am-compact-view .am-product-card {
    display: flex;
    background: white;
    border-radius: 16px;
    padding: 10px 12px;
    gap: 10px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-color);
    align-items: center;
}

.am-compact-view .am-prod-img-wrap {
    display: none !important;
}

.am-compact-view .am-prod-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.am-compact-view .am-prod-action {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 80px;
}

html.dark-mode .am-compact-view .am-product-card {
    background: var(--card-bg) !important;
    border-color: var(--border-color) !important;
}

/* Automatic Title Capitalization Fallback */
.l-prod-title,
.grid-prod-title,
.am-prod-title,
.category-card span,
.s-res-title,
.pd-title,
.cart-item-title,
.order-item-title {
    text-transform: capitalize;
}

/* Product Detail Video Button (Pulsing Water Wave style) */
.pd-video-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 46px;
    height: 46px;
    background: #ef4444;
    /* Premium Red play button */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
    cursor: pointer;
    z-index: 12;
    animation: videoPulse 1.8s infinite;
    transition: transform 0.2s ease, background-color 0.2s ease;
    border: 2px solid white;
}

.pd-video-btn:hover {
    transform: scale(1.1);
    background: #dc2626;
}

@keyframes videoPulse {
    0% {
        box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4), 0 0 0 0 rgba(239, 68, 68, 0.5);
    }

    70% {
        box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4), 0 0 0 10px rgba(239, 68, 68, 0);
    }

    100% {
        box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4), 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

/* Video Lightbox Modal */
.video-lightbox-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.video-lightbox-modal.show {
    display: flex !important;
    opacity: 1;
}

.video-lightbox-content-wrap {
    width: 90%;
    max-width: 800px;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-lightbox-content-wrap video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.video-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #ffffff;
    font-size: 28px;
    font-weight: 500;
    cursor: pointer;
    z-index: 100000;
    background: rgba(255, 255, 255, 0.15);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-lightbox-close:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}