/**
 * Layout V2
 */

/* ========== Reset ========== */
body { font-family: 'Lato', sans-serif; color: #0F172A; background: #F8FAFC; }
h1,h2,h3,h4,h5,h6 { font-family: 'EB Garamond', Georgia, serif; }

/* ========== Header ========== */
.site-header-v2 {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 1px 0 rgba(15,23,42,0.08);
}
.site-header-v2 .header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 24px;
  gap: 24px;
}
.site-header-v2 .logo-wrap { flex-shrink: 0; }
.site-header-v2 .logo-wrap img { height: 36px; width: auto; }
.site-header-v2 .header-search {
  flex: 1;
  max-width: 480px;
  position: relative;
}
.site-header-v2 .header-search input {
  width: 100%;
  padding: 10px 44px 10px 16px;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  font-size: 15px;
  transition: border-color 0.2s;
}
.site-header-v2 .header-search input:focus {
  outline: none;
  border-color: #0369A1;
  box-shadow: 0 0 0 3px rgba(3,105,161,0.15);
}
.site-header-v2 .header-search button {
  position: absolute;
  right: 8px; top: 50%;
  transform: translateY(-50%);
  background: #0369A1;
  border: none;
  color: #fff;
  width: 32px; height: 32px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.site-header-v2 .header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.site-header-v2 .nav-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: #334155;
  transition: all 0.2s;
  cursor: pointer;
}
.site-header-v2 .nav-pill:hover { background: #F1F5F9; color: #0369A1; }
.site-header-v2 .nav-pill.primary { background: #0369A1; color: #fff; }
.site-header-v2 .nav-pill.primary:hover { background: #0284C7; }
.site-header-v2 .country-drop {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  color: #475569;
}
.site-header-v2 .country-drop:hover { background: #F1F5F9; }
.site-header-v2 .country-drop img { margin-right: 6px; }
.site-header-v2 .country-menu {
  position: absolute;
  top: 100%; right: 0;
  margin-top: 4px;
  min-width: 180px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  padding: 8px 0;
  display: none;
}
.site-header-v2 .country-drop:hover .country-menu,
.site-header-v2 .country-drop:focus-within .country-menu { display: block; }
.site-header-v2 .country-menu a {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  color: #334155;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.15s;
  cursor: pointer;
}
.site-header-v2 .country-menu a:hover { background: #F8FAFC; }
.site-header-v2 .country-menu a img { width: 20px; height: 14px; margin-right: 8px; object-fit: contain; }

/* Mobile header */
@media (max-width: 991px) {
  .site-header-v2 .header-top {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 12px;
    padding: 12px 16px;
    align-items: center;
  }
  .site-header-v2 .logo-wrap {
    grid-column: 1;
    grid-row: 1;
  }
  .site-header-v2 .logo-wrap img { height: 28px; }
  .site-header-v2 .header-actions {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    justify-content: flex-end;
    max-width: 100%;
  }
  .site-header-v2 .header-search {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: 100%;
    order: 0;
  }
  .site-header-v2 .nav-pill {
    padding: 6px 10px;
    font-size: 12px;
  }
  .site-header-v2 .nav-pill i { margin-right: 4px; }
  .site-header-v2 .nav-pill.primary { padding: 6px 10px; }
  .site-header-v2 .country-drop {
    padding: 4px 6px;
    font-size: 11px;
  }
  .site-header-v2 .country-drop span { display: flex; align-items: center; }
  .site-header-v2 .country-drop img { width: 16px; height: 12px; margin-right: 4px; }
  .site-header-v2 .country-drop .fa-chevron-down { font-size: 10px; margin-left: 2px; }
  .site-header-v2 .country-drop { min-height: 36px; min-width: 36px; }
  .site-header-v2 .country-menu { z-index: 1001; }
}

@media (max-width: 480px) {
  .site-header-v2 .header-top { padding: 10px 12px; gap: 8px; }
  .site-header-v2 .logo-wrap img { height: 24px; }
  .site-header-v2 .nav-pill {
    padding: 5px 8px;
    font-size: 11px;
  }
  .site-header-v2 .country-drop { font-size: 10px; }
}

/* ========== Main offset ========== */
body { padding-top: 64px !important; }
@media (max-width: 991px) {
  body { padding-top: 100px !important; }
}
@media (max-width: 480px) {
  body { padding-top: 95px !important; }
}

/* ========== Hero ========== */
.hero-v2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 24px 64px;
  min-height: 400px;
}
.hero-v2 .hero-text h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  color: #0F172A;
  margin-bottom: 16px;
}
.hero-v2 .hero-text .subtitle {
  font-size: 1.125rem;
  color: #475569;
  margin-bottom: 32px;
  line-height: 1.6;
}
.hero-v2 .hero-search-wrap {
  max-width: 420px;
  display: flex;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.hero-v2 .hero-search-wrap input {
  flex: 1;
  padding: 16px 20px;
  border: none;
  font-size: 16px;
}
.hero-v2 .hero-search-wrap input:focus { outline: none; }
.hero-v2 .hero-search-wrap button {
  padding: 16px 28px;
  background: #0369A1;
  border: none;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.hero-v2 .hero-search-wrap button:hover { background: #0284C7; }
.hero-v2 .hero-visual {
  background: linear-gradient(135deg, #0369A1 0%, #0F172A 100%);
  border-radius: 16px;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.hero-v2 .hero-visual .stats-row {
  display: flex;
  gap: 48px;
  text-align: center;
}
.hero-v2 .hero-visual .stat { font-family: 'EB Garamond', serif; }
.hero-v2 .hero-visual .stat-num { font-size: 2.5rem; font-weight: 700; }
.hero-v2 .hero-visual .stat-lab { font-size: 0.9rem; opacity: 0.9; }
@media (max-width: 768px) {
  .hero-v2 { grid-template-columns: 1fr; padding: 48px 20px; }
  .hero-v2 .hero-visual { min-height: 180px; }
}

/* ========== Trust bar ========== */
.trust-bar-v2 {
  display: flex;
  justify-content: center;
  gap: 64px;
  padding: 32px 24px;
  background: #fff;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
}
.trust-bar-v2 .trust-item {
  text-align: center;
}
.trust-bar-v2 .trust-num {
  font-family: 'EB Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #0369A1;
}
.trust-bar-v2 .trust-label { font-size: 13px; color: #64748B; margin-top: 4px; }
@media (max-width: 768px) { .trust-bar-v2 { flex-wrap: wrap; gap: 24px; } }

/* ========== Section ========== */
.section-v2 { padding: 64px 24px; max-width: 1280px; margin: 0 auto; }
.section-v2 .section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-v2 .section-header h2 {
  font-size: 2rem;
  color: #0F172A;
  margin-bottom: 12px;
}
.section-v2 .section-header p { color: #64748B; font-size: 1rem; }

/* ========== Categories grid ========== */
.categories-v2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.categories-v2 .cat-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px;
  border: 1px solid #E2E8F0;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
  cursor: pointer;
  display: block;
}
.categories-v2 .cat-card:hover {
  border-color: #0369A1;
  box-shadow: 0 8px 24px rgba(3,105,161,0.12);
  transform: translateY(-2px);
}
.categories-v2 .cat-icon {
  width: 48px; height: 48px;
  background: rgba(3,105,161,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0369A1;
  font-size: 1.25rem;
  margin-bottom: 16px;
}
.categories-v2 .cat-card h3 { font-size: 1.125rem; margin-bottom: 8px; }
.categories-v2 .cat-card p { font-size: 14px; color: #64748B; line-height: 1.5; }
@media (max-width: 1024px) { .categories-v2 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .categories-v2 { grid-template-columns: 1fr; } }

/* ========== Stores grid ========== */
.stores-v2 {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  border: 1px solid #E2E8F0;
}
.stores-v2 .store-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.stores-v2 .store-cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: #F8FAFC;
  border-radius: 12px;
  transition: all 0.2s;
  cursor: pointer;
}
.stores-v2 .store-cell a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.stores-v2 .store-cell img { max-width: 100%; max-height: 60px; object-fit: contain; }
.stores-v2 .store-cell:hover { background: #F1F5F9; transform: scale(1.02); }
.stores-v2 .view-all-wrap { text-align: center; margin-top: 32px; }
.stores-v2 .view-all-wrap .btn-v2 {
  display: inline-block;
  padding: 14px 32px;
  background: #0369A1;
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
}
.stores-v2 .view-all-wrap .btn-v2:hover { background: #0284C7; transform: translateY(-1px); }
@media (max-width: 900px) { .stores-v2 .store-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 500px) { .stores-v2 .store-grid { grid-template-columns: repeat(3, 1fr); } }

/* ========== Offer cards ========== */
.offers-v2 { display: flex; flex-direction: column; gap: 16px; }
.offers-v2 .offer-card {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 24px;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid #E2E8F0;
  transition: all 0.2s;
  cursor: pointer;
}
.offers-v2 .offer-card:hover {
  border-color: #0369A1;
  box-shadow: 0 4px 20px rgba(3,105,161,0.1);
}
.offers-v2 .offer-logo {
  width: 100px; height: 80px;
  background: #F8FAFC;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}
.offers-v2 .offer-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.offers-v2 .offer-badge {
  display: inline-block;
  padding: 4px 10px;
  background: #0369A1;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  border-radius: 4px;
  margin-bottom: 8px;
}
.offers-v2 .offer-info h4 { font-size: 1.1rem; margin-bottom: 4px; }
.offers-v2 .offer-info .count { font-size: 13px; color: #0369A1; }
.offers-v2 .offer-cta .btn-v2 {
  padding: 12px 24px;
  background: #0369A1;
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.offers-v2 .offer-cta .btn-v2:hover { background: #0284C7; }
@media (max-width: 768px) {
  .offers-v2 .offer-card { grid-template-columns: 80px 1fr; }
  .offers-v2 .offer-cta { grid-column: 2; }
}

/* ========== Insight ========== */
.insight-v2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.insight-v2 h2 { font-size: 1.5rem; margin-bottom: 20px; }
.insight-v2 ul { padding-left: 20px; color: #475569; line-height: 1.8; }
.insight-v2 .btn-v2 {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 24px;
  background: #0369A1;
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
}
.insight-v2 .btn-v2:hover { background: #0284C7; }
@media (max-width: 768px) { .insight-v2 { grid-template-columns: 1fr; } }

/* ========== Coupon page layout ========== */
.page-layout-v2 {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 24px;
}
.page-layout-v2 .sidebar-left {
  position: sticky;
  top: 88px;
  height: fit-content;
}
.page-layout-v2 .sidebar-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid #E2E8F0;
  margin-bottom: 24px;
}
.page-layout-v2 .main-content { min-width: 0; }
@media (max-width: 991px) {
  .page-layout-v2 { grid-template-columns: 1fr; }
  .page-layout-v2 .sidebar-left { position: static; order: 2; }
}

/* ========== Coupon cards ========== */
.coupon-list-v2 { display: flex; flex-direction: column; gap: 16px; }
.coupon-list-v2 .coupon-row {
  display: grid;
  grid-template-columns: 100px 1fr 160px;
  gap: 20px;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #E2E8F0;
  transition: all 0.2s;
  cursor: pointer;
}
.coupon-list-v2 .coupon-row:hover {
  border-color: #0369A1;
  box-shadow: 0 4px 16px rgba(3,105,161,0.08);
}
.coupon-list-v2 .discount-cell {
  text-align: center;
  padding: 12px;
  background: rgba(3,105,161,0.08);
  border-radius: 8px;
}
.coupon-list-v2 .discount-cell .discount-val { font-size: 1.25rem; font-weight: 700; color: #0369A1; }
.coupon-list-v2 .discount-cell .type { font-size: 11px; color: #64748B; text-transform: uppercase; }
.coupon-list-v2 .info-cell .title { font-weight: 600; margin-bottom: 4px; }
.coupon-list-v2 .info-cell .desc { font-size: 13px; color: #64748B; }
.coupon-list-v2 .info-cell .time { font-size: 12px; color: #94A3B8; margin-top: 8px; }
.coupon-list-v2 .action-cell .btn-reveal {
  width: 100%;
  padding: 12px;
  background: #0369A1;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.coupon-list-v2 .action-cell .btn-reveal:hover { background: #0284C7; }
@media (max-width: 768px) {
  .coupon-list-v2 .coupon-row { grid-template-columns: 80px 1fr; }
  .coupon-list-v2 .action-cell { grid-column: 2; }
}

/* ========== Shops page layout ========== */
.shops-layout-v2 {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 24px;
}
.shops-layout-v2 .alpha-nav {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.shops-layout-v2 .alpha-nav a {
  display: block;
  padding: 10px 16px;
  border-radius: 8px;
  color: #475569;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.15s;
  cursor: pointer;
}
.shops-layout-v2 .alpha-nav a:hover { background: #F1F5F9; color: #0369A1; }
.shops-layout-v2 .shops-content .letter-block {
  margin-bottom: 32px;
}
.shops-layout-v2 .letter-block h3 {
  font-size: 1.5rem;
  color: #0369A1;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #E2E8F0;
}
.shops-layout-v2 .shop-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px;
}
.shops-layout-v2 .shop-links a {
  padding: 10px 14px;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  color: #334155;
  text-decoration: none;
  transition: all 0.15s;
  cursor: pointer;
}
.shops-layout-v2 .shop-links a:hover { border-color: #0369A1; color: #0369A1; }
@media (max-width: 768px) {
  .shops-layout-v2 { grid-template-columns: 1fr; }
  .shops-layout-v2 .alpha-nav { flex-direction: row; flex-wrap: wrap; position: static; }
}

/* ========== Footer ========== */
.footer-v2 {
  background: #0F172A;
  color: #94A3B8;
  padding: 64px 24px 32px;
}
.footer-v2 .footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-v2 .footer-brand .logo { margin-bottom: 16px; }
.footer-v2 .footer-brand .logo img { height: 32px; }
.footer-v2 .footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 320px;
}
.footer-v2 .footer-col h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}
.footer-v2 .footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-v2 .footer-col li { margin-bottom: 12px; }
.footer-v2 .footer-col a {
  color: #94A3B8;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s;
  cursor: pointer;
}
.footer-v2 .footer-col a:hover { color: #fff; }
.footer-v2 .footer-bottom {
  max-width: 1280px;
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(148,163,184,0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-v2 .footer-bottom .copy { font-size: 13px; }
.footer-v2 .footer-bottom .copy a { color: #38bdf8; }
.footer-v2 .footer-links { display: flex; gap: 24px; }
.footer-v2 .footer-links a { color: #94A3B8; font-size: 13px; }
@media (max-width: 900px) {
  .footer-v2 .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .footer-v2 .footer-inner { grid-template-columns: 1fr; }
  .footer-v2 .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ========== Page banner ========== */
.page-banner-v2 {
  padding: 48px 24px;
  text-align: center;
  background: linear-gradient(180deg, #F1F5F9 0%, #F8FAFC 100%);
  border-bottom: 1px solid #E2E8F0;
}
.page-banner-v2 h1 {
  font-size: 2rem;
  color: #0F172A;
  margin: 0;
}
.page-banner-v2 p {
  margin: 0;
}

/* Inner page content */
.twocolumns .container,
#content {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}
