:root { 

    --primary: #0D9488; --primary-hover: #0F766E;

    --secondary: #ED8936; --secondary-hover: #DD6B20;

    --bg-color: #F0FDF4; --text-dark: #1E293B;

    --text-gray: #64748B; --white: #FFFFFF;

    --radius-lg: 24px; --radius-md: 16px;

    --bezier: cubic-bezier(0.34, 1.56, 0.64, 1);

    --shadow-float: 0 20px 40px -10px rgba(13, 148, 136, 0.2);

}



* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Kanit', sans-serif; }

body { background-color: var(--bg-color); color: var(--text-dark); overflow-x: hidden; scroll-behavior: smooth; }

h1, h2, h3, h4, .title-font { font-family: 'Prompt', sans-serif; }

html, body { top: 0 !important; margin-top: 0 !important; position: static !important; }



/* Header & Nav */

header { position: fixed; width: 100%; top: 0; padding: 25px 6%; display: flex; justify-content: space-between; align-items: center; z-index: 1000; transition: all 0.4s ease; }

header.scrolled { padding: 15px 6%; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(12px); box-shadow: 0 4px 30px rgba(0,0,0,0.05); }

header h1 { color: var(--white); font-size: 1.5rem; font-weight: 700; cursor: pointer; display: flex; align-items: center; gap: 10px; transition: 0.3s; text-decoration: none;}

header.scrolled h1 { color: var(--primary); }

header h1 i { color: var(--secondary); }

nav ul { display: flex; list-style: none; gap: 35px; align-items: center; }

nav a { color: var(--white); text-decoration: none; font-size: 1.05rem; font-weight: 500; cursor: pointer; transition: 0.3s; }

header.scrolled nav a { color: var(--text-dark); }

nav a:hover { color: var(--secondary) !important; }



/* Buttons */

.btn-auth { background: rgba(255,255,255,0.2); backdrop-filter: blur(5px); padding: 10px 24px; border-radius: 30px; border: 1px solid rgba(255,255,255,0.4); display: flex; align-items: center; gap: 8px; }

header.scrolled .btn-auth { background: var(--primary); color: var(--white) !important; border:none; }

.btn-auth:hover { background: var(--secondary) !important; color: var(--white) !important; border-color:var(--secondary); transform: translateY(-2px); }

.btn-action { width: 100%; padding: 15px; text-align: center; border-radius: 12px; font-weight: 600; font-size: 1.1rem; border: none; cursor: pointer; transition: 0.3s var(--bezier); display: flex; justify-content: center; align-items: center; gap: 10px; }

.btn-teal { background: var(--primary); color: var(--white); box-shadow: 0 10px 20px rgba(13, 148, 136, 0.2); }

.btn-teal:hover { background: var(--primary-hover); transform: translateY(-3px); box-shadow: 0 12px 25px rgba(13, 148, 136, 0.3); }



/* Google Translate Overrides */

.skiptranslate iframe, .goog-te-banner-frame { display: none !important; }

#google_translate_element { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }

.goog-tooltip, .goog-tooltip:hover { display: none !important; }

.goog-text-highlight { background-color: transparent !important; border: none !important; box-shadow: none !important; }

.custom-lang-selector { display: flex; align-items: center; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 30px; padding: 6px 15px; color: var(--white); transition: 0.3s; }

header.scrolled .custom-lang-selector { background: rgba(13, 148, 136, 0.05); border-color: var(--primary); color: var(--primary);}

.custom-lang-selector select { background: transparent; border: none; color: inherit; font-family: 'Kanit', sans-serif; font-size: 0.95rem; font-weight: 500; outline: none; cursor: pointer; -webkit-appearance: none; appearance: none; padding-right: 20px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M7 10l5 5 5-5H7z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right center; background-size: 14px; }

header.scrolled .custom-lang-selector select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230D9488'%3E%3Cpath d='M7 10l5 5 5-5H7z'/%3E%3C/svg%3E"); }

.custom-lang-selector select option { background: var(--white); color: var(--text-dark); }



/* Hero Slider */

.hero-slider { position: relative; height: 100vh; width: 100%; overflow: hidden; background-color: #E0F2FE; }

.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; visibility: hidden; transition: opacity 1.2s ease; }

.slide.active { opacity: 1; visibility: visible; }

.slide-bg { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 8s ease-out; filter: brightness(1.05) saturate(1.15); } 

.slide.active .slide-bg { transform: scale(1); }

.slide-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(14, 165, 233, 0.1) 0%, rgba(15, 23, 42, 0.7) 100%); z-index: 2; }

.hero-wave { position: absolute; bottom: -2px; left: 0; width: 100%; overflow: hidden; line-height: 0; z-index: 5; }

.hero-wave svg { display: block; width: calc(100% + 1.3px); height: 100px; fill: var(--bg-color); }

.slide-content { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 3; width: 90%; max-width: 800px; color: var(--white); text-align: center; display: flex; flex-direction: column; align-items: center; }

.badge-tropical { display: inline-flex; align-items: center; gap: 8px; padding: 8px 24px; background: #F59E0B; border-radius: 30px; color: var(--white); font-weight: 600; margin-bottom: 25px; transform: translateY(30px); opacity: 0; transition: 0.8s var(--bezier) 0.2s; box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4); text-transform: uppercase; }

.slide-title { font-size: 4.5rem; color: var(--white); line-height: 1.2; margin-bottom: 20px; transform: translateY(30px); opacity: 0; transition: 0.8s var(--bezier) 0.4s; font-weight: 700; text-shadow: 0 4px 20px rgba(0,0,0,0.3); }

.slide-desc { font-size: 1.25rem; color: rgba(255,255,255,0.95); margin-bottom: 40px; line-height: 1.6; transform: translateY(30px); opacity: 0; transition: 0.8s var(--bezier) 0.6s; font-weight: 300; }

.btn-glow { display: inline-flex; align-items: center; gap: 10px; padding: 16px 45px; background: var(--white); color: var(--primary); text-decoration: none; font-size: 1.15rem; font-weight: 600; border-radius: 30px; cursor: pointer; border: none; transform: translateY(30px); opacity: 0; transition: all 0.4s var(--bezier); box-shadow: 0 10px 25px rgba(0,0,0,0.2); }

.slide.active .btn-glow { transform: translateY(0); opacity: 1; transition-delay: 0.8s; }

.btn-glow:hover { background: #FCD34D; color: var(--text-dark); box-shadow: 0 15px 30px rgba(245, 158, 11, 0.4); transform: translateY(-5px) !important; }

.slide.active .badge-tropical, .slide.active .slide-title, .slide.active .slide-desc { transform: translateY(0); opacity: 1; }

.slider-controls { position: absolute; top: 50%; left: 0; width: 100%; display: flex; justify-content: space-between; padding: 0 3%; z-index: 10; transform: translateY(-50%); pointer-events: none; }

.ctrl-btn { pointer-events: auto; width: 55px; height: 55px; border-radius: 50%; background: rgba(255,255,255,0.2); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.5); color: var(--white); font-size: 1.5rem; cursor: pointer; transition: 0.3s; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }

.ctrl-btn:hover { background: var(--white); color: var(--primary); transform: scale(1.1); box-shadow: 0 10px 25px rgba(0,0,0,0.2); }



/* Main Container & Sections */

.container { max-width: 1350px; margin: 0 auto; padding: 40px 20px 80px 20px; }

.section-header { text-align: center; margin-bottom: 50px; margin-top: 80px;}

.section-header h2 { font-size: 2.2rem; color: var(--primary); display: inline-flex; flex-direction: column; align-items: center; gap: 10px; font-weight:700;}

.section-header h2::after { content: ''; width: 50px; height: 4px; background: var(--secondary); border-radius: 4px; }

.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }

.fade-up.visible { opacity: 1; transform: translateY(0); }



/* Hotel Intro & Features */

.hotel-intro-section { background-color: var(--white); border-radius: var(--radius-lg); box-shadow: 0 10px 30px rgba(0,0,0,0.03); margin-top: -60px; position: relative; z-index: 10; padding: 60px 40px; text-align: center; border: 1px solid #E2E8F0;}

.hotel-stars { color: #F59E0B; font-size: 1.2rem; margin-bottom: 10px; display: block; letter-spacing: 3px;}

.hotel-intro-section h2 { font-size: 2.5rem; color: var(--primary); margin-bottom: 15px; line-height: 1.3; font-weight:700;}

.hotel-intro-section .divider { width: 60px; height: 4px; background: var(--secondary); margin: 0 auto 25px auto; border-radius:4px;}

.hotel-intro-section p { font-size: 1.15rem; color: var(--text-gray); line-height: 1.8; max-width: 850px; margin: 0 auto 40px auto; }

.hotel-features { display: flex; justify-content: center; flex-wrap: wrap; gap: 30px; margin-bottom: 50px; }

.feature-item { display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--text-dark); transition: transform 0.3s;}

.feature-item:hover { transform: translateY(-5px); color: var(--primary); }

.feature-item i { font-size: 1.8rem; color: var(--primary); padding: 18px; background: rgba(13, 148, 136, 0.1); border-radius: 50%; width: 70px; height: 70px; display: flex; justify-content: center;}

.feature-item span { font-weight: 500; font-size: 0.95rem; }



/* Grid Systems (Gallery, Events, Products) */

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-top: 40px; }

.gallery-item { border-radius: 12px; overflow: hidden; position: relative; box-shadow: 0 5px 15px rgba(0,0,0,0.05); aspect-ratio: 1 / 1; cursor: pointer; }

.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }

.gallery-item:hover img { transform: scale(1.1); }

.g-item-1 { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }

.g-item-4, .g-item-10 { grid-column: span 2; aspect-ratio: 2 / 1; }

.g-item-7 { grid-row: span 2; aspect-ratio: auto; }

@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } .gallery-item { grid-column: span 1 !important; grid-row: span 1 !important; aspect-ratio: 1 / 1 !important; } }



.event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 60px;}

@media (max-width: 1000px) { .event-grid { grid-template-columns: repeat(2, 1fr); } }

@media (max-width: 650px) { .event-grid { grid-template-columns: 1fr; } }

.event-card { background: white; border-radius: var(--radius-md); overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.04); transition: 0.4s ease; position: relative; border: 1px solid #F1F5F9; }

.event-card:hover { transform: translateY(-12px); box-shadow: var(--shadow-float); }

.event-img { width: 100%; height: 220px; object-fit: cover; transition: 0.6s ease; }

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

.event-date-badge { position: absolute; top: 15px; right: 15px; background: var(--secondary); color: var(--white); padding: 10px 15px; border-radius: 12px; font-weight: bold; text-align: center; box-shadow: 0 4px 15px rgba(237, 137, 54, 0.4); z-index: 2; transition: 0.4s ease;}

.event-card:hover .event-date-badge { transform: scale(1.1) rotate(3deg); }

.event-date-badge span.month { display: block; font-size: 0.85rem; font-weight: 500; text-transform: uppercase; margin-top: 2px;}

.event-info { padding: 25px 20px; background: white; position: relative; z-index: 3; }

.event-title { font-size: 1.3rem; color: var(--text-dark); margin-bottom: 10px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight:600;}

.event-loc { color: var(--text-gray); font-size: 0.95rem; margin-bottom: 15px; display: flex; align-items: center; gap: 8px; }

.event-loc i { color: #EF4444; }

.event-desc { color: var(--text-gray); font-size: 0.95rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }



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

.product-card { background: white; border-radius: var(--radius-md); overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.04); border: 1px solid #F1F5F9; transition: all 0.4s ease; display: flex; flex-direction: column; position: relative; cursor: pointer;}

.product-card:hover { transform: translateY(-12px); box-shadow: var(--shadow-float); }

.product-img-wrapper { position: relative; overflow: hidden; aspect-ratio: 1 / 1; background-color: var(--bg-color); }

.product-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }

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

.rating-badge { position: absolute; top: 15px; left: 15px; background: rgba(255, 255, 255, 0.95); color: #F59E0B; padding: 5px 12px; border-radius: 30px; font-size: 0.85rem; font-weight: 600; z-index: 2; box-shadow: 0 4px 10px rgba(0,0,0,0.1); display:flex; align-items:center; gap:5px;}

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

.product-info h3 { font-size: 1.25rem; color: var(--text-dark); font-weight: 600; line-height: 1.4; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.product-price { color: var(--primary); font-size: 1.6rem; font-weight: 700; margin-bottom: 20px; margin-top: auto; display:flex; align-items:baseline; gap:5px; }

.product-price span { font-size: 0.9rem; color: var(--text-gray); font-weight: 400; }

.buy-btn-outline { padding: 12px 20px; background: var(--bg-color); border: none; color: var(--primary); text-align: center; border-radius: 8px; font-weight: 500; transition: 0.3s; width: 100%; cursor: pointer; }

.product-card:hover .buy-btn-outline { background: var(--primary); color: var(--white); }



/* User Dropdown & Profile */

.user-profile-menu { position: relative; display: inline-block; cursor: pointer; }

.user-profile-btn { display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, 0.15); padding: 5px 15px 5px 5px; border-radius: 50px; transition: all 0.3s ease; }

.user-profile-btn:hover { background: rgba(255, 255, 255, 0.25); }

.user-avatar { width: 35px; height: 35px; border-radius: 50%; background: #fff; color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; object-fit: cover; border: 2px solid white; font-weight: bold; }

.user-dropdown { position: absolute; top: 120%; right: 0; background: white; min-width: 200px; border-radius: 12px; box-shadow: 0 10px 25px rgba(0,0,0,0.1); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.3s ease; z-index: 1000; overflow: hidden; }

.user-profile-menu:hover .user-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

.dropdown-item { display: flex; align-items: center; gap: 12px; padding: 12px 20px; color: var(--text-dark); text-decoration: none; transition: background 0.2s; font-size: 0.95rem; }

.dropdown-item:hover { background: #F8FAFC; color: var(--primary); }

.dropdown-item i { width: 20px; text-align: center; color: #94A3B8; }

.dropdown-item:hover i { color: var(--primary); }

.dropdown-divider { height: 1px; background: #E2E8F0; margin: 5px 0; }



/* Modals & Overlays */

.overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(6px); z-index: 2000; opacity: 0; visibility: hidden; transition: 0.3s; }

.overlay.active { opacity: 1; visibility: visible; }

.modal-box { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -40%) scale(0.9); background: var(--white); border-radius: var(--radius-lg); z-index: 2001; opacity: 0; visibility: hidden; transition: 0.4s ease; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); overflow: hidden; display: flex; flex-direction: column; }

.modal-box.show { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }

.modal-close { position: absolute; top: 20px; right: 20px; width: 36px; height: 36px; background: rgba(0,0,0,0.05); border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 1.2rem; color: var(--text-gray); cursor: pointer; transition: 0.3s; z-index: 10; }

.modal-close:hover { background: #FEE2E2; color: #EF4444; transform: rotate(90deg); }



/* Detail Box (Rooms/Tours) */

.detail-box { width: 95%; max-width: 1000px; max-height: 90vh; }

.detail-grid { display: grid; grid-template-columns: 1fr 1fr; height: 100%; overflow-y: auto; }

@media (max-width: 768px) { .detail-grid { grid-template-columns: 1fr; } }

.detail-gallery { background: var(--bg-color); padding: 40px; display: flex; flex-direction: column; align-items: center; border-right: 1px solid #F1F5F9; }

.d-main-img { width: 100%; max-width: 450px; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-md); box-shadow: var(--shadow-float); margin-bottom: 20px; transition: 0.3s;}

.d-thumb-list { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 10px; width: 100%; justify-content: center; scrollbar-width: none; }

.d-thumb-list::-webkit-scrollbar { display: none; }

.thumb { width: 65px; height: 65px; border-radius: 10px; object-fit: cover; cursor: pointer; opacity: 0.6; transition: 0.3s; border: 2px solid transparent; }

.thumb.active, .thumb:hover { opacity: 1; border-color: var(--primary); transform: translateY(-3px); }

.detail-info { padding: 40px; display: flex; flex-direction: column; }

.d-title { font-size: 2rem; color: var(--primary); margin-bottom: 15px; line-height: 1.2; font-weight:700;}

.meta-tags { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap;}

.meta { background: var(--bg-color); padding: 6px 14px; border-radius: 30px; font-size: 0.85rem; color: var(--primary-hover); display: flex; align-items: center; gap: 6px; font-weight: 500; }

.d-price { font-size: 2.2rem; color: var(--secondary); font-weight: 700; margin-bottom: 20px; transition: 0.3s;}

.d-desc { color: var(--text-gray); line-height: 1.7; margin-bottom: 30px; white-space: pre-wrap; font-size: 1rem;}



.date-selector-box { background: #F8FAFC; padding: 15px; border-radius: 12px; margin-bottom: 20px; border: 1px solid #E2E8F0; }

.date-grid { display: flex; gap: 10px; }

.date-col { flex: 1; }

.date-col label { font-size: 0.85rem; color: var(--text-gray); display: block; margin-bottom: 5px; }

.night-badge { display: inline-block; margin-top: 10px; font-weight: 600; color: var(--primary); font-size: 0.95rem; background: var(--bg-color); padding: 5px 12px; border-radius: 30px; border: 1px solid rgba(13,148,136,0.2);}



/* Review & Policy Section */

.policy-section { margin-top: 30px; border-top: 2px solid #F1F5F9; padding-top: 30px; }

.policy-header { display: flex; align-items: center; margin-bottom: 20px; font-size: 1.3rem; color: var(--text-dark); font-weight: 600; }

.policy-header i { color: var(--primary); margin-right: 10px; }

.policy-grid { display: flex; flex-direction: column; gap: 15px; }

.policy-item { display: flex; gap: 15px; background: var(--bg-color); padding: 15px; border-radius: 12px; border: 1px solid #E2E8F0; align-items: flex-start;}

.policy-icon { width: 40px; height: 40px; border-radius: 50%; background: rgba(13, 148, 136, 0.1); color: var(--primary); display: flex; justify-content: center; align-items: center; font-size: 1.2rem; flex-shrink: 0; }

.policy-content h4 { font-size: 1rem; color: var(--text-dark); margin-bottom: 5px; font-weight: 600; }

.policy-content p { font-size: 0.9rem; color: var(--text-gray); line-height: 1.6; margin: 0; white-space: pre-wrap; }



.review-section { margin-top: 40px; border-top: 1px solid #F1F5F9; padding-top: 30px; }

.review-header h3 { font-size: 1.3rem; color: var(--text-dark); margin-bottom: 20px; font-weight: 600;}

.stars-input i { font-size: 1.6rem; color: #CBD5E1; cursor: pointer; transition: 0.2s ease; margin-right: 5px; }

.stars-input i.active, .stars-input i:hover { color: #F59E0B; transform: scale(1.15); }

.review-item { padding: 15px 0; border-bottom: 1px dashed #F1F5F9; }



/* Auth Forms */

.auth-box { width: 90%; max-width: 420px; }

.auth-header { background: linear-gradient(135deg, var(--primary) 0%, #14B8A6 100%); padding: 35px 30px 25px; text-align: center; color: var(--white); position: relative; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }

.auth-body { padding: 30px; background: var(--white); border-radius: 0 0 var(--radius-lg) var(--radius-lg); }

.input-group { margin-bottom: 15px; }

.form-control { width: 100%; padding: 14px 18px; border: 2px solid #E2E8F0; border-radius: 12px; font-family: 'Kanit'; font-size: 1rem; color: var(--text-dark); transition: 0.3s; background: #F8FAFC; outline: none; }

.form-control:focus { border-color: var(--primary); background: var(--white); box-shadow: 0 4px 15px rgba(13, 148, 136, 0.15); }

.toggle-link { text-align: center; margin-top: 20px; font-size: 0.95rem; color: var(--text-gray); cursor: pointer; transition: 0.3s; }

.toggle-link span { color: var(--secondary); font-weight: 600; }

.toggle-link:hover span { text-decoration: underline; }



/* Cart System */

@keyframes pulse-ring { 0% { box-shadow: 0 0 0 0 rgba(237, 137, 54, 0.7); } 70% { box-shadow: 0 0 0 15px rgba(237, 137, 54, 0); } 100% { box-shadow: 0 0 0 0 rgba(237, 137, 54, 0); } }

.floating-cart { position: fixed; bottom: 35px; right: 35px; width: 65px; height: 65px; background: var(--secondary); color: var(--white); border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 1.6rem; cursor: pointer; z-index: 1000; transition: 0.3s ease; animation: pulse-ring 2s infinite; }

.floating-cart:hover { transform: scale(1.15) rotate(-5deg); background: var(--secondary-hover); animation: none; box-shadow: 0 10px 25px rgba(237, 137, 54, 0.4); }

.cart-badge { position: absolute; top: -2px; right: -2px; background: #EF4444; color: white; font-size: 0.8rem; font-weight: 700; width: 26px; height: 26px; border-radius: 50%; display: flex; justify-content: center; align-items: center; border: 2px solid var(--white); transition: 0.2s ease; }

.cart-badge.pop { transform: scale(1.4); }



.cart-sidebar { position: fixed; top: 0; right: -450px; width: 400px; max-width: 90vw; height: 100vh; background: var(--white); z-index: 2002; box-shadow: -10px 0 40px rgba(0,0,0,0.1); transition: right 0.4s ease; display: flex; flex-direction: column; border-radius: 30px 0 0 30px; }

.cart-sidebar.active { right: 0; }

.cart-header { padding: 30px; display: flex; justify-content: space-between; align-items: center; background: var(--bg-color); border-radius: 30px 0 0 0; }

.cart-body { flex: 1; overflow-y: auto; padding: 25px 30px; }

.c-item { display: flex; gap: 15px; margin-bottom: 25px; padding-bottom: 25px; border-bottom: 1px dashed #E2E8F0; flex-direction: column;}

.c-item-row { display: flex; gap: 15px; align-items:center;}

.c-img { width: 80px; height: 80px; object-fit: cover; border-radius: 12px; }

.c-info { flex: 1; }

.c-title { font-weight: 600; color: var(--text-dark); margin-bottom: 5px; font-size: 1rem; }

.c-price { color: var(--secondary); font-weight: 600; font-family: 'Prompt'; margin-bottom: 10px; }

.c-dates { background: #F1F5F9; padding: 10px; border-radius: 8px; font-size: 0.85rem; color: var(--text-gray); margin-top: 10px; border: 1px solid #E2E8F0;}

.qty-box { display: inline-flex; align-items: center; background: var(--bg-color); border-radius: 8px; padding: 4px; }

.qty-btn { width: 28px; height: 28px; background: var(--white); border: none; border-radius: 6px; cursor: pointer; color: var(--primary); font-weight: bold; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }

.cart-footer { padding: 30px; background: var(--white); border-top: 1px solid #E2E8F0; box-shadow: 0 -10px 20px rgba(0,0,0,0.02); }

.c-total-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; font-size: 1.2rem; font-weight: 600; color: var(--text-dark); }



/* Chat Window */

@keyframes chat-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

.floating-chat-btn { position: fixed; bottom: 35px; left: 35px; width: 65px; height: 65px; background: var(--primary); color: var(--white); border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 1.8rem; cursor: pointer; z-index: 1000; box-shadow: 0 10px 25px rgba(13, 148, 136, 0.4); transition: 0.3s ease; animation: chat-bounce 3s infinite ease-in-out; }

.floating-chat-btn:hover { transform: scale(1.1); background: var(--primary-hover); animation: none; }

.chat-window { position: fixed; bottom: 110px; left: 35px; width: 350px; max-width: 85vw; height: 450px; background: var(--white); border-radius: var(--radius-md); box-shadow: 0 15px 35px rgba(0,0,0,0.15); z-index: 1001; display: flex; flex-direction: column; overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(20px); transition: 0.4s ease; border: 1px solid #E2E8F0; }

.chat-window.active { opacity: 1; visibility: visible; transform: translateY(0); }

.chat-header { background: linear-gradient(135deg, var(--primary) 0%, #14B8A6 100%); color: var(--white); padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; font-weight: 600; }

.chat-body { flex: 1; padding: 15px; overflow-y: auto; background: #F8FAFC; display: flex; flex-direction: column; gap: 10px; }

.chat-msg { max-width: 80%; padding: 10px 15px; border-radius: 15px; font-size: 0.95rem; line-height: 1.4; position: relative; animation: fadeIn 0.3s; word-wrap: break-word;}

.msg-user { align-self: flex-end; background: var(--primary); color: var(--white); border-bottom-right-radius: 2px; }

.msg-admin { align-self: flex-start; background: #E2E8F0; color: var(--text-dark); border-bottom-left-radius: 2px; }

.chat-footer { padding: 15px; background: var(--white); border-top: 1px solid #E2E8F0; display: flex; gap: 10px; align-items: center; }



/* Lightbox Modal */

.lightbox-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.95); z-index: 9999; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: 0.3s ease; backdrop-filter: blur(10px); }

.lightbox-overlay.active { opacity: 1; visibility: visible; }

.lightbox-content { position: relative; max-width: 85%; max-height: 85vh; text-align: center; }

.lightbox-content img { max-width: 100%; max-height: 85vh; border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,0.8); object-fit: contain; }

.lightbox-close { position: absolute; top: 25px; right: 35px; color: white; font-size: 2.5rem; cursor: pointer; z-index: 10000; transition: 0.3s; opacity: 0.7; }

.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); color: white; font-size: 1.8rem; cursor: pointer; z-index: 10000; transition: 0.3s; opacity: 0.6; }

.lightbox-prev { left: 30px; } .lightbox-next { right: 30px; }



/* Footer */

footer { background: var(--text-dark); color: rgba(255,255,255,0.7); text-align: center; padding: 60px 20px; position: relative; }