@import "tailwindcss";
@import "tw-animate-css";
@import "shadcn/tailwind.css";

:root {
  --yapaylisans-blue: #2483be;
  --yapaylisans-light-blue: #3fa2df;
  --yapaylisans-text: #484848;
  --yapaylisans-muted: #727576;
  --yapaylisans-border: #d6d6d6;
  --yapaylisans-gradient: linear-gradient(90deg, #2483be 0%, #3fa2df 100%);
  --yapaylisans-footer-gradient: linear-gradient(145deg, #87d1ff 0%, #2483be 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--yapaylisans-text); font-family: Arial, Helvetica, sans-serif; font-size: 15px; line-height: 1.4286; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
.yapaylisans-container { width: min(1170px, 100%); margin-inline: auto; padding-inline: 15px; }

.header-quick, .header-nav { background: var(--yapaylisans-gradient); color: #fff; }
.header-quick { height: 52px; padding: 7px 0; position: relative; }
.quick-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 700; }
.dealer-button { background: #ff543d; padding: 9px 12px; border-radius: 2px; }
.quick-tagline { position: absolute; left: 50%; transform: translateX(-50%); }
.quick-actions { display: flex; align-items: center; gap: 18px; }
.balance-button { display: inline-flex; align-items: center; gap: 4px; background: #ffb34b; padding: 4px 10px; border-radius: 4px; }

.header-center { height: 110px; padding-bottom: 4px; background: linear-gradient(130deg, #fff 0%, #e3e3e3 100%); }
.center-inner { height: 100%; display: flex; align-items: center; gap: 38px; }
.company-logo { width: 140px; display: flex; align-items: center; justify-content: center; }
.company-logo img { width: 140px; height: auto; }
.site-search { width: 607px; height: 40px; position: relative; z-index: 35; }
.site-search input { width: 100%; height: 40px; border: 1px solid #262626; border-radius: 4px; padding: 8px 50px 8px 15px; color: #505050; font-size: 15px; font-weight: 300; }
.site-search button { position: absolute; inset: 0 0 0 auto; width: 48px; border: 0; background: transparent; color: #333; display: grid; place-items: center; }
.search-results { position: absolute; top: 42px; left: 0; right: 0; z-index: 40; border: 1px solid #c8c8c8; border-radius: 4px; background: #fff; box-shadow: 0 8px 20px rgb(0 0 0 / 16%); overflow: hidden; }
.search-results a, .search-results span { display: block; padding: 9px 13px; border-bottom: 1px solid #eee; color: #484848; font-size: 12px; }
.search-results a:hover { background: #f0f8fd; color: var(--yapaylisans-blue); }
.search-results > :last-child { border-bottom: 0; }
.account-actions { display: flex; gap: 8px; }
.account-actions a { display: inline-flex; align-items: center; gap: 10px; background: #fff; border-radius: 4px; border: 1px solid #d3d3d3; color: #333; padding: 6px 11px; font-size: 12px; font-weight: 700; white-space: nowrap; }

.header-nav { height: 50px; position: relative; }
.nav-inner { display: grid; grid-template-columns: 353px 403px 1fr; height: 100%; position: relative; }
.nav-item { height: 50px; }
.nav-item > a { height: 50px; display: flex; align-items: center; justify-content: center; gap: 5px; font-size: 12px; border-right: 1px solid rgb(255 255 255 / 18%); }
.nav-item:last-child > a { border-right: 0; }
.mega-menu { position: absolute; top: 50px; left: 15px; right: 15px; z-index: 38; min-height: 310px; display: none; grid-template-columns: 2fr 1fr; padding: 20px; background: #fff; color: #484848; border: 1px solid #ddd; box-shadow: 0 7px 15px rgb(0 0 0 / 18%); }
.mega-menu.open { display: grid; }
.mega-copy { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; padding-right: 20px; }
.mega-column > p { margin: 0 0 10px; padding-bottom: 8px; border-bottom: 1px solid #ddd; color: var(--yapaylisans-blue); font-size: 16px; font-weight: 600; }
.mega-column ul { margin: 0; padding: 0; list-style: none; }
.mega-column.wide ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 22px; }
.mega-column li { min-height: 29px; display: flex; align-items: center; justify-content: space-between; gap: 8px; border-bottom: 1px solid #f0f0f0; }
.mega-column li a { flex: 1; color: #595959; font-size: 12px; }
.mega-column li a:hover { color: var(--yapaylisans-blue); }
.mega-column li span { padding: 2px 5px; border-radius: 3px; background: #ff543d; color: #fff; font-size: 9px; font-weight: 700; }
.mega-art { display: grid; place-items: center; overflow: hidden; }
.mega-art img { width: 100%; height: 270px; object-fit: cover; }
.site-header.is-scrolled .header-quick, .site-header.is-scrolled .header-center { display: none; }
.site-header.is-scrolled .header-nav { position: fixed; z-index: 30; inset: 0 0 auto; box-shadow: 0 2px 8px rgb(0 0 0 / 18%); }
.mobile-menu-button, .mobile-drawer, .drawer-backdrop { display: none; }

.hero-container { padding-top: 17px; }
.hero-shell { height: 360px; position: relative; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .65s ease; pointer-events: none; }
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-slide img { object-fit: cover; }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 70px; border: 0; color: #fff; background: rgb(0 0 0 / 15%); opacity: 0; transition: opacity .2s; display: grid; place-items: center; }
.hero-shell:hover .hero-arrow { opacity: 1; }
.hero-arrow.left { left: 0; } .hero-arrow.right { right: 0; }
.hero-dots { position: absolute; left: 50%; bottom: 11px; transform: translateX(-50%); display: flex; gap: 6px; }
.hero-dots button { width: 26px; height: 4px; border: 0; background: rgb(255 255 255 / 50%); padding: 0; }
.hero-dots button.active { background: #fff; }

.category-strip { display: grid; grid-template-columns: repeat(8, 1fr); border: 1px solid #ddd; margin-top: 6px; overflow: hidden; }
.category-card { min-width: 0; height: 65px; display: flex; align-items: center; justify-content: center; gap: 5px; padding: 3px 6px; border-right: 1px solid #ddd; background: #fff; }
.category-card:last-child { border-right: 0; }
.category-card:hover { background: #f4faff; }
.category-card img { width: 40px; height: 40px; object-fit: contain; flex: none; }
.category-card span { white-space: pre-line; font-size: 11px; line-height: 1.15; text-align: left; }

.content-section { width: min(1170px, 100%); margin: 22px auto 35px; padding: 0 15px; }
.popular-section { margin-top: 22px; }
.yapaylisans-section { margin-top: 16px; }
.gift-section { margin-top: 30px; }
.section-heading { margin-bottom: 7px; }
.heading-line { display: flex; align-items: center; gap: 9px; }
.heading-line h2 { margin: 0; font-size: 19px; line-height: 17px; font-weight: 600; white-space: nowrap; }
.heading-line span { height: 1px; flex: 1; background: #b8b8b8; }
.section-heading p { margin: 4px 0 0; color: var(--yapaylisans-muted); font-size: 12px; line-height: 16px; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.product-card { overflow: hidden; border-radius: 10px; display: block; transition: transform .2s ease, filter .2s ease; }
.product-card:hover { transform: translateY(-2px); filter: brightness(1.06); }
.product-card img { width: 100%; height: auto; aspect-ratio: 374 / 250; display: block; object-fit: cover; }
.gift-section .product-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.gift-section .product-card { border-radius: 7px; }
.gift-section .product-card img { aspect-ratio: 145 / 80; }

.announcement-section { margin-top: 0; margin-bottom: 35px; }
.announcement-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.announcement-card { min-height: 398px; padding: 25px; border: 1px solid var(--yapaylisans-blue); border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; text-align: center; }
.announcement-icon { width: 68px; height: 68px; margin-top: 0; display: grid; place-items: center; border-radius: 10px; color: #fff; background: var(--yapaylisans-blue); box-shadow: 0 0 15px rgb(36 131 190 / 75%); }
.announcement-card h3 { margin: 0 0 10px; max-width: 190px; font-size: 14px; line-height: 18px; font-weight: 400; }
.announcement-card a { width: 100%; border: 1px solid var(--yapaylisans-blue); border-radius: 7px; color: var(--yapaylisans-blue); padding: 7px 10px; font-size: 12px; }
.announcement-card a:hover { background: var(--yapaylisans-blue); color: #fff; }

.partner-strip { height: 92px; display: grid; grid-template-columns: repeat(8, 1fr); border: 1px solid #f4f4f4; opacity: .32; overflow: hidden; }
.partner-strip span { display: grid; place-items: center; border-right: 1px solid #f4f4f4; }
.partner-strip img { max-width: 90px; max-height: 52px; object-fit: contain; }
.security-strip { padding: 15px 0; background: linear-gradient(130deg, #fff 0%, #e3e3e3 100%); border-top: 5px solid #54b8eb; }
.security-inner { display: grid; grid-template-columns: repeat(6, 1fr); }
.security-item { display: flex; flex-direction: column; align-items: center; gap: 4px; color: #727576; font-size: 11px; font-weight: 500; text-transform: uppercase; }
.security-item img { width: 67px; height: 67px; object-fit: contain; }
.page-footer { padding-top: 40px; color: #fff; background: var(--yapaylisans-footer-gradient); }
.footer-main { display: grid; grid-template-columns: 2fr 3fr 130px; gap: 30px; min-height: 285px; }
.footer-logo { width: 180px; height: 68px; margin-bottom: 12px; background: #fff; display: grid; place-items: center; }
.footer-logo img { width: 180px; height: auto; }
.footer-brand p { max-width: 285px; margin: 0; font-size: 12px; line-height: 20px; }
.social-links { display: flex; gap: 14px; margin-top: 20px; }
.social-links a { opacity: .9; } .social-links svg { width: 16px; height: 16px; fill: currentColor; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.footer-links h3 { margin: 0 0 15px; font-size: 20px; line-height: 28px; }
.footer-links a { display: block; margin-bottom: 4px; font-size: 12px; line-height: 18px; }
.footer-links a:hover, .social-links a:hover { opacity: .65; }
.etbis { display: flex; justify-content: center; align-items: flex-start; }
.etbis img { width: 130px; height: 150px; object-fit: contain; }
.footer-bottom { border-top: 1px solid rgb(255 255 255 / 35%); background: rgb(255 255 255 / 80%); color: #727576; }
.bottom-inner { min-height: 77px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.bottom-inner p { margin: 0; font-size: 11px; }
.payment-logos { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; max-width: 520px; }
.payment-logos span { width: 42px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #fff; overflow: hidden; }
.payment-logos img { width: 40px; height: 26px; object-fit: contain; }

.cookie-banner { position: fixed; left: 14px; bottom: 17px; z-index: 50; width: 350px; padding: 10px; border-radius: 10px; background: var(--yapaylisans-blue); box-shadow: 0 0 11px rgb(0 0 0 / 75%); color: #fff; }
.cookie-banner p { margin: 0 0 10px; padding: 0 4px; font-size: 12px; line-height: 17px; font-weight: 500; }
.cookie-banner p a { text-decoration: underline; }
.cookie-banner button { width: 100%; border: 0; border-radius: 4px; padding: 7px; background: #fff; color: var(--yapaylisans-blue); font-size: 12px; }
.chat-pill { position: fixed; right: 0; bottom: 20%; z-index: 45; border: 0; border-radius: 5px 0 0 5px; padding: 6px 17px; background: var(--yapaylisans-blue); color: #fff; box-shadow: 0 2px 6px rgb(0 0 0 / 20%); font-size: 12px; }
.chat-panel { position: fixed; right: 12px; bottom: calc(20% + 38px); z-index: 46; width: 290px; padding: 12px; border-radius: 8px; background: #fff; box-shadow: 0 6px 25px rgb(0 0 0 / 28%); color: #484848; }
.chat-panel > div { display: flex; align-items: center; justify-content: space-between; color: var(--yapaylisans-blue); }
.chat-panel > div button { border: 0; background: transparent; color: #777; }
.chat-panel > div svg { width: 18px; height: 18px; }
.chat-panel p { margin: 10px 0; font-size: 12px; }
.chat-panel form { display: flex; border: 1px solid #ccc; border-radius: 5px; overflow: hidden; }
.chat-panel input { min-width: 0; flex: 1; border: 0; padding: 8px; outline: none; font-size: 12px; }
.chat-panel form button { width: 38px; border: 0; background: var(--yapaylisans-blue); color: #fff; display: grid; place-items: center; }
.chat-panel form svg { width: 17px; height: 17px; }

@media (max-width: 767px) {
  .yapaylisans-container { padding-inline: 8px; }
  .header-quick { height: 31px; padding: 3px 6px; }
  .quick-inner { padding: 0; font-size: 9px; }
  .dealer-button { padding: 6px 8px; }
  .quick-tagline, .quick-actions a:first-child { display: none; }
  .quick-actions { margin-left: auto; gap: 5px; }
  .balance-button { padding: 5px 8px; font-size: 9px; }
  .header-center { height: 101px; padding: 0; }
  .center-inner { display: block; padding: 0 8px; }
  .company-logo { width: 100%; height: 48px; }
  .company-logo img { width: 118px; }
  .site-search { width: 100%; height: 33px; }
  .site-search input { height: 33px; font-size: 10px; padding: 7px 38px 7px 8px; }
  .site-search button { width: 36px; } .site-search button svg { width: 19px; }
  .account-actions, .header-nav { display: none; }
  .mobile-menu-button { display: grid; place-items: center; position: absolute; top: 0; right: 0; z-index: 34; width: 37px; height: 31px; border: 0; background: #222; color: #fff; }
  .mobile-drawer { display: block; position: fixed; top: 0; right: 0; bottom: 0; z-index: 60; width: min(320px, calc(100vw - 70px)); padding: 10px 15px 30px; overflow-y: auto; background: #fff; box-shadow: -5px 0 15px rgb(0 0 0 / 22%); transform: translateX(105%); transition: transform .25s ease; }
  .mobile-drawer.open { transform: translateX(0); }
  .drawer-close { display: grid; place-items: center; margin: 0 0 10px auto; border: 0; background: transparent; color: #777; }
  .drawer-account { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
  .drawer-account a { min-width: 0; display: flex; align-items: center; justify-content: center; gap: 5px; padding: 9px 5px; border-radius: 4px; background: var(--yapaylisans-blue); color: #fff; font-size: 10px; font-weight: 600; }
  .drawer-section { border-bottom: 1px solid #e5e5e5; }
  .drawer-section > div:first-child { display: flex; align-items: stretch; }
  .drawer-section > div:first-child > a, .drawer-publisher { min-height: 44px; flex: 1; display: flex; align-items: center; gap: 8px; color: #484848; font-size: 12px; }
  .drawer-section > div:first-child > button { width: 40px; border: 0; background: transparent; color: #777; display: grid; place-items: center; }
  .drawer-section > div:first-child > button svg { width: 17px; }
  .drawer-submenu { max-height: 330px; overflow-y: auto; padding: 3px 0 8px 14px; background: #f7f7f7; }
  .drawer-submenu a { min-height: 29px; display: flex; align-items: center; justify-content: space-between; padding: 5px 9px; border-bottom: 1px solid #e9e9e9; color: #555; font-size: 10px; }
  .drawer-submenu a span { padding: 1px 4px; border-radius: 2px; background: #ff543d; color: #fff; font-size: 8px; }
  .drawer-publisher { border-bottom: 1px solid #e5e5e5; }
  .language-form { margin-top: 16px; }
  .language-current { display: flex; align-items: center; justify-content: center; gap: 5px; padding: 8px; border-radius: 4px; background: #333; color: #fff; font-size: 11px; }
  .language-form h3 { margin: 13px 0; color: #4c565e; text-align: center; font-size: 12px; font-weight: 500; }
  .language-form select { width: 100%; height: 35px; margin-bottom: 9px; border: 1px solid #d4d4d4; border-radius: 4px; padding: 0 8px; background: #fff; color: #666; font-size: 11px; }
  .language-form > button { display: block; width: 165px; margin: 12px auto 0; border: 0; border-radius: 4px; padding: 10px; background: #35a9c8; color: #fff; font-size: 11px; font-weight: 600; }
  .drawer-backdrop { display: block; position: fixed; inset: 0; z-index: 55; border: 0; background: rgb(0 0 0 / 30%); }
  .hero-container { padding: 5px 0 0; }
  .hero-shell { height: 123px; }
  .hero-arrow { display: none; }
  .hero-dots { display: none; }
  .category-strip { grid-template-columns: repeat(8, minmax(122px, 1fr)); margin-top: 7px; overflow-x: auto; scrollbar-width: none; }
  .category-strip::-webkit-scrollbar { display: none; }
  .category-card { height: 37px; gap: 3px; padding: 2px 5px; }
  .category-card img { width: 26px; height: 26px; }
  .category-card span { font-size: 8px; }
  .content-section { padding: 0 8px; margin-bottom: 29px; }
  .popular-section { margin-top: 12px; }
  .yapaylisans-section { margin-top: 5px; }
  .gift-section { margin-top: 28px; }
  .heading-line h2 { font-size: 13px; line-height: 15px; }
  .section-heading p { max-width: 100%; margin-top: 3px; font-size: 9px; line-height: 12px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
  .product-card { border-radius: 6px; }
  .gift-section .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
  .announcement-section { margin-top: 0; margin-bottom: 23px; }
  .announcement-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .announcement-card { min-height: 151px; padding: 10px; border-radius: 6px; }
  .announcement-icon { width: 38px; height: 38px; border-radius: 6px; }
  .announcement-icon svg { width: 22px; height: 22px; }
  .announcement-card h3 { max-width: 110px; margin-bottom: 3px; font-size: 8px; line-height: 10px; }
  .announcement-card a { padding: 4px 4px; border-radius: 5px; font-size: 8px; }
  .partner-strip { height: 75px; padding: 0; grid-template-columns: repeat(8, minmax(100px, 1fr)); overflow-x: auto; }
  .security-strip { padding: 15px 0; border-top-width: 4px; }
  .security-inner { grid-template-columns: repeat(3, 1fr); row-gap: 14px; padding: 0 8px; }
  .security-item { font-size: 8px; }
  .security-item img { width: 45px; height: 45px; }
  .page-footer { padding-top: 25px; }
  .footer-main { display: flex; flex-direction: column; gap: 18px; min-height: 0; padding-inline: 52px; }
  .footer-brand { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .footer-logo { width: 92px; height: 61px; margin-bottom: 12px; }
  .footer-logo img { width: 92px; }
  .footer-brand p { font-size: 8px; line-height: 13px; }
  .social-links { margin-top: 13px; gap: 11px; }
  .social-links svg { width: 12px; height: 12px; }
  .footer-links { width: 100%; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; }
  .footer-links h3 { margin-bottom: 5px; font-size: 13px; line-height: 16px; }
  .footer-links a { margin-bottom: 2px; font-size: 8px; line-height: 11px; }
  .etbis { justify-content: center; }
  .etbis img { width: 85px; height: 98px; }
  .bottom-inner { min-height: 70px; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 7px 8px; text-align: center; }
  .bottom-inner p { font-size: 7px; }
  .payment-logos { justify-content: center; max-width: 280px; gap: 5px; }
  .payment-logos span { width: 26px; height: 22px; }
  .payment-logos img { width: 25px; height: 20px; }
  .cookie-banner { left: 8px; right: 8px; bottom: 12px; width: auto; padding: 7px; }
  .cookie-banner p { margin-bottom: 5px; font-size: 8px; line-height: 11px; }
  .cookie-banner button { padding: 4px; font-size: 9px; }
  .chat-pill { right: 5px; bottom: 26%; padding: 4px 10px; font-size: 9px; }
  .chat-panel { right: 8px; bottom: calc(26% + 30px); width: calc(100vw - 16px); }
}
