/* style.css - Haier Europe Style Premium Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;1,400&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #121212;
    --bg-tertiary: #1e1e1e;
    --accent-color: #ffffff;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    --border-color: #262626;
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --header-height: 120px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

/* --- Premium Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* --- Header Section --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-bar-left a {
    margin-right: 20px;
}
.top-bar-left a:hover, .top-bar-right a:hover {
    color: var(--text-primary);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.main-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    height: 75px;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
}

.logo-accent {
    font-weight: 300;
    color: var(--text-secondary);
}

.logo-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-decoration: none;
    line-height: 1;
}

.logo-top-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-brand-svg {
    height: 30px;
    width: auto;
    color: #fff;
    display: block;
}

.logo-divider {
    width: 1px;
    height: 22px;
    background-color: rgba(255, 255, 255, 0.25);
    display: block;
}

.logo-partner {
    font-size: 12px;
    font-weight: 500;
    color: #eaeaea;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
    font-family: var(--font-sans);
}

.logo-slogan {
    font-size: 8.5px;
    font-weight: 500;
    letter-spacing: 0.6px;
    color: var(--text-secondary);
    margin-top: 6px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 2px;
    line-height: 1;
    white-space: nowrap;
    font-family: var(--font-sans);
}

.logo-slogan-num {
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    line-height: 0.7;
    margin: 0 1px;
    display: inline-block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    padding: 5px 0;
    color: var(--text-secondary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: var(--transition-smooth);
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 18px;
}

.nav-actions a:hover {
    color: var(--text-secondary);
    transform: scale(1.05);
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* --- Hero Slider Section --- */
.hero-slider-container {
    position: relative;
    width: 100%;
    height: 100vh;
    margin-top: 0;
    overflow: hidden;
    background-color: #000;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    z-index: 2;
}

/* Slide Typography & Animation Base */
.slide h1.slide-title,
.slide .slider-col-content h1 {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #fff;
    letter-spacing: -1px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
    opacity: 0;
}

.slide p.slide-subtitle,
.slide .slider-col-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
    opacity: 0;
}

.slide .btn-premium {
    display: inline-block;
    padding: 15px 35px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 30px;
    border: 1px solid var(--accent-color);
    background-color: var(--accent-color);
    color: var(--bg-primary);
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.05);
    opacity: 0;
}

.slide.active h1.slide-title,
.slide.active .slider-col-content h1 {
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.slide.active p.slide-subtitle,
.slide.active .slider-col-content p {
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.slide.active .btn-premium {
    animation: fadeInUp 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Full Width Slide Style */
.slide--full .slider-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide--full .slider-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(1.1) contrast(1.02);
}

.slide--full .slider-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(10, 10, 10, 0.85) 0%, rgba(10, 10, 10, 0.4) 35%, rgba(10, 10, 10, 0) 70%);
    pointer-events: none;
}

.slide--full .slide-content-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 5% 0 10%;
    z-index: 10;
}

/* Split-Screen 50/50 Slide Style */
.slide--half .slider-row-half {
    display: flex;
    width: 100%;
    height: 100%;
}

.slide--half .slider-col-image {
    flex: 1.2;
    order: 2;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.slide--half .slider-col-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(1.1) contrast(1.02);
}

.slide--half .slider-col-content {
    flex: 1;
    order: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 5% 0 10%;
    background-color: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    height: 100%;
}

/* Button outline hover transitions */
.btn-premium:hover {
    background-color: transparent;
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.1);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
}

.btn-outline:hover {
    background-color: var(--accent-color);
    color: var(--bg-primary);
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 40px;
    left: 10%;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 20;
}

.slider-arrow {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.slider-arrow:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 25px;
    height: 3px;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.slider-dot.active {
    background: var(--text-primary);
    width: 45px;
    height: 3px;
}

/* --- Category Catalog Section --- */
.section-padding {
    padding: 100px 8%;
}

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

.section-subtitle {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.section-title {
    font-size: 38px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.category-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 40px 20px;
    text-align: center;
    border-radius: 8px;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.category-card:hover {
    background-color: var(--bg-tertiary);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.category-card i {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.category-card:hover i {
    color: var(--text-primary);
    transform: scale(1.1);
}

.category-card h3 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- Featured Products Section --- */
.products-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 10px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--accent-color);
    color: var(--bg-primary);
    border-color: var(--accent-color);
}

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

.product-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.product-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background-color: #ffffff;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--accent-color);
    color: var(--bg-primary);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.product-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-cat {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.product-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.product-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
    flex-grow: 1;
}

.product-specs {
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
    margin-bottom: 20px;
    font-size: 12px;
    color: var(--text-secondary);
    list-style: none;
}

.product-specs li {
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-specs li i {
    color: var(--text-muted);
    font-size: 10px;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.product-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.product-btn {
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: var(--transition-smooth);
}

.product-card:hover .product-btn {
    background-color: var(--accent-color);
    color: var(--bg-primary);
}

/* --- Brand Story Showcase --- */
.story-section {
    display: flex;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.story-content {
    flex: 1;
    padding: 100px 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.story-image {
    flex: 1.2;
    min-height: 500px;
    position: relative;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Footer Section --- */
footer {
    background-color: #050505;
    border-top: 1px solid var(--border-color);
    padding: 80px 8% 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-info p {
    color: var(--text-secondary);
    margin-top: 20px;
    font-size: 14px;
}

.footer-socials {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-socials a {
    font-size: 20px;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.footer-socials a:hover {
    color: var(--text-primary);
    transform: translateY(-3px) scale(1.1);
}

.footer-links h4 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    color: var(--text-primary);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul li a {
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-links ul li a:hover {
    color: var(--text-primary);
    padding-left: 5px;
}

.footer-newsletter h4 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-newsletter p {
    color: var(--text-secondary);
    font-size: 13px;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex-grow: 1;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 12px 20px;
    border-radius: 30px;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 14px;
}

.newsletter-form input:focus {
    outline: none;
    border-color: rgba(255,255,255,0.3);
}

.newsletter-form button {
    background-color: var(--accent-color);
    color: var(--bg-primary);
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.newsletter-form button:hover {
    background-color: #dddddd;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    font-size: 13px;
    color: var(--text-muted);
}

.footer-bottom-links a {
    margin-left: 20px;
}
.footer-bottom-links a:hover {
    color: var(--text-secondary);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive Adaptations --- */
@media (max-width: 1200px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 991px) {
    .hero-slider-container {
        aspect-ratio: auto;
        height: auto;
    }
    .slider-wrapper {
        height: auto;
        display: flex;
        flex-direction: column;
    }
    .slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
    }
    .slide.active {
        position: relative;
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
        display: flex;
        flex-direction: column;
        height: auto;
    }
    
    /* Full slide mobile scaling */
    .slide--full .slider-image-wrapper {
        width: 100%;
        aspect-ratio: 1 / 1;
        height: auto;
    }
    .slide--full .slider-image-wrapper::after {
        background: linear-gradient(0deg, rgba(10, 10, 10, 0.85) 0%, rgba(10, 10, 10, 0.1) 40%, rgba(10, 10, 10, 0) 100%);
    }
    .slide--full .slide-content-inner {
        position: relative;
        width: 100%;
        height: auto;
        padding: 40px 5%;
        text-align: center;
        background-color: var(--bg-primary);
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    /* Half slide mobile scaling */
    .slide--half .slider-row-half {
        flex-direction: column;
        height: auto;
    }
    .slide--half .slider-col-image {
        width: 100%;
        aspect-ratio: 1 / 1;
        order: 1;
        height: auto;
    }
    .slide--half .slider-col-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .slide--half .slider-col-content {
        width: 100%;
        order: 2;
        height: auto;
        padding: 40px 5%;
        align-items: center;
        text-align: center;
        background-color: var(--bg-primary);
        border-right: none;
    }
    
    .slide h1.slide-title,
    .slide .slider-col-content h1 {
        font-size: 32px;
        text-shadow: none;
    }
    .slide p.slide-subtitle,
    .slide .slider-col-content p {
        font-size: 15px;
        margin-bottom: 25px;
        text-shadow: none;
    }
    .slider-controls {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 0px;
        justify-content: center;
        padding-bottom: 30px;
        background-color: var(--bg-primary);
        width: 100%;
    }
    .story-section {
        flex-direction: column;
    }
    .story-content {
        padding: 60px 5%;
    }
    .story-image {
        min-height: 350px;
    }
}

@media (max-width: 768px) {
    header {
        height: auto;
    }
    .top-bar {
        display: none;
    }
    .nav-links {
        display: none; /* In production: add mobile nav drawer script toggled by menu-toggle */
    }
    .menu-toggle {
        display: block;
    }
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .footer-bottom-links a {
        margin: 0 10px;
    }
}

/* —— WhatsApp sabit buton (ana sayfa) */
.whatsapp-float {
  position: fixed;
  left: max(1rem, env(safe-area-inset-left));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 10048;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.whatsapp-float:hover {
  background: #20bd5a;
  transform: scale(1.06);
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.5);
  color: #fff;
}

.whatsapp-float:focus-visible {
  outline: 3px solid #128c7e;
  outline-offset: 3px;
}

.whatsapp-float-icon {
  display: block;
  margin: 0;
}

@media (max-width: 480px) {
  .whatsapp-float {
    width: 54px;
    height: 54px;
  }

  .whatsapp-float-icon {
    width: 26px;
    height: 26px;
  }
}

body.nav-open .whatsapp-float {
  z-index: 80;
}

/* —— Canlı destek sohbet (kural tabanlı asistan — maskot + koyu teaser) */
.chatbot-wrap {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 10050;
  font-family: var(--font-sans);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.chatbot-launcher {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
}

.chatbot-teaser {
  margin: 0;
  max-width: min(240px, calc(100vw - 2.5rem));
  padding: 0.65rem 0.95rem;
  font-size: 0.82rem;
  line-height: 1.35;
  font-weight: 800;
  color: #fff;
  text-align: right;
  background: linear-gradient(145deg, #1e1e1e 0%, #121212 100%);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  position: relative;
}

.chatbot-teaser__name {
  display: block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  opacity: 0.96;
  margin-bottom: 0.2rem;
}

.chatbot-teaser__msg {
  display: block;
}

.chatbot-teaser::after {
  content: "";
  position: absolute;
  bottom: -6px;
  right: 30px;
  width: 12px;
  height: 12px;
  background: #121212;
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  transform: rotate(45deg);
  border-radius: 2px;
}

.chatbot-wrap.chatbot-is-open .chatbot-teaser {
  display: none;
}

.chatbot-fab {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  padding: 0;
  border: 1px solid rgba(213, 221, 229, 0.95);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 26%, #ffffff 0%, #eef2f7 45%, #dde4ec 100%);
  color: inherit;
  cursor: pointer;
  box-shadow:
    0 12px 32px rgba(15, 23, 42, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.chatbot-fab:hover {
  transform: scale(1.05);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow:
    0 14px 36px rgba(15, 23, 42, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.chatbot-fab:focus-visible {
  outline: 3px solid var(--accent-color, #fff);
  outline-offset: 3px;
}

.chatbot-mascot-img {
  display: block;
  width: 62px;
  height: auto;
  margin-top: 2px;
  pointer-events: none;
  user-select: none;
}

.chatbot-mascot-img--fab {
  width: 62px;
}

.chatbot-panel {
  position: absolute;
  right: 0;
  bottom: 100%;
  margin-bottom: 0.55rem;
  width: min(100vw - 2rem, 380px);
  max-height: min(72vh, 520px);
  display: flex;
  flex-direction: column;
  border-radius: calc(8px);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
}

.chatbot-panel-inner {
  display: flex;
  flex-direction: column;
  max-height: min(72vh, 520px);
  min-height: 0;
}

.chatbot-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: var(--bg-tertiary);
  border-bottom: 1px solid var(--border-color);
}

.chatbot-header-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  flex: 1;
}

.chatbot-avatar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 26%, #ffffff 0%, #eef2f7 50%, #e2e8f0 100%);
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.chatbot-avatar--mascot {
  padding-bottom: 2px;
}

.chatbot-mascot-img--header {
  width: 40px;
  height: auto;
}

.chatbot-header-text {
  min-width: 0;
}

.chatbot-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
}

.chatbot-sub {
  margin: 0.2rem 0 0;
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.chatbot-close {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.chatbot-close:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.chatbot-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 0.75rem 1rem;
  background: var(--bg-primary);
}

.chatbot-messages {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.chatbot-msg {
  max-width: 92%;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  font-size: 0.875rem;
  line-height: 1.45;
}

.chatbot-msg--user {
  align-self: flex-end;
  margin-left: auto;
  background: var(--accent-color, #fff);
  color: var(--bg-primary, #000);
  font-weight: 600;
}

.chatbot-msg--bot {
  align-self: flex-start;
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.chatbot-msg--bot a {
  color: var(--accent-color, #fff);
  font-weight: 600;
}

.chatbot-msg--bot strong {
  color: var(--text-primary);
}

.chatbot-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.5rem 0.75rem 0.65rem;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
}

.chatbot-chip {
  padding: 0.35rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.chatbot-chip:hover {
  background: var(--border-color);
  border-color: var(--text-secondary);
}

.chatbot-form {
  display: flex;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
}

.chatbot-input {
  flex: 1;
  min-width: 0;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  background: var(--bg-primary);
  color: var(--text-primary);
}

.chatbot-input:focus {
  outline: none;
  border-color: var(--accent-color);
}

.chatbot-submit {
  flex-shrink: 0;
  padding: 0.55rem 0.85rem !important;
  font-size: 0.85rem !important;
  background-color: var(--accent-color, #fff);
  color: var(--bg-primary, #000);
  border: none;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
}

@media (max-width: 480px) {
  .chatbot-panel {
    width: min(100vw - 1.25rem, 100%);
    right: 0;
    max-height: min(65vh, 480px);
    margin-bottom: 0.45rem;
  }

  .chatbot-teaser {
    max-width: min(200px, calc(100vw - 2rem));
    padding: 0.55rem 0.75rem;
    font-size: 0.75rem;
  }

  .chatbot-teaser__name {
    font-size: 0.68rem;
  }

  .chatbot-fab {
    width: 82px;
    height: 82px;
  }

  .chatbot-mascot-img--fab {
    width: 52px;
  }

  .chatbot-avatar {
    width: 54px;
    height: 54px;
  }

  .chatbot-mascot-img--header {
    width: 36px;
  }
}

/* Chatbot Hidden State Fix */
.chatbot-panel[hidden] {
  display: none !important;
}

body.nav-open .chatbot-wrap {
  z-index: 80;
}

/* Product action buttons */
.product-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 15px 0;
}

.btn-product-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 15px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-product-action.btn-wa {
  background-color: #25D366;
  color: #ffffff;
  border: 1px solid #25D366;
}

.btn-product-action.btn-wa:hover {
  background-color: #20BD5A;
  border-color: #20BD5A;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-product-action.btn-call {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-product-action.btn-call:hover {
  background-color: var(--bg-tertiary);
  border-color: var(--text-secondary);
  transform: translateY(-2px);
}

.btn-product-action.btn-info {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-product-action.btn-info:hover {
  background-color: var(--bg-tertiary);
  border-color: var(--text-secondary);
  transform: translateY(-2px);
}

/* Call Back Modal Styling */
.callback-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.callback-modal-content {
  background-color: var(--bg-secondary, #121212);
  border: 1px solid var(--border-color, #262626);
  border-radius: 12px;
  width: 90%;
  max-width: 420px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.callback-modal-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-color, #262626);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--bg-tertiary, #1e1e1e);
}

.callback-modal-header h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary, #ffffff);
  margin: 0;
}

.callback-modal-close {
  background: transparent;
  border: none;
  color: var(--text-secondary, #a0a0a0);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.callback-modal-close:hover {
  color: var(--text-primary, #ffffff);
}

.callback-modal-body {
  padding: 24px;
}

.callback-product-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-color, #ffffff);
  margin-bottom: 6px;
}

.callback-desc {
  font-size: 13px;
  color: var(--text-secondary, #a0a0a0);
  margin-bottom: 20px;
  line-height: 1.4;
}

.callback-form .form-group {
  margin-bottom: 16px;
}

.callback-form label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary, #a0a0a0);
  margin-bottom: 6px;
}

.callback-form input {
  width: 100%;
  padding: 10px 14px;
  background-color: var(--bg-primary, #0a0a0a);
  border: 1px solid var(--border-color, #262626);
  border-radius: 6px;
  color: var(--text-primary, #ffffff);
  font-family: var(--font-sans);
  font-size: 14px;
  transition: border-color 0.2s;
}

.callback-form input:focus {
  outline: none;
  border-color: var(--accent-color, #ffffff);
}

.callback-form button {
  width: 100%;
  padding: 12px;
  background-color: var(--accent-color, #ffffff);
  color: var(--bg-primary, #0a0a0a);
  border: none;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.callback-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15);
}

/* Product Print Button */
.product-print-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(4px);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-print-btn:hover {
  background-color: var(--accent-color, #ffffff);
  color: var(--bg-primary, #0a0a0a);
  transform: scale(1.1);
}
