@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    padding: 15px
    }
  .auth-form label, .auth-form input, .auth-button {
    font-size: 0.9rem
    }
  }
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    align-items: flex-start
    }
  header nav ul {
    flex-direction: column;
    gap: 10px
    }
  .hero h1 {
    font-size: 2rem
    }
  }
@media (max-width: 768px) {
  .product-grid {
    flex-direction: column;
    align-items: center
    }
  .product-card {
    width: 100%;
    max-width: 400px
    }
  }
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    align-items: stretch
    }
  .contact-info, .contact-form-container {
    flex: 1 1 100%
    }
  }
@media (max-width: 768px) {
  .chat-container {
    height: 500px
    }
  .search-section input {
    font-size: 0.9rem;
    padding: 8px
    }
  .search-section button {
    padding: 8px 15px;
    font-size: 0.9rem
    }
  .chat-input input {
    font-size: 0.9rem;
    padding: 8px
    }
  .chat-input button {
    padding: 8px 15px;
    font-size: 0.9rem
    }
  }
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
    } to {
    opacity: 1;
    transform: translateY(0);
    }
  }
@media (max-width: 768px) {
  .nav-wrapper {
    flex-direction: column;
    align-items: flex-start;
    width: 100%
    }
  nav {
    width: 100%
    }
  nav ul {
    flex-direction: column;
    gap: 10px;
    width: 100%
    }
  .auth-links-and-cart {
    position: static;
    margin-top: 10px;
    flex-direction: column;
    align-items: flex-start
    }
  .nav-wrapper {
    display: none
    }
  .nav-wrapper.open {
    display: flex
    }
  }
@media (max-width: 768px) {
  .hamburger {
    display: flex
    }
  .main-nav {
    width: 100%;
    display: none;
    flex-direction: column;
    background-color: #222;
    position: absolute;
    top: 70px;
    left: 0;
    padding: 20px 0;
    z-index: 1000
    }
  .main-nav.nav-open {
    display: flex
    }
  .main-nav ul {
    flex-direction: column;
    gap: 15px;
    padding-left: 20px
    }
  .auth-links-and-cart {
    position: static;
    margin-top: 10px
    }
  header .logo {
    font-size: 1.2rem
    }
  header .logo img {
    width: 40px;
    margin-right: 8px
    }
  header {
    padding: 10px 15px
    }
  .auth-links-and-cart {
    position: static;
    margin-top: 10px;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 10px
    }
  .auth-links-container {
    flex-direction: row;
    align-items: center
    }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #222;
    padding: 20px 0;
    z-index: 1000
    }
  .hero {
    height: 80vh;
    background-position: center top;
    padding: 0 15px
    }
  .hero-overlay {
    text-align: center;
    background: rgba(0, 0, 0, 0.4);
    padding: 20px;
    border-radius: 10px;
    margin-top: 20%
    }
  .hero-overlay h1 {
    font-size: 1.8rem;
    color: #fff;
    text-shadow: none;
    margin-bottom: 15px
    }
  .hero-overlay p {
    font-size: 1rem;
    color: #f0f0f0;
    margin-bottom: 20px;
    line-height: 1.4
    }
  .hero-overlay .btn {
    font-size: 1rem;
    padding: 10px 20px;
    border-radius: 6px
    }
  .hero {
    height: auto;
    padding: 60px 0 40px;
    background-size: cover;
    background-position: center
    }
  .hero-overlay {
    margin-top: 40px
    }
  }
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box
  }
html {
  scroll-behavior: smooth
  }
body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f4f4f4;
  margin: 0;
  padding-top: 70px
  }
header {
  background: #222;
  color: #fff;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  padding: 15px 20px
  }
header .logo {
  display: flex;
  align-items: center;
  font-size: 1.8rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-right: auto
  }
header .logo img {
  width: 60px;
  height: auto;
  margin-right: 10px;
  border-radius: 50%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3)
  }
header nav {
  display: flex;
  align-items: center
  }
header nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0
  }
header nav ul li {
  margin: 0
  }
header nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s ease, border-bottom 0.3s ease
  }
header nav ul li a:hover {
  color: #ffdc73;
  border-bottom: 2px solid #ffdc73
  }
footer {
  background: #222;
  color: #ccc;
  text-align: center;
  padding: 20px;
  margin-top: 40px
  }
footer p {
  font-size: 0.9rem;
  margin-bottom: 10px
  }
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s ease, opacity 0.3s ease
  }
.modal.active {
  visibility: visible;
  opacity: 1
  }
.modal-content {
  background: #fff;
  width: 90%;
  max-width: 400px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  padding: 20px;
  position: relative
  }
.close-modal {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 1.5rem;
  color: #555;
  cursor: pointer;
  transition: color 0.3s ease
  }
.close-modal:hover {
  color: #000
  }
.auth-form .form-group {
  margin-bottom: 15px
  }
.auth-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #333
  }
.auth-form input {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease
  }
.auth-form input:focus {
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
  outline: none
  }
.auth-button {
  background-color: #007bff;
  color: #fff;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease
  }
.auth-button:hover {
  background-color: #0056b3;
  transform: scale(1.05)
  }
.auth-text {
  margin-top: 15px;
  font-size: 0.9rem;
  text-align: center
  }
.auth-text a {
  color: #007bff;
  text-decoration: none;
  font-weight: bold
  }
.auth-text a:hover {
  text-decoration: underline
  }
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    padding: 15px
    }
  .auth-form label, .auth-form input, .auth-button {
    font-size: 0.9rem
    }
  }
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  background: url("/static/images/28fpCUQOZuemHpzkAPcsk.33313697d902.jpg") no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center
  }
.hero-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  color: black
  }
.hero-overlay h1 {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.7)
  }
.hero-overlay p {
  font-size: 1.5rem;
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5)
  }
.hero-overlay .btn {
  padding: 15px 30px;
  font-size: 1.2rem;
  font-weight: bold;
  color: white;
  background: linear-gradient(90deg, #007bff, #0056b3);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2)
  }
.hero-overlay .btn:hover {
  background: linear-gradient(90deg, #0056b3, #007bff);
  transform: scale(1.1);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3)
  }
.cta .btn {
  background-color: #007bff;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease
  }
.cta .btn:hover {
  background-color: #0056b3;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2)
  }
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    align-items: flex-start
    }
  header nav ul {
    flex-direction: column;
    gap: 10px
    }
  .hero h1 {
    font-size: 2rem
    }
  }
.portfolio-item .btn {
  background-color: #007bff;
  color: white;
  padding: 10px 15px;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease
  }
.portfolio-item .btn:hover {
  background-color: #0056b3
  }
.youtube-live {
  padding: 20px 10px;
  background-color: #f9f9f9;
  text-align: center
  }
.youtube-live h2 {
  font-size: 1.8rem;
  margin-bottom: 15px
  }
.youtube-live p {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #555
  }
.video-container {
  max-width: 600px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px
  }
.video-container iframe {
  width: 100%;
  height: 300px;
  border: none
  }
.news {
  background-color: #fff;
  padding: 60px 20px;
  text-align: center
  }
.news h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #333
  }
.news p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #555
  }
.news-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 20px
  }
.news-item {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  flex: 1 1 calc(33% - 40px);
  max-width: 300px;
  text-align: left;
  transition: transform 0.3s ease
  }
.news-item:hover {
  transform: translatey(-10px)
  }
.news-item h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #007bff
  }
.news-item p {
  font-size: 1rem;
  margin-bottom: 15px;
  color: #666
  }
.news-item .btn {
  background-color: #007bff;
  color: white;
  padding: 10px 15px;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease
  }
.news-item .btn:hover {
  background-color: #0056b3
  }
.blog {
  background-color: #f9f9f9;
  padding: 40px 20px;
  text-align: center
  }
.blog h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #333
  }
.blog p {
  font-size: 1rem;
  margin-bottom: 30px;
  color: #555
  }
.blog-item .btn {
  margin-top: 15px;
  display: inline-block;
  background-color: #007bff;
  color: white;
  padding: 8px 15px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9rem;
  transition: background-color 0.3s ease
  }
.blog-item .btn:hover {
  background-color: #0056b3
  }
.products {
  padding: 60px 20px;
  background-color: #f9f9f9
  }
.page-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 20px;
  color: #333
  }
.page-description {
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 40px;
  color: #555
  }
.product-category {
  margin-bottom: 60px
  }
.product-category h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 30px;
  color: #007bff
  }
.product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px
  }
.product-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 300px;
  text-align: center;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease
  }
.product-card:hover {
  transform: translatey(-10px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2)
  }
.product-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px
  }
.product-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #333
  }
.product-card p {
  font-size: 1rem;
  margin-bottom: 15px;
  color: #555
  }
.product-card .price {
  font-size: 1.2rem;
  font-weight: bold;
  color: #007bff;
  margin-bottom: 15px
  }
.product-card .btn {
  background-color: #007bff;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease
  }
.product-card .btn:hover {
  background-color: #0056b3
  }
@media (max-width: 768px) {
  .product-grid {
    flex-direction: column;
    align-items: center
    }
  .product-card {
    width: 100%;
    max-width: 400px
    }
  }
.contact-section {
  background-color: #f9f9f9;
  padding: 50px 20px
  }
.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px
  }
.contact-info {
  flex: 1 1 40%;
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1)
  }
.contact-info h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 15px
  }
.contact-info p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px
  }
.contact-info ul {
  list-style: none;
  padding: 0
  }
.contact-info li {
  font-size: 1rem;
  color: #333;
  margin-bottom: 10px
  }
.contact-info li strong {
  color: #007bff
  }
.contact-form-container {
  flex: 1 1 55%;
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1)
  }
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px
  }
.contact-form .form-group {
  display: flex;
  flex-direction: column
  }
.contact-form label {
  font-size: 1rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 5px
  }
.contact-form input, .contact-form textarea {
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease
  }
.contact-form input:focus, .contact-form textarea:focus {
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5)
  }
.contact-form textarea {
  resize: none
  }
.contact-form .submit-button {
  background-color: #007bff;
  color: #fff;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease
  }
.contact-form .submit-button:hover {
  background-color: #0056b3;
  transform: scale(1.05)
  }
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    align-items: stretch
    }
  .contact-info, .contact-form-container {
    flex: 1 1 100%
    }
  }
.chat-forum {
  padding: 40px 20px;
  background-color: #f9f9f9;
  min-height: calc(100vh - 140px)
  }
.chat-forum h1 {
  text-align: center;
  color: #333;
  margin-bottom: 20px
  }
.search-section {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  gap: 10px
  }
.search-section input {
  flex: 1;
  max-width: 500px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  color: #333
  }
.search-section button {
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 10px 20px;
  font-size: 1rem;
  cursor: not-allowed;
  transition: background-color 0.3s ease
  }
.search-section input:disabled, .search-section button:disabled {
  background-color: #f0f0f0;
  cursor: not-allowed
  }
.chat-container {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  height: 600px;
  overflow: hidden
  }
.placeholder-message {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #777;
  font-size: 1.2rem
  }
.chat-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  background: #f4f4f4;
  border-bottom: 1px solid #ddd
  }
.message {
  margin-bottom: 15px;
  padding: 10px;
  border-radius: 8px;
  display: flex;
  flex-direction: column
  }
.message .username {
  font-weight: bold;
  margin-bottom: 5px;
  color: #333
  }
.message .message-text {
  font-size: 1rem;
  color: #555;
  margin-bottom: 5px
  }
.message .timestamp {
  font-size: 0.8rem;
  color: #aaa;
  text-align: right
  }
.chat-input {
  display: flex;
  padding: 10px;
  background: #fff;
  border-top: 1px solid #ddd
  }
.chat-input input {
  flex: 1;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 10px;
  font-size: 1rem;
  margin-right: 10px;
  color: #333
  }
.chat-input button {
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 10px 20px;
  font-size: 1rem;
  cursor: not-allowed;
  transition: background-color 0.3s ease
  }
.chat-input input:disabled, .chat-input button:disabled {
  background-color: #f0f0f0;
  cursor: not-allowed
  }
@media (max-width: 768px) {
  .chat-container {
    height: 500px
    }
  .search-section input {
    font-size: 0.9rem;
    padding: 8px
    }
  .search-section button {
    padding: 8px 15px;
    font-size: 0.9rem
    }
  .chat-input input {
    font-size: 0.9rem;
    padding: 8px
    }
  .chat-input button {
    padding: 8px 15px;
    font-size: 0.9rem
    }
  }
.tws-assistant {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  background: transparent
  }
#tws-chat-btn {
  width: 70px;
  height: 70px;
  border: none;
  background: none;
  outline: none;
  padding: 0;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center
  }
#tws-chat-btn:focus {
  outline: none
  }
.tws-assistant-image {
  width: 100%;
  height: 100%;
  border: none;
  margin: 0;
  padding: 0;
  object-fit: cover;
  display: block;
  border-radius: 50%;
  background: none
  }
.hidden {
  transform: translatey(100%);
  opacity: 0;
  pointer-events: none
  }
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
  border-top: 1px solid #ddd
  }
.message {
  margin: 5px 0;
  padding: 8px 10px;
  border-radius: 4px;
  font-size: 0.9rem
  }
.bot-message {
  background-color: #f1f1f1;
  color: #333
  }
#chat-input {
  flex: 1;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-right: 10px
  }
#send-chat-btn {
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 8px 15px;
  cursor: pointer;
  transition: background-color 0.3s ease
  }
#send-chat-btn:hover {
  background-color: #0056b3
  }
.auth-links-and-cart {
  display: flex;
  align-items: center;
  gap: 15px;
  position: absolute;
  right: 11px;
  bottom: 0
  }
.auth-links-container {
  display: flex;
  gap: 10px
  }
.auth-links-container a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease
  }
.auth-links-container a:hover {
  color: #ffdc73
  }
.cart-container {
  position: relative;
  display: flex;
  align-items: center
  }
#cart-toggle-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: white;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.3s ease, transform 0.3s ease
  }
#cart-toggle-btn:hover {
  color: #ffdc73;
  transform: scale(1.1)
  }
#cart-count {
  font-size: 0.9rem;
  background: #007bff;
  color: white;
  border-radius: 50%;
  padding: 2px 8px;
  font-weight: bold;
  display: inline-block;
  margin-left: 5px;
  min-width: 24px;
  text-align: center
  }
#cart-content {
  display: none;
  position: absolute;
  top: 40px;
  right: 0;
  width: 300px;
  background-color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  z-index: 1000;
  padding: 15px
  }
.cart-container.open #cart-content {
  display: block
  }
#cart-content h3 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 10px
  }
#cart-items {
  max-height: 200px;
  overflow-y: auto;
  margin-bottom: 15px;
  font-size: 0.9rem;
  color: #666
  }
#cart-footer {
  display: flex;
  justify-content: space-between;
  gap: 10px
  }
#view-cart-btn, #checkout-btn {
  flex: 1;
  padding: 8px 15px;
  font-size: 0.9rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-align: center
  }
#view-cart-btn {
  background-color: #007bff;
  color: white
  }
#view-cart-btn:hover {
  background-color: #0056b3;
  transform: scale(1.05)
  }
#checkout-btn {
  background-color: #28a745;
  color: white
  }
#checkout-btn:hover {
  background-color: #218838;
  transform: scale(1.05)
  }
.chat-input {
  display: flex;
  gap: 10px;
  margin-top: 10px
  }
.chat-input input {
  flex-grow: 1;
  padding: 10px;
  font-size: 16px
  }
.chat-input button {
  padding: 10px 20px;
  font-size: 16px;
  background-color: #007bff;
  color: white;
  border: none;
  cursor: pointer
  }
.chat-input button:disabled {
  background-color: #ccc;
  cursor: not-allowed
  }
.logout-button {
  background: none;
  border: none;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 0
  }
.chat-messages .message {
  background-color: #f1f9ff;
  border-left: 4px solid #007bff;
  padding: 12px 16px;
  margin-bottom: 12px;
  border-radius: 6px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  animation: fadeIn 0.3s ease-in-out
  }
.chat-messages .message .username {
  font-weight: 600;
  color: #007bff;
  font-size: 1rem;
  margin-bottom: 4px
  }
.chat-messages .message .message-text {
  font-size: 1rem;
  color: #333;
  margin-bottom: 6px
  }
.chat-messages .message .timestamp {
  font-size: 0.85rem;
  color: #999;
  text-align: right
  }
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
    } to {
    opacity: 1;
    transform: translateY(0);
    }
  }
.nav-wrapper {
  display: flex;
  align-items: center;
  gap: 20px
  }
@media (max-width: 768px) {
  .nav-wrapper {
    flex-direction: column;
    align-items: flex-start;
    width: 100%
    }
  nav {
    width: 100%
    }
  nav ul {
    flex-direction: column;
    gap: 10px;
    width: 100%
    }
  .auth-links-and-cart {
    position: static;
    margin-top: 10px;
    flex-direction: column;
    align-items: flex-start
    }
  .nav-wrapper {
    display: none
    }
  .nav-wrapper.open {
    display: flex
    }
  }
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%
  }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 1100
  }
.hamburger span {
  width: 25px;
  height: 3px;
  background-color: white;
  display: block;
  border-radius: 2px;
  transition: all 0.3s ease
  }
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px)
  }
.hamburger.open span:nth-child(2) {
  opacity: 0
  }
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px)
  }
.main-nav {
  display: flex
  }
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 25px
  }
@media (max-width: 768px) {
  .hamburger {
    display: flex
    }
  .main-nav {
    width: 100%;
    display: none;
    flex-direction: column;
    background-color: #222;
    position: absolute;
    top: 70px;
    left: 0;
    padding: 20px 0;
    z-index: 1000
    }
  .main-nav.nav-open {
    display: flex
    }
  .main-nav ul {
    flex-direction: column;
    gap: 15px;
    padding-left: 20px
    }
  .auth-links-and-cart {
    position: static;
    margin-top: 10px
    }
  header .logo {
    font-size: 1.2rem
    }
  header .logo img {
    width: 40px;
    margin-right: 8px
    }
  header {
    padding: 10px 15px
    }
  .auth-links-and-cart {
    position: static;
    margin-top: 10px;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 10px
    }
  .auth-links-container {
    flex-direction: row;
    align-items: center
    }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #222;
    padding: 20px 0;
    z-index: 1000
    }
  .hero {
    height: 80vh;
    background-position: center top;
    padding: 0 15px
    }
  .hero-overlay {
    text-align: center;
    background: rgba(0, 0, 0, 0.4);
    padding: 20px;
    border-radius: 10px;
    margin-top: 20%
    }
  .hero-overlay h1 {
    font-size: 1.8rem;
    color: #fff;
    text-shadow: none;
    margin-bottom: 15px
    }
  .hero-overlay p {
    font-size: 1rem;
    color: #f0f0f0;
    margin-bottom: 20px;
    line-height: 1.4
    }
  .hero-overlay .btn {
    font-size: 1rem;
    padding: 10px 20px;
    border-radius: 6px
    }
  .hero {
    height: auto;
    padding: 60px 0 40px;
    background-size: cover;
    background-position: center
    }
  .hero-overlay {
    margin-top: 40px
    }
  }
.tws-assistant-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: none;
  display: block
  }
.tws-assistant-image {
  width: 125%;
  height: 125%;
  border-radius: 50%;
  object-fit: cover;
  background: transparent;
  box-shadow: none
  }
#tws-chat-btn {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  outline: none !important;
  padding: 0
  }
.footer-social {
  display: flex;
  justify-content: center;
  margin: 16px 0 12px 0
  }
.twitter-link {
  color: #1da1f2;
  font-size: 1.3rem;
  text-decoration: none;
  font-weight: bold;
  padding: 6px 18px;
  border-radius: 20px;
  transition: background 0.2s, color 0.2s;
  letter-spacing: 1px
  }
.twitter-link:hover {
  background: #e8f5fd;
  color: #0d8ddb;
  text-decoration: underline
  }
.footer-social {
  margin: 16px 0 18px 0
  }
.chat-forum {
  background: #f3f8fc;
  min-height: 100vh;
  padding: 60px 0 30px 0
  }
.chat-container {
  max-width: 650px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 0 1.5px 4px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 480px
  }
.chat-forum h1 {
  color: #132b3b;
  font-size: 2.3rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-align: center;
  margin-bottom: 30px;
  text-shadow: 0 1px 0 #f7f7f7
  }
.search-section {
  margin: 0 auto 30px auto;
  max-width: 600px;
  display: flex;
  justify-content: center;
  gap: 12px
  }
.search-section input {
  font-size: 1.1rem;
  padding: 12px 16px;
  border: 1.5px solid #d0e2f7;
  border-radius: 8px;
  width: 320px;
  background: #f6fafd;
  transition: border-color 0.2s
  }
.search-section input:focus {
  border-color: #41a0ff;
  outline: none
  }
.search-section button {
  padding: 12px 28px;
  font-size: 1.05rem;
  background: #007bff;
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  transition: background 0.18s;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06)
  }
.search-section button:enabled:hover {
  background: #0056b3
  }
.chat-messages {
  flex: 1;
  background: #f6fafd;
  padding: 26px 20px 12px 20px;
  overflow-y: auto;
  border-bottom: 1.5px solid #e1ecf5
  }
.message {
  margin-bottom: 18px;
  padding: 14px 18px 12px 18px;
  border-radius: 12px;
  background: #e9f3ff;
  border-left: 5px solid #007bff;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.03);
  font-size: 1rem;
  position: relative;
  animation: fadeIn 0.3s
  }
.message:nth-child(even) {
  background: #f0f7fa;
  border-left: 5px solid #1da1f2
  }
.message .username {
  font-weight: 700;
  color: #007bff;
  font-size: 1.03rem;
  margin-bottom: 3px
  }
.message .message-text {
  color: #1d2937;
  margin-top: 2px;
  margin-bottom: 3px
  }
.message .timestamp {
  font-size: 0.82rem;
  color: #95a2b3;
  position: absolute;
  right: 16px;
  bottom: 8px
  }
.placeholder-message {
  text-align: center;
  color: #999;
  font-size: 1.17rem;
  margin-top: 90px;
  font-style: italic;
  letter-spacing: 0.1px
  }
.chat-input {
  background: #f6fafd;
  padding: 18px 20px;
  display: flex;
  gap: 10px;
  border-top: 1.5px solid #e1ecf5
  }
.chat-input input {
  flex: 1;
  font-size: 1.08rem;
  border: 1.5px solid #cfe1f1;
  border-radius: 7px;
  padding: 12px 14px;
  background: #fff;
  transition: border 0.2s
  }
.chat-input input:focus {
  border-color: #41a0ff;
  outline: none
  }
.chat-input button {
  background: #007bff;
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 7px;
  padding: 12px 28px;
  font-size: 1.07rem;
  transition: background 0.18s;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05)
  }
.chat-input button:enabled:hover {
  background: #0056b3
  }
@media (max-width: 800px) {
  .chat-container {
    max-width: 98vw;
    min-height: 350px
    }
  .search-section input {
    width: 55vw;
    min-width: 120px
    }
  .chat-input button {
    padding: 12px 18px
    }
  }
.chat-forum-page .chat-forum, .chat-forum-page .container {
  flex: 1 1 auto
  }
.chat-container {
  display: flex;
  flex-direction: column;
  height: 600px;
  min-height: 400px;
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden
  }
.chat-messages {
  flex: 1 1 auto;
  padding: 20px;
  overflow-y: auto;
  background: #f4f8fa;
  border-bottom: 1px solid #eee;
  min-height: 0
  }
.chat-input {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: #f9f9f9;
  border-top: 1px solid #eee
  }
.chat-forum-page .chat-container {
  min-height: 350px;
  height: auto;
  max-height: 80vh;
  display: flex;
  flex-direction: column
  }
.chat-forum-page .chat-container {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 230px);
  max-height: none !important
  }
.chat-forum-page .chat-input {
  flex: 0 0 auto
  }
.chat-forum-page .chat-container {
  height: calc(100vh - 200px);
  max-height: none !important
  }
.chat-forum-page .chat-container {
  height: auto !important;
  max-height: 80vh;
  display: flex;
  flex-direction: column
  }
.chat-forum-page .chat-container {
  height: auto !important;
  max-height: 75vh;
  display: flex;
  flex-direction: column
  }
.chat-forum-page .chat-container {
  height: auto !important;
  max-height: 78vh !important;
  display: flex;
  flex-direction: column
  }
.chat-forum-page .chat-container .chat-messages {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  max-height: calc(70vh - 160px)
  }
.chat-forum-page .chat-container {
  height: auto !important;
  max-height: calc(100vh - 200px) !important;
  display: flex;
  flex-direction: column
  }
#tws-chat-btn {
  background: none;
  border: none;
  cursor: pointer
  }
#tws-chat-btn img {
  width: 125%;
  height: 125%;
  border-radius: 50%
  }
#assistant-area {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 300px;
  max-height: 420px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  z-index: 1100;
  transition: transform 0.25s, opacity 0.25s
  }
#assistant-area.hidden {
  transform: translatey(100%);
  opacity: 0;
  pointer-events: none
  }
.assistant-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #007bff;
  color: #fff;
  padding: 10px 12px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px
  }
#assistant-close-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer
  }
.assistant-messages {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 12px 14px;
  background: #f6fafd;
  border-bottom: 1px solid #e1ecf5
  }
.assistant-messages .message {
  margin-bottom: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.95rem
  }
.assistant-messages .user-message {
  background: #e9f3ff;
  border-left: 4px solid #007bff
  }
.assistant-messages .bot-message {
  background: #fff9e6;
  border-left: 4px solid #ffb300
  }
.assistant-input-row {
  flex: 0 0 auto;
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  background: #f9f9f9
  }
#assistant-input {
  flex: 1 1 auto;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 4px
  }
#assistant-send-btn {
  flex: 0 0 auto;
  padding: 8px 16px;
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s
  }
#assistant-send-btn:hover {
  background: #0056b3
  }
@media (max-width: 480px) {
  #assistant-area {
    right: 10px;
    width: 260px
    }
  }
.news-grid {
  align-items: stretch
  }
.news-item {
  height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  overflow: hidden;
  box-sizing: border-box;
  transition: box-shadow 0.2s
  }
.news-item:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1)
  }
.news-item h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  flex-shrink: 0
  }
.news-item p {
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 1rem;
  color: #666;
  margin-bottom: 16px;
  flex-grow: 1
  }
.news-item .btn {
  align-self: flex-start;
  margin-top: auto
  }
@media (max-width: 600px) {
  .news-item {
    height: 250px
    }
  .news-item p {
    -webkit-line-clamp: 4
    }
  }
@media (max-width: 600px) {
  .news-grid {
    flex-direction: column;
    gap: 16px;
    align-items: stretch
    }
  .news-item {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: auto;
    box-sizing: border-box;
    padding: 16px 14px;
    margin: 0 auto;
    border-radius: 14px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.07);
    display: flex;
    flex-direction: column
    }
  .news-item h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #007bff;
    line-height: 1.2;
    font-weight: 600;
    word-break: break-word
    }
  .news-item p {
    font-size: 0.97rem;
    color: #444;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.35
    }
  .news-item .btn {
    margin-top: 4px;
    padding: 7px 18px;
    font-size: 0.98rem;
    border-radius: 6px
    }
  .news {
    background: #f6f8fb
    }
  }
@media (max-width: 600px) {
  .portfolio-item .btn {
    margin-top: 5px;
    font-size: 0.99rem;
    border-radius: 6px;
    padding: 9px 20px;
    width: 100%;
    text-align: center
    }
  .portfolio .container {
    padding: 0 4px
    }
  }
.slider-scroll {
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #ccc #f4f4f4;
  padding-bottom: 8px;
  margin-bottom: 12px;
  scroll-snap-type: x mandatory
  }
.slider-scroll::-webkit-scrollbar {
  height: 8px
  }
.slider-scroll::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 8px
  }
.news-grid {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 24px !important
  }
.news-item {
  flex: 0 0 350px;
  min-width: 300px;
  max-width: 95vw;
  scroll-snap-align: start;
  margin: 0;
  box-sizing: border-box
  }
@media (max-width: 900px) {
  .news-item {
    flex: 0 0 75vw;
    min-width: 280px;
    max-width: 90vw
    }
  .slider-scroll {
    gap: 12px
    }
  }
@media (max-width: 600px) {
  .news-item {
    flex: 0 0 88vw;
    min-width: 220px;
    max-width: 96vw
    }
  }
.slider-scroll {
  -ms-overflow-style: none
  }
.slider-scroll::-webkit-scrollbar {
  display: none
  }
.slider-scroll > *:first-child {
  margin-left: 10px
  }
.slider-scroll > *:last-child {
  margin-right: 10px
  }
.contact-container.single-column {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 15px
  }
.flash-messages {
  max-width: 600px;
  margin: 10px auto 25px
  }
.alert {
  padding: 14px 18px;
  border-radius: 6px;
  font-size: 1rem;
  position: relative;
  margin-bottom: 12px;
  color: #0f5132;
  background-color: #d1e7dd;
  border: 1px solid #badbcc
  }
.alert-error, .alert-danger {
  color: #842029;
  background-color: #f8d7da;
  border-color: #f5c2c7
  }
.close-alert {
  cursor: pointer;
  font-weight: bold;
  position: absolute;
  right: 12px;
  top: 6px
  }
.contact-info h2, .contact-section h2 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10px
  }
.contact-info p, .contact-section p {
  text-align: center;
  margin-bottom: 10px
  }
@media (max-width: 600px) {
  .cart-container {
    position: static
    }
  #cart-content {
    position: fixed !important;
    top: 70px;
    right: 10px;
    left: 10px;
    width: auto !important;
    max-width: 95vw;
    z-index: 9999;
    border-radius: 12px;
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.2);
    background: #fff
    }
  .cart-container.open #cart-content {
    display: block;
    margin-top: 20px
    }
  #assistant-send-btn {
    padding: 8px 9px
    }
  }
#cart-items {
  display: none;
  max-height: 240px;
  overflow: auto;
  margin: 8px 0
  }
#cart-summary {
  font-weight: 600;
  margin: 0 0 8px
  }
#cart-content {
  width: 320px
  }
#cart-summary {
  font-weight: 700;
  margin: 6px 0 8px
  }
#cart-items {
  display: none;
  max-height: 260px;
  overflow: auto;
  margin: 6px 0 10px
  }
#cart-items.show {
  display: block
  }
.status-page {
  padding: 64px 16px
  }
.status-card {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  padding: 32px 28px;
  text-align: center
  }
.status-card h1 {
  margin: 6px 0 8px;
  font-size: 28px
  }
.status-card .lead {
  color: #475569;
  margin: 0 0 8px;
  font-size: 1.05rem
  }
.status-card .next-steps {
  list-style: none;
  padding: 0;
  margin: 10px 0 22px;
  color: #64748b
  }
.status-card .next-steps li {
  margin: 4px 0
  }
.status-card .actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 8px
  }
.status-card .support {
  color: #64748b;
  margin-top: 10px
  }
.status-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 10px;
  border-radius: 50%;
  display: grid;
  place-items: center
  }
.status-card.cancelled .status-icon {
  background: #fee2e2;
  color: #dc2626
  }
.btn.btn-secondary {
  background: #e5e7eb;
  color: #111
  }
.btn.btn-secondary:hover {
  background: #d1d5db
  }
.status-card.success .status-icon {
  background: #dcfce7;
  color: #16a34a
  }
.blog-list .blog-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 18px 20px;
  margin: 12px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04)
  }
.blog-detail .post-hero {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 10px 0 18px
  }
.blog-detail .post-body {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #2b2b2b
  }
.post-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px
  }
.blog-detail .post {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 18px 40px
  }
.blog-detail .page-title {
  font-size: 2.25rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 8px
  }
.blog-detail .meta {
  color: #6b7280;
  font-size: 0.95rem;
  margin-bottom: 18px
  }
.blog-detail .post-hero {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 26px rgba(0, 0, 0, 0.08);
  margin: 10px 0 22px
  }
.blog-detail .post-body {
  color: #1f2937;
  font-size: 1.08rem;
  line-height: 1.8
  }
.blog-detail .post-body a {
  color: #0b63ff;
  text-decoration: none
  }
.blog-detail .post-body a:hover {
  text-decoration: underline
  }
.blog-detail .post-body h2 {
  margin: 1.8em 0 0.6em;
  font-size: 1.6rem;
  font-weight: 800
  }
.blog-detail .post-body h3 {
  margin: 1.4em 0 0.4em;
  font-size: 1.25rem;
  font-weight: 700
  }
.blog-detail .post-body ul, .blog-detail .post-body ol {
  padding-left: 1.4rem;
  margin: 0 0 1rem
  }
.blog-detail .post-body li {
  margin: 0.25rem 0
  }
.blog-detail .post-body blockquote {
  border-left: 4px solid #d1d5db;
  background: #f9fafb;
  padding: 0.8rem 1rem;
  margin: 1rem 0;
  color: #374151
  }
.blog-detail .post-body code {
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 0.1rem 0.35rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace
  }
.blog-detail .post-body pre code {
  display: block;
  padding: 0.9rem 1rem;
  overflow-x: auto
  }
.blog-detail .post-body hr {
  border: 0;
  height: 1px;
  background: #e5e7eb;
  margin: 2rem 0
  }
.blog-detail .post .post-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px
  }
.blog-list-page .blog-list {
  max-width: 980px;
  margin: 0 auto;
  padding: 10px 18px 40px
  }
.blog-list-page .blog-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 16px 18px;
  margin: 12px 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04)
  }
.blog-list-page .blog-card h2 {
  margin: 0 0 6px;
  font-weight: 800
  }
.blog-list-page .blog-card .meta {
  color: #6b7280;
  margin-bottom: 6px
  }
.blog-list-page .blog-card p {
  margin: 0 0 0.6rem;
  line-height: 1.7
  }
@media (max-width: 640px) {
  .blog-detail .page-title {
    font-size: 1.85rem
    }
  .blog-detail .post {
    padding: 16px 14px 32px
    }
  }
.blog-detail .post {
  max-width: 920px;
  margin: 0 auto;
  padding: 28px 18px 48px
  }
.blog-detail .page-title {
  margin-top: 20px;
  font-size: 2.25rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 10px
  }
.blog-detail .meta {
  color: #6b7280;
  font-size: 0.95rem;
  margin-bottom: 6px
  }
.blog-detail .post-hero {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  margin: 12px 0 22px
  }
.blog-detail .post-body {
  color: #1f2937;
  font-size: 1.08rem;
  line-height: 1.85
  }
.blog-detail .post-body p {
  margin: 0 0 1.05rem
  }
.blog-detail .post-body p:first-of-type {
  font-size: 1.15rem;
  line-height: 1.9;
  color: #111827
  }
.blog-detail .post-body blockquote {
  border-left: 4px solid #e5e7eb;
  background: #f9fafb;
  padding: 0.9rem 1rem;
  margin: 1.2rem 0;
  color: #374151;
  border-radius: 8px
  }
.blog-detail .post-body code {
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 0.12rem 0.35rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace
  }
.blog-detail .post .post-actions {
  display: flex;
  gap: 12px;
  margin-top: 22px
  }
.blog-detail .post .post-actions .btn {
  padding: 10px 16px;
  font-weight: 600;
  border-radius: 10px
  }
.blog-list-page .blog-list {
  max-width: 980px;
  margin: 0 auto;
  padding: 12px 18px 44px
  }
.blog-list-page .blog-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 18px 20px;
  margin: 12px 0;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04)
  }
.blog-list-page .blog-card h2 {
  margin: 0 0 4px;
  font-weight: 800;
  letter-spacing: -0.01em
  }
.blog-list-page .blog-card .meta {
  color: #6b7280;
  margin-bottom: 8px
  }
.blog-list-page .blog-card p {
  margin: 0 0 0.6rem;
  line-height: 1.75
  }
@media (max-width: 640px) {
  .blog-detail .page-title {
    font-size: 1.9rem
    }
  .blog-detail .post {
    padding: 18px 14px 36px
    }
  }
.legal-page {
  background: #f7f9fc;
  padding: 40px 0 56px;
  counter-reset: legalSec
  }
.legal-page .container {
  max-width: 920px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #eef0f3;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
  padding: 28px 28px 32px
  }
.legal-page h1 {
  margin: 0 0 8px;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111827
  }
.legal-page .container > p:first-of-type {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 12px;
  font-size: 0.95rem;
  color: #374151;
  background: #f1f5f9;
  border: 1px solid #e5e7eb;
  border-radius: 999px
  }
.legal-page h2 {
  counter-increment: legalSec;
  position: relative;
  margin: 24px 0 10px;
  padding-top: 8px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #0f172a
  }
.legal-page h2::before {
  content: counter(legalSec) ". ";
  color: #64748b;
  font-weight: 800
  }
.legal-page p {
  margin: 0 0 14px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #1f2937
  }
.legal-page ul, .legal-page ol {
  margin: 0 0 16px 1.25rem;
  line-height: 1.8;
  color: #1f2937
  }
.legal-page strong {
  color: #0f172a
  }
.legal-page em {
  color: #374151
  }
@media print {
  .legal-page {
    background: #fff;
    padding: 0
    }
  .legal-page .container {
    border: none;
    box-shadow: none;
    padding: 0;
    max-width: 700px
    }
  }
.news .news-grid, .blog .blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch
  }
.news .news-item, .blog .blog-item {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease
  }
.news .news-item:hover, .blog .blog-item:hover {
  transform: translatey(-2px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08)
  }
.news .news-item h3, .blog .blog-item h3 {
  margin: 0 0 10px;
  line-height: 1.25
  }
.news .news-item p, .blog .blog-item p {
  color: #4b5563;
  margin: 0 0 16px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden
  }
.news .news-item .btn, .blog .blog-item .btn {
  margin-top: auto;
  align-self: flex-start
  }
@media (max-width: 1024px) {
  .news .news-grid, .blog .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px
    }
  .news .news-item p, .blog .blog-item p {
    -webkit-line-clamp: 4
    }
  }
@media (max-width: 700px) {
  .slider-scroll {
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-behavior: smooth;
    scrollbar-width: thin
    }
  .slider-scroll::-webkit-scrollbar {
    height: 6px
    }
  .slider-scroll::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px
    }
  .news .news-grid, .blog .blog-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 88%;
    gap: 16px;
    scroll-snap-type: x mandatory
    }
  .news .news-item, .blog .blog-item {
    min-height: 220px;
    scroll-snap-align: start
    }
  .news .news-item p, .blog .blog-item p {
    -webkit-line-clamp: 6
    }
  }
@media (prefers-reduced-motion: reduce) {
  .news .news-item, .blog .blog-item {
    transition: none
    }
  }
@media (max-width: 700px) {
  #blog .slider-scroll {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px
    }
  #blog .blog-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 16px !important;
    width: max-content !important
    }
  #blog .blog-item {
    flex: 0 0 86vw !important;
    max-width: none !important;
    scroll-snap-align: start
    }
  #blog .slider-scroll > *:first-child {
    margin-left: 0 !important
    }
  #blog .slider-scroll > *:last-child {
    margin-right: 0 !important
    }
  }
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px
  }
.product-card {
  background: #fff;
  border: 1px solid #e9edf2;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04)
  }
.product-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px
  }
.product-card h3 {
  margin: 12px 0 6px;
  font-size: 1.05rem
  }
.product-card .price {
  font-weight: 700;
  margin: 8px 0 10px
  }
.product-card .btn {
  display: inline-block
  }
.product-detail .pd-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: flex-start
  }
.product-detail .pd-hero {
  width: 100%;
  border-radius: 12px
  }
.pd-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 10px
  }
.pd-thumbs img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid #e0e6ee
  }
.pd-price {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 4px 0 12px
  }
@media (max-width: 900px) {
  .product-detail .pd-grid {
    grid-template-columns: 1fr
    }
  }
.pd-wrap {
  padding-bottom: 24px
  }
.pd-hero {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #111827;
  margin: 0 0 24px 0
  }
.pd-hero img {
  width: 100%;
  height: clamp(220px, 40vw, 380px);
  object-fit: cover;
  display: block;
  opacity: 0.95
  }
.pd-hero .pd-hero-text {
  position: absolute;
  left: 24px;
  top: 24px;
  right: 24px;
  color: #fff;
  background: rgba(17, 24, 39, 0.55);
  padding: 18px 20px;
  border-radius: 12px
  }
.pd-hero h1 {
  margin: 0 0 6px 0;
  font-size: clamp(22px, 3.4vw, 38px);
  letter-spacing: 0.2px
  }
.pd-hero p {
  margin: 0;
  max-width: 60ch
  }
.pd-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 28px
  }
@media (max-width: 980px) {
  .pd-grid {
    grid-template-columns: 1fr
    }
  }
.pd-gallery {
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08)
  }
.pd-main-media img, .pd-main-media video, .pd-main-media iframe {
  width: 100%;
  border-radius: 12px;
  background: #0f172a;
  display: block;
  min-height: 220px
  }
.pd-main-media iframe {
  aspect-ratio: 16/9
  }
.pd-thumbs {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 10px
  }
.pd-thumbs img {
  width: 100%;
  height: 70px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  border: 2px solid transparent
  }
.pd-card {
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 18px;
  height: fit-content
  }
.pd-price {
  font-size: 22px;
  font-weight: 700;
  margin: 6px 0 12px;
  color: #0f172a
  }
.pd-buy .btn {
  border-radius: 10px;
  font-weight: 600;
  padding: 10px 16px
  }
.pd-buy .btn-outline {
  background: transparent;
  border: 1px solid #cbd5e1;
  color: #111827
  }
.pd-note {
  color: #374151;
  font-size: 14px
  }
.pd-sec {
  margin-top: 28px;
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06)
  }
.pd-sec h3 {
  margin-top: 0
  }
.pd-wrap {
  padding-bottom: 36px
  }
.pd-hero {
  border-radius: 20px;
  margin: 8px 0 28px;
  position: relative;
  overflow: hidden
  }
.pd-hero img {
  height: clamp(240px, 38vw, 420px);
  object-fit: cover;
  opacity: 0.95;
  display: block
  }
.pd-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.55), rgba(17, 24, 39, 0.12) 45%, rgba(17, 24, 39, 0))
  }
.pd-hero .pd-hero-text {
  position: absolute;
  inset: 20px auto auto 20px;
  right: 20px;
  color: #fff;
  backdrop-filter: blur(2px);
  background: rgba(17, 24, 39, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 16px 18px;
  border-radius: 14px
  }
.pd-hero h1 {
  margin: 0 0 4px;
  font-size: clamp(22px, 3.2vw, 36px)
  }
.pd-hero p {
  margin: 0;
  opacity: 0.95
  }
.pd-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 28px
  }
@media (max-width: 980px) {
  .pd-grid {
    grid-template-columns: 1fr
    }
  }
.pd-gallery {
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08)
  }
.pd-main-media img, .pd-main-media video, .pd-main-media iframe {
  width: 100%;
  border-radius: 12px;
  background: #0f172a;
  display: block;
  min-height: 260px
  }
.pd-main-media iframe {
  aspect-ratio: 16/9;
  border: 0
  }
.pd-main-media video {
  max-height: 70vh
  }
.pd-thumbs {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 10px
  }
.pd-thumbs img {
  width: 100%;
  height: 74px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.06s ease, border-color 0.12s ease
  }
.pd-thumbs img:hover {
  transform: translatey(-1px)
  }
.pd-thumbs img.active {
  border-color: #2563eb
  }
.pd-video-thumb {
  background: #0f172a;
  object-fit: cover
  }
.pd-card {
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 16px;
  height: fit-content
  }
.pd-card h2 {
  margin: 0;
  font-size: 22px
  }
.pd-price {
  font-size: 24px;
  font-weight: 800;
  margin: 6px 0 14px;
  color: #0f172a
  }
.pd-buy {
  display: flex;
  gap: 10px;
  margin-bottom: 12px
  }
.pd-buy .btn {
  border-radius: 10px;
  font-weight: 700;
  padding: 10px 16px
  }
.pd-buy .btn-primary {
  background: #2563eb;
  color: #fff
  }
.pd-buy .btn-primary:hover {
  filter: contrast(1.05)
  }
.pd-buy .btn-accent {
  background: #10b981;
  color: #042
  }
.pd-buy .btn-accent:hover {
  filter: contrast(1.05)
  }
.pd-note {
  color: #374151;
  font-size: 14px;
  line-height: 1.45
  }
.pd-small {
  font-size: 12px;
  color: #6b7280;
  margin-top: 6px
  }
.pd-quick-video {
  margin-top: 12px
  }
.pd-quick-video .btn {
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #fff
  }
.pd-quick-video .btn:hover {
  background: #f8fafc
  }
.pd-sec {
  margin-top: 28px;
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06)
  }
.pd-sec h3 {
  margin: 0 0 8px
  }
.products .product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(320px, 1fr));
  gap: 30px
  }
@media (max-width: 1024px) {
  .products .product-grid {
    grid-template-columns: repeat(2, minmax(280px, 1fr))
    }
  }
@media (max-width: 640px) {
  .products .product-grid {
    grid-template-columns: 1fr
    }
  }
.products .product-card {
  background: #fff;
  border: 1px solid #e9edf2;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08)
  }
.products .product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 12px
  }
.products .product-card h3 {
  margin: 12px 0 8px;
  font-size: 1.1rem;
  color: #111
  }
.products .product-card h3 a:hover {
  color: #0d6efd;
  text-decoration: none
  }
.products .product-card p {
  margin: 0 0 10px;
  color: #555
  }
.products .product-card .price {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0d6efd;
  margin: 6px 0 12px
  }
.products .product-card .btn {
  display: inline-block;
  background: #0d6efd;
  color: #fff;
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  font-weight: 600;
  border: none;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(13, 110, 253, 0.25)
  }
.pd-buy {
  display: flex;
  justify-content: center;
  margin: 20px 0
  }
.pd-buy .btn-primary {
  font-size: 1.1rem;
  padding: 14px 28px;
  border-radius: 12px;
  background: #1d4ed8;
  color: #fff;
  box-shadow: 0 8px 20px rgba(29, 78, 216, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease
  }
.pd-buy .btn-primary:hover {
  transform: translatey(-2px);
  box-shadow: 0 10px 24px rgba(29, 78, 216, 0.35)
  }
.pd-buy {
  display: flex;
  justify-content: center;
  margin-bottom: 12px
  }
.pd-buy .btn {
  min-width: 180px;
  text-align: center;
  font-size: 1rem;
  padding: 12px 20px
  }
@media (min-width: 981px) {
  .pd-buy {
    justify-content: flex-start
    }
  }
.products .container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px
  }
.products .product-card {
  width: 100% !important;
  max-width: none
  }
.products .product-grid {
  justify-content: center;
  justify-items: stretch
  }
.pd-buy {
  display: block;
  margin-bottom: 16px;
  text-align: left
  }
.pd-buy .btn {
  width: 100%;
  max-width: 280px
  }
.products .product-card .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: #1d4ed8;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(29, 78, 216, 0.25);
  transition: transform 0.06s ease, filter 0.12s ease
  }
.products .product-card .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: #1d4ed8;
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 0.55rem 1.2rem;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.06s ease, box-shadow 0.12s ease, filter 0.12s ease;
  box-shadow: 0 6px 16px rgba(29, 78, 216, 0.25);
  width: auto;
  min-width: 140px
  }
.products .product-card .btn:hover {
  filter: brightness(1.05)
  }
.products .product-card .btn:active {
  transform: translatey(1px)
  }
.products .product-card .btn i {
  font-size: 0.9rem
  }
.products {
  --tws-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif
  }
.products .product-card {
  font-family: var(--tws-font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility
  }
.products .product-category h2 {
  font-weight: 800;
  font-size: 1.6rem;
  line-height: 1.2;
  letter-spacing: 0.2px;
  margin: 2.2rem 0 1.25rem
  }
.products .product-card h3 {
  margin: 12px 0 6px;
  font-weight: 700;
  font-size: 1.06rem;
  line-height: 1.25;
  letter-spacing: 0.1px;
  color: #111827
  }
.products .product-card h3 a {
  color: inherit;
  text-decoration: none
  }
.products .product-card h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 2px
  }
.products .product-card p {
  margin: 0 0 10px;
  font-size: 0.925rem;
  line-height: 1.55;
  color: #4b5563
  }
.products .product-card .price {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.15px;
  color: #2563eb;
  margin: 8px 0 10px
  }
.products .product-card .disclaimer {
  font-size: 0.78rem;
  line-height: 1.45;
  color: #6b7280
  }
.page-title {
  margin-top: 20px
  }
.blog-grid-min {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px
  }
.blog-card-min {
  display: block;
  background: #fff;
  border: 1px solid #e9edf2;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.08s ease, box-shadow 0.12s ease, border-color 0.12s ease
  }
.blog-card-min:hover {
  transform: translatey(-2px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.1);
  border-color: #d9e3f0
  }
.blog-card-min img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block
  }
.blog-card-min-title {
  padding: 14px 16px;
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.35;
  color: #0f172a
  }
.pagination {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center
  }
.blog-list-page .blog-list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(320px, 540px));
  gap: 32px;
  justify-content: center;
  align-content: start;
  flex-wrap: unset !important
  }
.blog-list-page .blog-card {
  width: auto !important;
  max-width: 540px;
  margin: 0;
  flex: unset !important
  }
@media (max-width: 900px) {
  .blog-list-page .blog-list {
    grid-template-columns: 1fr
    }
  }
.blog-list-page .container {
  max-width: 1180px
  }
.blog-list-page .blog-list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(320px, 560px));
  gap: 28px;
  justify-content: center;
  align-content: start
  }
.blog-list-page .blog-card {
  width: auto !important;
  margin: 0;
  flex: unset !important
  }
.blog-list-page .blog-card figure {
  margin: 0
  }
.blog-list-page .blog-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block
  }
.blog-list-page .blog-card h2 {
  font-size: 1.05rem;
  margin: 0.65rem 0.75rem 1rem;
  line-height: 1.35
  }
@media (max-width: 900px) {
  .blog-list-page .blog-list {
    grid-template-columns: 1fr
    }
  }
.blog-card-min img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
  }





  .youtube-live .yt-live-slot { min-height: 280px; }
.youtube-live .yt-frame {
  position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;
  border-radius: 16px; box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.youtube-live .yt-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.youtube-live .yt-fallback.card { padding: 24px; border-radius: 16px; border: 1px solid #e5e7eb; background: #fff; }
.youtube-live .actions { display: flex; gap: 12px; margin-top: 12px; }
.btn { display: inline-block; padding: 10px 16px; border-radius: 10px; text-decoration: none; border: 1px solid #111; }
.btn-ghost { border-color: #c7c7c7; }






/* -------- YouTube Live section -------- */
.youtube-live { margin-top: 12px; }
.youtube-live .yt-live-slot { min-height: 260px; }

/* limit width so the video isn't huge on desktop */
.youtube-live.compact .yt-frame,
.youtube-live.compact .offline-hero {
  max-width: 900px;           /* adjust (e.g., 820px, 720px) */
  margin: 0 auto;
}

/* OFFLINE hero: background image with overlay + content */
.offline-hero {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  /* 16:9 block */
  /* aspect-ratio: 16 / 9; */
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  background: #0f172a url("/static/images/live-offline-tws.af3d53a79f91.webp") center/cover no-repeat;
}

.offline-hero::before {
  /* soft gradient tint for legibility */
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(90% 80% at 20% 30%, rgba(255,255,255,.28), rgba(255,255,255,.08) 60%, rgba(255,255,255,0) 100%),
              linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.35));
}

.offline-overlay {
  position: absolute; inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 22px;
  color: #111827;
}

.offline-title {
  font-size: clamp(22px, 2.3vw, 28px);
  line-height: 1.2;
  margin: 10px 0 6px;
  color: #111827;
  text-shadow: 0 1px 0 rgba(255,255,255,.7);
}
.offline-sub { color: #1f2937; margin: 0 0 14px; text-shadow: 0 1px 0 rgba(255,255,255,.6); }

.pill {
  display:inline-flex; align-items:center; gap:6px;
  padding:4px 10px; font-weight:600; font-size:12px; border-radius:999px;
  background:#fff; border:1px solid #fde68a; color:#7c2d12;
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
}
.pill-offline { background:#fff7ed; border-color:#fed7aa; }

.offline-points {
  list-style:none; padding:0; margin:12px 0 18px;
  display:grid; gap:8px; width:min(640px, 90%);
}
.offline-points li {
  position:relative; padding-left:22px; color:#1f2937; text-align:left;
  text-shadow: 0 1px 0 rgba(255,255,255,.6);
}
.offline-points li::before {
  content:"✓"; position:absolute; left:0; top:0; color:#4f46e5; font-weight:700;
}

.actions { display:flex; gap:12px; flex-wrap:wrap; justify-content:center; }
.btn { display:inline-block; padding:10px 16px; border-radius:10px; text-decoration:none; border:1px solid #111; }
.btn:hover { transform: translateY(-1px); transition: transform .15s ease; }
.btn-primary { background:#111; color:#fff; border-color:#111; }
.btn-primary:hover { background:#000; }
.btn-ghost { border-color:#c7c7c7; color:#4c1d95; background:#fff; }

/* LIVE iframe styling */
.youtube-live .yt-frame {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.youtube-live .yt-frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%; border: 0;
}



/* Live section sizing knobs */
.youtube-live {
  /* tweak these two to taste */
  --live-max-width: 860px;          /* was 900px */
  --yt-aspect: 34%;              /* default 16:9 = 56.25% */
}

/* slim variants: shorter heights (pick one or keep both for experimentation) */
.youtube-live.slim      { --yt-aspect: 34%; }   /* ≈ 21:9  (shorter) */
.youtube-live.xslim     { --yt-aspect: 36%; }   /* ≈ 24:9  (even shorter) }

/* Apply max-width to both live iframe and offline hero */
.youtube-live .yt-frame,
.youtube-live .offline-hero {
  max-width: var(--live-max-width);
  margin: 0 auto;
}

/* Aspect-ratio via padding hack, height driven by --yt-aspect */
.youtube-live .yt-frame {
  position: relative;
  width: 100%;
  padding-bottom: var(--yt-aspect);   /* controls height */
  height: 0;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

.youtube-live .yt-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}







/* === Offline card readability patch (non-invasive) === */
#yt-live-slot .offline-hero {
  position: relative;
  color: #f7fafc;                 /* light default text */
}

/* A subtle dark overlay on top of the image for contrast */
#yt-live-slot .offline-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,.48), rgba(0,0,0,.58)),
    radial-gradient(120% 100% at 25% 20%, rgba(0,0,0,.35), rgba(0,0,0,0) 70%);
  /* keeps your background visible but darkens it a bit */
}

/* Ensure the text sits above the overlay and is readable */
#yt-live-slot .offline-hero .offline-overlay,
#yt-live-slot .offline-hero .offline-title,
#yt-live-slot .offline-hero .offline-sub,
#yt-live-slot .offline-hero .offline-points,
#yt-live-slot .offline-hero .offline-points li {
  position: relative;
  z-index: 1;
  color: #eef2f7;
  text-shadow: 0 2px 10px rgba(0,0,0,.55), 0 1px 0 rgba(0,0,0,.7);
}

/* Title even brighter */
#yt-live-slot .offline-hero .offline-title {
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0,0,0,.6), 0 1px 0 rgba(0,0,0,.85);
}

/* Secondary copy slightly dimmer than the title */
#yt-live-slot .offline-hero .offline-sub { color: #e6e9ef; }

/* Nice accent for the ticks if you use them */
#yt-live-slot .offline-hero .offline-points li::before { color: #a78bfa; }

/* Fallback: in case your markup uses plain elements inside .offline-hero */
#yt-live-slot .offline-hero h1,
#yt-live-slot .offline-hero h2,
#yt-live-slot .offline-hero h3,
#yt-live-slot .offline-hero p,
#yt-live-slot .offline-hero li {
  position: relative;
  z-index: 1;
  color: #f1f5f9;
  text-shadow: 0 2px 10px rgba(0,0,0,.55);
}


/* ---- Offline card: spacing tune (no layout or size changes) ---- */
#yt-live-slot .offline-hero { padding-top: 24px; padding-bottom: 28px; }

#yt-live-slot .offline-overlay {
  padding: 40px 44px 32px;          /* more air around all content */
}

#yt-live-slot .offline-title {
  line-height: 1.2;
  margin: 0 0 12px;                 /* space below the title */
}

#yt-live-slot .offline-sub {
  line-height: 1.55;
  margin: 4px 0 20px;               /* space below the subheading */
}

#yt-live-slot .offline-points {
  margin: 8px 0 22px;               /* space above & below the list */
}
#yt-live-slot .offline-points li + li { margin-top: 10px; }  /* gap between bullets */

#yt-live-slot .actions {
  margin-top: 24px;                 /* push buttons down from bullets */
  gap: 14px;                        /* a little more space between buttons */
}
#yt-live-slot .actions a,
#yt-live-slot .actions button,
#yt-live-slot .actions .btn {
  padding: 12px 20px;               /* comfy tap targets */
}

/* Slightly tighter on smaller screens so it doesn't feel too tall */
@media (max-width: 768px) {
    .youtube-live.slim
  {
    --yt-aspect: 64%;
  }
  #yt-live-slot .offline-hero { padding-top: 18px; padding-bottom: 22px; }
  #yt-live-slot .offline-overlay { padding: 22px 18px 20px; }
  #yt-live-slot .offline-title { margin-bottom: 10px; }
  #yt-live-slot .offline-sub { margin-bottom: 16px; }
  #yt-live-slot .offline-points { margin-bottom: 18px; }
  #yt-live-slot .actions { margin-top: 20px; gap: 12px; }
}




/* === Offline card spacing: match “Screenshot 1” on desktop === */
@media (min-width: 992px) {
  #yt-live-slot .offline-hero {
    padding-top: 26px !important;
    padding-bottom: 34px !important;
  }

  /* More air around the whole content group */
  #yt-live-slot .offline-overlay {
    padding: 40px 44px 36px !important;
  }

  /* Title → Sub */
  #yt-live-slot .offline-title {
    margin: 0 0 14px !important;
    line-height: 1.2 !important;
  }

  /* Sub → Bullets */
  #yt-live-slot .offline-sub {
    margin: 6px 0 28px !important;
    line-height: 1.55 !important;
  }

  /* Bullet list vertical rhythm */
  #yt-live-slot .offline-points {
    margin: 10px 0 28px !important;  /* space above and below the list */
  }
  #yt-live-slot .offline-points li + li {
    margin-top: 12px !important;      /* space between bullets */
  }

  /* Push CTAs down and separate buttons a bit more */
  #yt-live-slot .actions {
    margin-top: 28px !important;      /* distance from bullets → buttons */
    gap: 16px !important;             /* space between the two buttons */
  }
  #yt-live-slot .actions a,
  #yt-live-slot .actions button,
  #yt-live-slot .actions .btn {
    padding: 12px 20px !important;    /* keep the pill size comfortable */
  }
}







/* === Offline card: add more vertical spacing (desktop) === */
@media (min-width: 992px) {
  /* more breathing room inside the card */
  #yt-live-slot .offline-hero {
    padding-top: 36px !important;
    padding-bottom: 46px !important;
  }
  #yt-live-slot .offline-overlay {
    padding: 48px 52px 44px !important;
  }

  /* Title → Sub */
  #yt-live-slot .offline-title {
    margin: 0 0 18px !important;
    line-height: 1.22 !important;
  }

  /* Sub → Bullets */
  #yt-live-slot .offline-sub {
    margin: 10px 0 34px !important;
    line-height: 1.58 !important;
  }

  /* Bullets block spacing */
  #yt-live-slot .offline-points {
    margin: 12px 0 36px !important;   /* space below list */
  }
  #yt-live-slot .offline-points li + li {
    margin-top: 14px !important;      /* space between bullets */
  }

  /* Push the CTAs lower and separate them more */
  #yt-live-slot .actions {
    margin-top: 34px !important;      /* distance from bullets → buttons */
    gap: 18px !important;
  }
  #yt-live-slot .actions a,
  #yt-live-slot .actions button,
  #yt-live-slot .actions .btn {
    padding: 13px 22px !important;    /* keep them comfy */
  }
}








/* Top row (links like Terms | Privacy | Refund | Contact) */
footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  justify-content: center;
  margin: 6px 0 12px;
  font-size: clamp(13px, 1.5vw, 14px);
}
footer .footer-links a {
  color: var(--footer-text);
  opacity: .9;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .15s ease, border-color .15s ease, opacity .15s ease;
}
footer .footer-links a:hover {
  color: var(--footer-accent);
  border-color: var(--footer-accent);
  opacity: 1;
}



footer {
  --footer-bg: #111315;
  --footer-border: #1e2329;
  --footer-text: #e5e7eb;
  --footer-muted: #a3a9b6;
  --footer-accent: #7aa2ff;

  background: var(--footer-bg);
  color: var(--footer-text);
  border-top: 1px solid var(--footer-border);
  padding: 32px 16px 40px;
}






/* ===== TWS Footer Refresh ===== */
footer.site-footer,
footer#site-footer,
footer {
  --footer-bg: #111315;
  --footer-border: #1e2329;
  --footer-text: #e5e7eb;
  --footer-muted: #a3a9b6;
  --footer-accent: #7aa2ff;

  background: var(--footer-bg);
  color: var(--footer-text);
  border-top: 1px solid var(--footer-border);
  padding: 32px 16px 40px;
}

footer .footer-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 8px;
}

/* Top row (links like Terms | Privacy | Refund | Contact) */
footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  justify-content: center;
  margin: 6px 0 12px;
  font-size: clamp(13px, 1.5vw, 14px);
}
footer .footer-links a {
  color: var(--footer-text);
  opacity: .9;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .15s ease, border-color .15s ease, opacity .15s ease;
}
footer .footer-links a:hover {
  color: var(--footer-accent);
  border-color: var(--footer-accent);
  opacity: 1;
}

/* Active visitors pill */
footer .visitors {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 4px auto 14px;
  padding: 6px 12px;
  border: 1px solid var(--footer-border);
  background: rgba(255,255,255,0.02);
  border-radius: 999px;
  font-size: 13px;
  color: var(--footer-muted);
}
footer .visitors .live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444; /* red */
  box-shadow: 0 0 0 0 rgba(239, 68, 68, .6);
  animation: tws-pulse 2s infinite;
}
@keyframes tws-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(239,68,68,.6); }
  70%  { box-shadow: 0 0 0 8px rgba(239,68,68,0); }
  100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); }
}

/* The legal disclaimer paragraph */
footer .legal-disclaimer,
footer p.text-xs.text-muted {
  max-width: 92ch;         /* tidy, readable line length */
  margin: 12px auto 0;
  font-size: clamp(12px, 1.35vw, 14px);
  line-height: 1.7;
  color: var(--footer-muted);
  text-align: center;
  text-wrap: balance;      /* nicer wrapping on modern browsers */
}
footer .legal-disclaimer strong,
footer p.text-xs.text-muted strong {
  color: var(--footer-text);
  font-weight: 700;
}

/* Social row (e.g., Twitter link) */
footer .footer-social {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 8px;
}
footer .footer-social a {
  color: var(--footer-accent);
  font-weight: 600;
  text-decoration: none;
}
footer .footer-social a:hover {
  opacity: .9;
}

/* Copyright line */
footer .copyright {
  text-align: center;
  font-size: 13px;
  color: var(--footer-muted);
  margin-bottom: 8px;
}

/* Spacing on very small screens */
@media (max-width: 480px) {
  footer { padding: 28px 12px 36px; }
  footer .footer-links { gap: 8px 12px; }
  footer .visitors { font-size: 12px; }
}




.g-btn { margin-top: 10px; display: inline-block; }
.auth-or { display:flex; align-items:center; gap:10px; margin:12px 0; opacity:.7; }
.auth-or::before, .auth-or::after { content:""; height:1px; background:#ddd; flex:1; }







/* ==== Drawer Cart (polished) ============================================== */
.cart-container {
  position: relative;
}

#cart-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

#cart-count { font-weight: 600; }

/* Drawer panel */
#cart-content {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 380px;
  max-width: min(92vw, 420px);
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0,0,0,.14);
  padding: 18px;
  z-index: 1000;

  /* Prevent the whole panel from scrolling; only the items list should */
  overflow: hidden;
}

/* Header + summary */
#cart-content > h3 {
  margin: 0 0 6px 0;
  font-size: 1.15rem;
  font-weight: 700;
}

#cart-summary {
  font-weight: 600;
  color: #111827;
  margin-bottom: 10px;
}

/* Items list: the only scroll area */
#cart-items {
  max-height: 300px;      /* adjust if you want a taller list */
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 4px;     /* space so vertical scrollbar doesn’t cover content */
  display: grid;
  gap: 12px;
  margin: 8px 0 14px 0;
}

/* Individual item card */
.cart-card {
  display: grid;
  grid-template-columns: 96px 1fr auto;  /* thumb | body | remove */
  gap: 12px;
  align-items: start;
  padding: 10px;
  border: 1px solid #eef0f3;
  border-radius: 14px;
  background: #fff;
}

.cart-card + .cart-card { margin-top: 0; } /* gap handles spacing */

/* Thumbnail */
.cc-thumb {
  width: 96px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
  flex: 0 0 96px;
  background: #f3f4f6;
}

/* Body */
.cc-body { min-width: 0; }  /* allows text truncation */
.cc-title {
  font-weight: 600;
  font-size: .98rem;
  line-height: 1.25;
  margin: 2px 0 6px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cc-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  color: #4b5563;
  font-size: .92rem;
}
.cc-qty { white-space: nowrap; }
.cc-price { font-weight: 600; color: #111827; }

/* Remove button */
.cc-remove {
  align-self: start;
  border: none;
  background: #f3f4f6;
  color: #374151;
  width: 28px; height: 28px;
  line-height: 28px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
}
.cc-remove:hover { background: #e5e7eb; }

/* Footer buttons */
#cart-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

#view-cart-btn, #checkout-btn {
  appearance: none;
  border: 0;
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 600;
  cursor: pointer;
}

#view-cart-btn {
  background: #2563eb;
  color: #fff;
}
#view-cart-btn[aria-expanded="true"] { background: #1d4ed8; }

#checkout-btn {
  background: #22c55e;
  color: #053b13;
}

/* Mobile tweaks */
@media (max-width: 480px) {
  #cart-content { right: -6px; border-radius: 14px; }
  #cart-items { max-height: 52vh; }
  .cart-card { grid-template-columns: 84px 1fr auto; }
  .cc-thumb { width: 84px; height: 58px; }
}






/* Collapse behavior for the cart list */
#cart-items { display: none; }      /* hidden by default */
#cart-items.show { display: block; } /* shown when .show is present */








