/**
 * PrintWise vitrin (kategori / ürün) ve ana sayfa katalog görünümü.
 */

.awp-sf-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  color: #64748b;
  margin: 0 0 1rem;
}

.awp-sf-breadcrumb a {
  color: #4f46e5;
  text-decoration: none;
  font-weight: 600;
}

.awp-sf-breadcrumb a:hover {
  text-decoration: underline;
}

.awp-sf-heading {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #0f172a;
  margin: 0 0 1rem;
}

/* Eski görünür sayfa başlığı — artık basılmıyor; kalıntı DOM için gizle. */
.awp-home-seo-title {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

#awp-printwise-root main > .awp-sf-product-seo {
  margin: 0.75rem 0 0.5rem;
  text-align: left;
}

body.awp-storefront--product #awp-printwise-root main > .awp-sf-product-seo .awp-sf-breadcrumb {
  display: flex !important;
  margin-bottom: 0.45rem;
}

#awp-printwise-root main > .awp-sf-product-seo .awp-sf-heading {
  margin-bottom: 0.35rem;
}

#awp-printwise-root main > .awp-sf-product-seo .awp-sf-intro {
  margin-bottom: 0.75rem;
}

.awp-sf-intro {
  color: #64748b;
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
}

.awp-sf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}

.awp-sf-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  padding: 1.1rem 0.85rem;
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgb(15 23 42 / 0.08);
  text-decoration: none;
  color: #0f172a;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  min-height: 44px;
}

.awp-sf-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 24px -8px rgb(79 70 229 / 0.25);
}

.awp-sf-card__img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.awp-sf-card__title {
  font-size: 0.875rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
}

/* Kategori sayfası: footer altı boşluk + canlı hero/liste */
html:has(body.awp-storefront),
body.awp-storefront {
  height: auto;
  min-height: 0;
  background-color: #050d18;
}

html:has(body.awp-storefront--category),
body.awp-storefront--category {
  background-color: #fff;
  line-height: 1.5;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html:has(body.awp-storefront--category) {
  height: auto !important;
  overflow-y: auto !important;
}

body.awp-storefront.awp-storefront--category:has(#awp-main-header) {
  height: auto !important;
  max-height: none !important;
  overflow-y: auto !important;
}

body.awp-storefront--category #awp-main-header,
body.awp-storefront--category #awp-main-header button,
body.awp-storefront--category #awp-main-header a,
body.awp-storefront--category #awp-main-header input,
body.awp-storefront--category .awp-sf-main--category,
body.awp-storefront--category .awp-sf-main--category * {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

body.awp-storefront--category .awp-sf-cat-banner {
  background: #fff;
  padding: 0.75rem 0 0;
}

body.awp-storefront--category .awp-sf-cat-banner .awp-showcase-slider-container {
  margin: 0 auto;
}

body.awp-storefront--category #awp-main-header.awp-header--fe-compact {
  min-height: 0 !important;
  height: auto !important;
  padding-bottom: 0 !important;
}

body.awp-storefront--category .awp-sf-hero {
  background: #fff;
}

body.awp-storefront--category .awp-sf-hero__inner {
  grid-template-columns: minmax(0, 1fr);
}

body.awp-storefront {
  line-height: 0;
}

body.awp-storefront.awp-storefront--category {
  line-height: 1.5;
}

body.awp-storefront--category .awp-sf-cat-banner {
  position: relative;
  z-index: 4;
  clear: both;
  margin: 12px 0 20px;
  padding: 0;
  background: #fff;
  overflow: hidden;
}

body.awp-storefront--category .awp-sf-cat-banner .awp-showcase-element-text {
  line-height: 1.05;
}

body.awp-storefront--category .awp-sf-cat-banner .awp-showcase-element-image,
body.awp-storefront--category .awp-sf-cat-banner .awp-showcase-element-image img {
  line-height: 0;
  font-size: 0;
  color: transparent;
}

body.awp-storefront--category .awp-sf-hero {
  position: relative;
  z-index: 6;
  margin-top: 0;
  background: #fff;
}

body.awp-storefront #awp-printwise-root {
  line-height: 1.5;
}

body.awp-storefront .awp-ps-page-loader,
body.awp-storefront .awp-ps-modal,
body.awp-storefront .awp-studio-busy-overlay {
  line-height: 1.4;
}

body.awp-storefront #awp-printwise-root.awp-storefront-root {
  min-height: 0 !important;
  display: flex;
  flex-direction: column;
}

body.awp-storefront #awp-printwise-root.awp-storefront-root > footer.awp-footer,
body.awp-storefront #awp-printwise-root.awp-storefront-root > .awp-footer {
  margin-top: 40px;
}

/* Kategori: yazıcı görseli son metnin üzerine binmesin */
body.awp-storefront--category #awp-printwise-root.awp-storefront-root > footer.awp-footer.awp-footer--studio,
body.awp-storefront--category #awp-printwise-root .awp-footer.awp-footer--studio {
  margin-top: 220px;
}

body.awp-storefront--category #awp-printwise-root .awp-footer-feature {
  margin-top: -96px;
}

body.awp-storefront #awp-shared-file-input,
body.awp-storefront .widget_shopping_cart_live_region {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0);
  pointer-events: none;
}

body.awp-storefront #wa.wa__widget_container {
  position: fixed !important;
  height: auto !important;
  top: auto !important;
  bottom: 16px;
}

.awp-sf-main--category {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 0 3.5rem;
  position: relative;
  z-index: 10;
}

.awp-sf-breadcrumb--page {
  max-width: var(--awp-header-content-width, 1280px);
  margin: 0.85rem auto 0.35rem;
  padding: 0 1.25rem;
}

.awp-sf-heading--sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.awp-sf-hero {
  background:
    radial-gradient(1200px 280px at 80% 20%, rgba(191, 219, 254, 0.45), transparent 60%),
    linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
  border-bottom: 1px solid #e2e8f0;
}

.awp-sf-hero__inner {
  max-width: var(--awp-header-content-width, 1280px);
  margin: 0 auto;
  padding: 1.25rem 1.25rem 1.75rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 420px);
  gap: 1.5rem;
  align-items: center;
}

.awp-sf-hero .awp-sf-breadcrumb {
  margin-bottom: 0.65rem;
  color: #3b82f6;
}

.awp-sf-hero .awp-sf-heading {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  color: #0f172a;
  margin: 0 0 0.65rem;
}

.awp-sf-hero .awp-sf-intro {
  max-width: 34rem;
  color: #475569;
  font-size: 1rem;
  line-height: 1.55;
  margin: 0 0 1rem;
}

.awp-sf-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #1e40af;
  font-size: 0.875rem;
  font-weight: 600;
}

.awp-sf-hero__badge-icon {
  margin-right: 0.35rem;
}

.awp-sf-hero__stage {
  position: relative;
  min-height: 220px;
}

.awp-sf-hero__shot {
  position: absolute;
  width: 112px;
  height: 112px;
  object-fit: contain;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  padding: 10px;
}

.awp-sf-hero__shot--0 { left: 12%; top: 18%; transform: rotate(-8deg); }
.awp-sf-hero__shot--1 { left: 42%; top: 8%; transform: rotate(6deg); z-index: 2; }
.awp-sf-hero__shot--2 { right: 8%; top: 28%; transform: rotate(10deg); }
.awp-sf-hero__shot--3 { left: 28%; bottom: 6%; transform: rotate(-4deg); }
.awp-sf-hero__shot--4 { right: 18%; bottom: 0; transform: rotate(3deg); }

.awp-sf-hero--slider {
  background: #fff;
  padding: 0.75rem 0 0;
}

.awp-sf-hero--slider .awp-showcase-slider-container {
  margin: 0 auto 0.5rem;
}

.awp-sf-products {
  max-width: var(--awp-header-content-width, 1280px);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 0.5rem;
  width: 100%;
  box-sizing: border-box;
}

.awp-sf-products__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 1rem;
}

.awp-sf-products__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
}

.awp-sf-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.awp-sf-filter {
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #334155;
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
}

.awp-sf-filter.is-active {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}

.awp-sf-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.awp-sf-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.awp-sf-row.is-hidden {
  display: none;
}

.awp-sf-row__img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  flex: 0 0 160px;
  background: #f8fafc;
  border-radius: 6px;
}

.awp-sf-row__img--empty {
  display: block;
  background: linear-gradient(135deg, #eff6ff, #f8fafc);
}

.awp-sf-row__body {
  min-width: 0;
  flex: 1;
}

.awp-sf-row__title {
  margin: 0 0 0.2rem;
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
}

.awp-sf-row__blurb {
  margin: 0 0 0.55rem;
  font-size: 0.8125rem;
  color: #64748b;
  line-height: 1.4;
}

.awp-sf-row__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  width: auto;
  max-width: max-content;
  background: #ea580c !important;
  color: #fff !important;
  text-decoration: none;
  font-size: 12px !important;
  font-weight: 700;
  line-height: 1.2;
  border-radius: 6px;
  padding: 0.28rem 0.55rem;
  box-shadow: none !important;
  transform: none;
}

.awp-sf-row__cta:hover,
.awp-sf-row__cta:focus {
  background: #7c2d12 !important;
  color: #fff !important;
}

.awp-sf-row__badge {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 0.28rem 0.55rem;
  border-bottom-right-radius: 6px;
  color: #fff;
}

.awp-sf-row__badge--hot {
  background: #dc2626;
}

.awp-sf-row__badge--fast {
  background: #ea580c;
}

.awp-sf-help {
  max-width: var(--awp-header-content-width, 1280px);
  margin: 1.25rem auto 0;
  padding: 1rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  background: #e8f1ff;
  border-radius: 6px;
  width: 100%;
  box-sizing: border-box;
}

.awp-sf-help__copy {
  min-width: 0;
}

.awp-sf-help__copy strong {
  display: block;
  color: #0f172a;
  font-size: 0.95rem;
}

.awp-sf-help__copy p {
  margin: 0.25rem 0 0;
  color: #475569;
  font-size: 0.8125rem;
}

.awp-sf-help__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.awp-sf-help__btn {
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  padding: 0.55rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font: inherit;
}

.awp-sf-help__btn--ai {
  background: #2563eb;
  color: #fff;
}

body.awp-storefront--category .awp-sf-home-blocks {
  margin-top: 28px;
}

.awp-sf-trust {
  max-width: var(--awp-header-content-width, 1280px);
  margin: 1.5rem auto 0;
  padding: 0 1.25rem 0.5rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  list-style: none;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
}

.awp-sf-trust li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  color: #334155;
}

.awp-sf-trust strong {
  font-size: 0.875rem;
  color: #0f172a;
}

.awp-sf-trust span {
  font-size: 0.75rem;
  color: #64748b;
}

@media (max-width: 900px) {
  .awp-sf-hero__inner {
    grid-template-columns: 1fr;
  }

  .awp-sf-hero__stage {
    min-height: 160px;
  }

  .awp-sf-list,
  .awp-sf-trust {
    grid-template-columns: 1fr;
  }

  body.awp-storefront--category #awp-printwise-root.awp-storefront-root > footer.awp-footer.awp-footer--studio,
  body.awp-storefront--category #awp-printwise-root .awp-footer.awp-footer--studio {
    margin-top: 160px;
  }

  body.awp-storefront--category #awp-printwise-root .awp-footer-feature {
    margin-top: -56px;
  }
}

a.calculator-tab-btn-grid {
  text-decoration: none;
  color: inherit;
}

/* Ürün / form sayfası: vitrin slaytı, breadcrumb ve header pazarlama yok */
body.awp-storefront--product #awp-main-header .awp-showcase-slider-container,
body.awp-storefront--product #awp-main-header .awp-header-hero,
body.awp-storefront--product #awp-main-header .awp-header-service-cards-row,
body.awp-storefront--product #awp-main-header .awp-header-tabs-row,
body.awp-storefront--product #awp-main-header .awp-header-trust-row,
body.awp-storefront--product .awp-showcase-slider-container,
body.awp-storefront--product #awp-commerce-breadcrumb,
body.awp-storefront--product .awp-commerce-breadcrumb,
body.awp-storefront--product .awp-sf-breadcrumb {
  display: none !important;
}

/* Ana sayfa dışı hesaplayıcı: header'daki vitrin blokları yalnızca ana sayfada */
body.ders-notu-calc-page:not(.awp-sf-home-catalog) #awp-main-header .awp-showcase-slider-container,
body.ders-notu-calc-page:not(.awp-sf-home-catalog) #awp-main-header .awp-header-hero,
body.ders-notu-calc-page:not(.awp-sf-home-catalog) #awp-main-header .awp-header-service-cards-row,
body.ders-notu-calc-page:not(.awp-sf-home-catalog) #awp-main-header .awp-header-tabs-row,
body.ders-notu-calc-page:not(.awp-sf-home-catalog) #awp-main-header .awp-header-trust-row {
  display: none !important;
}

body.awp-storefront--product .awp-sf-calc-host .calculator-tab-content:not(.active) {
  display: none !important;
}

body.awp-storefront--product .awp-sf-calc-host #awp-product-grid-section,
body.awp-storefront--product .awp-sf-calc-host .awp-header-tabs-row {
  display: none !important;
}

body.awp-storefront--product .awp-sf-calc-host .dijital-subtype-nav,
body.awp-storefront--product .awp-sf-calc-host .dn-copy-type-nav,
body.awp-storefront--product .awp-sf-calc-host .rulo-subtype-nav,
body.awp-storefront--product .awp-sf-calc-host .awp-subtype-nav {
  display: none !important;
}

/* Ana sayfa: form kapalı; header + küçük kartlar + slider + footer */
body.awp-sf-home-catalog .calculator-tab-content:not(#awp-product-grid-section),
body.awp-sf-home-catalog #awp-commerce-breadcrumb,
body.awp-sf-home-catalog .awp-commerce-breadcrumb,
body.awp-sf-home-catalog #awp-printwise-root > main {
  display: none !important;
}

body.awp-sf-home-catalog #awp-product-grid-section.awp-home-woo-band {
  display: block !important;
}

.awp-home-vitrine {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.25rem 0.75rem 2rem;
}

.awp-home-featured {
  margin-bottom: 1.75rem;
}

.awp-home-custom-band {
  margin-top: 0.5rem;
  padding: 0;
}

.awp-home-custom-band__inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  width: 100%;
  max-width: none;
  padding: 1.35rem 1rem;
}

.awp-home-custom-band__image {
  display: block;
  width: auto;
  max-width: min(100%, 28rem);
  height: auto;
  max-height: 220px;
  object-fit: contain;
  border-radius: 0.85rem;
}

.awp-home-custom-band__copy {
  min-width: 0;
}

.awp-home-custom-band__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  line-height: 1.2;
}

.awp-home-custom-band__text {
  margin: 0 0 0.9rem;
  color: #475569;
  line-height: 1.65;
}

.awp-home-custom-band__btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.55rem 1.1rem;
  border-radius: 0.75rem;
  background: #4f46e5;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.awp-home-custom-band__btn:hover {
  background: #4338ca;
  color: #fff;
}

.awp-home-custom-band--align-left .awp-home-custom-band__inner {
  align-items: flex-start;
  text-align: left;
}

.awp-home-custom-band--align-center .awp-home-custom-band__inner {
  align-items: center;
  text-align: center;
}

.awp-home-custom-band--align-center .awp-home-custom-band__image {
  margin-inline: auto;
}

.awp-home-custom-band--align-center .awp-home-custom-band__text {
  max-width: 40rem;
  margin-inline: auto;
}

.awp-home-custom-band--align-right .awp-home-custom-band__inner {
  align-items: flex-end;
  text-align: right;
}

.awp-home-custom-band--align-right .awp-home-custom-band__image {
  margin-left: auto;
}

/* VistaPrint tarzı mega: açık şerit + tam genişlik panel. Header > * z-index:1 slider’ı üste alırdı. */
#awp-main-header.awp-modern-header > .awp-header-main-nav {
  position: relative;
  z-index: 30;
  overflow: visible !important;
  padding-bottom: 0;
  border-bottom: 0;
}

#awp-main-header.awp-modern-header .awp-header-inner {
  max-width: 1500px;
}

.awp-mega,
.awp-mega__inner,
.awp-mega__cats,
.awp-mega__cat {
  overflow: visible !important;
}

.awp-mega {
  position: relative;
  z-index: 30;
  width: 100%;
  margin: 0;
  padding: 0;
  background: var(--awp-mega-band, #f1f5f9);
  border-top: 1px solid #dbe3ee;
  border-bottom: 1px solid #dbe3ee;
  box-shadow:
    0 4px 6px -1px rgb(0 0 0 / 0.1),
    0 2px 4px -2px rgb(0 0 0 / 0.1);
}

/* Gölge menü şeridinde; header.shadow-md slider altını gölgelemesin / kategori sayfasında çiftlenmesin */
#awp-main-header.awp-modern-header:has(.awp-mega) {
  box-shadow: none;
}

/* Ana şerit zaten aynı gölgeyi taşıyor — çift gölge olmasın */
#awp-main-header .awp-header-main-nav .awp-mega {
  box-shadow: none;
}

.awp-mega__inner {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 16px;
}

.awp-mega__cats {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  overflow-x: auto !important;
  scrollbar-width: none;
}

.awp-mega__cats::-webkit-scrollbar {
  display: none;
}

.awp-mega__cat {
  position: static;
  display: flex;
  align-items: stretch;
  flex: 0 0 auto;
  min-width: max-content;
}

.awp-mega__cat + .awp-mega__cat {
  box-shadow: inset 1px 0 0 #dbe3ee;
}

.awp-mega__cat-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 100%;
  min-height: 46px;
  padding: 0 1.05rem;
  margin: 0;
  border: 0;
  background: transparent;
  color: var(--awp-mega-text, #0f172a);
  text-decoration: none;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  border-radius: 0;
  box-shadow: none;
  transform: none;
  transition: background-color 0.16s ease, color 0.16s ease;
}

#awp-printwise-root .awp-mega__cat-link,
#awp-printwise-root .awp-mega__tile,
#awp-printwise-root .awp-mega__drop-all,
#awp-printwise-root .awp-mega__item,
#awp-printwise-root .awp-mega__more,
#awp-printwise-root .awp-mega__feature-cta {
  font-size: 12px;
  line-height: 1.25;
}

#awp-printwise-root .awp-mega__item {
  font-size: 0.86rem;
}

#awp-printwise-root .awp-mega__more,
#awp-printwise-root .awp-mega__feature-cta {
  font-size: 0.82rem;
}

.awp-mega__cat-link--accent {
  color: var(--awp-mega-accent, #ea580c);
  font-weight: 800;
}

.awp-mega__cat.has-children .awp-mega__cat-link {
  position: relative;
}

.awp-mega__cat.has-children .awp-mega__cat-link::after {
  content: "";
  margin-left: 0.35rem;
  border: 3px solid transparent;
  border-top-color: var(--awp-mega-arrow, #64748b);
  opacity: 1;
  transform: translateY(1px);
}

.awp-mega__cat--all.is-open .awp-mega__cat-link::after,
.awp-mega__cat--all:hover .awp-mega__cat-link::after {
  opacity: 0;
}

.awp-mega__cat--all.is-open .awp-mega__cat-link::before,
.awp-mega__cat--all:hover .awp-mega__cat-link::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -9px;
  z-index: 46;
  width: 0;
  height: 0;
  border: 8px solid transparent;
  border-bottom-color: #fff;
  transform: translateX(-50%);
  filter: drop-shadow(0 -1px 1px rgba(20, 35, 60, 0.08));
}

#awp-printwise-root .awp-mega__cat-link,
body.awp-hv-layout #awp-printwise-root .awp-mega__cat-link,
body.awp-hv-layout #awp-printwise-root button.awp-mega__cat-link,
body.awp-hv-layout #awp-printwise-root a.awp-mega__cat-link {
  border: 0 !important;
  border-radius: 0 !important;
  text-decoration: none !important;
  box-shadow: none;
  transform: none;
  min-height: 46px;
  font-size: 12px !important;
  font-weight: 700;
  transition: background-color 0.16s ease, color 0.16s ease !important;
}

.awp-mega__cat-link:hover,
.awp-mega__cat.is-current .awp-mega__cat-link,
.awp-mega__cat.is-open .awp-mega__cat-link,
.awp-mega__cat:hover .awp-mega__cat-link,
.awp-mega__cat-link:focus-visible {
  background: var(--awp-mega-accent, #ea580c);
  color: #fff;
}

.awp-mega__cat-link:hover::after,
.awp-mega__cat.is-current .awp-mega__cat-link::after,
.awp-mega__cat.is-open .awp-mega__cat-link::after,
.awp-mega__cat:hover .awp-mega__cat-link::after,
.awp-mega__cat-link:focus-visible::after {
  border-top-color: #fff;
}

.awp-mega__cat-link--accent:hover,
.awp-mega__cat--all.is-open .awp-mega__cat-link--accent,
.awp-mega__cat--all:hover .awp-mega__cat-link--accent,
.awp-mega__cat.is-current .awp-mega__cat-link--accent,
.awp-mega__cat-link--accent:focus-visible {
  background: var(--awp-mega-accent, #ea580c);
  color: #fff;
}

.awp-mega__cat--submenu {
  position: relative;
}

.awp-mega__drop--sub {
  left: 50%;
  right: auto;
  width: auto;
  min-width: 196px;
  max-width: 280px;
  padding: 10px 0 14px;
  transform: translateX(-50%) translateY(10px);
}

.awp-mega__sublist {
  list-style: none;
  margin: 0;
  padding: 6px;
  background: #fff;
  border: 1px solid #e8eef6;
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(20, 35, 60, 0.14);
}

.awp-mega__sub-link {
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  color: #1e293b;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.awp-mega__sub-link:hover,
.awp-mega__sub-link.is-current {
  background: #f8fafc;
  color: var(--awp-mega-accent, #ea580c);
}

.awp-mega__drop {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 40;
  width: 100%;
  padding: 0 16px 22px;
  background: transparent;
  border-top: 0;
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: none;
  transition: none;
}

/*
 * Yalnız .is-open ile aç. Drop şeffaf katman tıklamayı/fareyi yutmasın —
 * etkileşim panelde; fare link/panel dışındaysa JS menüyü kapatır.
 */
.awp-mega__cat.is-open > .awp-mega__drop {
  opacity: 1;
  visibility: visible;
  pointer-events: none;
  transform: none;
}

.awp-mega__cat.is-open > .awp-mega__drop > .awp-mega__panel {
  pointer-events: auto;
}

.awp-mega__cat--submenu.is-open > .awp-mega__drop--sub {
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.awp-mega__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  grid-template-areas:
    "cols feature"
    "quick feature";
  width: min(1400px, 100%);
  margin: 0 auto;
  padding: 10px 10px 8px 6px;
  background: #fff;
  border: 1px solid #e8eef6;
  border-top: 0;
  border-radius: 0 0 6px 6px;
  box-shadow:
    4px 6px 14px -2px rgb(0 0 0 / 0.12),
    -4px 6px 14px -2px rgb(0 0 0 / 0.12),
    0 8px 16px -4px rgb(0 0 0 / 0.1);
}

.awp-mega__panel--no-feature {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "cols"
    "quick";
}

.awp-mega__panel--no-quick {
  grid-template-areas:
    "cols feature"
    "cols feature";
}

.awp-mega__panel--no-feature.awp-mega__panel--no-quick {
  grid-template-areas: "cols";
}

.awp-mega__cols {
  grid-area: cols;
  display: grid;
  grid-template-columns: repeat(var(--awp-mega-product-cols, 4), minmax(0, 1fr));
  gap: 0;
  padding: 0.85rem 0.7rem 0.55rem 1rem;
  background: transparent;
}

.awp-mega__col {
  padding: 0 0.85rem;
  border-right: 1px solid #e8eef6;
  min-width: 0;
}

.awp-mega__col:first-child {
  padding-left: 0.2rem;
}

.awp-mega__col:last-child {
  border-right: 0;
}

.awp-mega__col-title {
  margin: 0 0 0.7rem;
  color: #14233c;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.3;
  display: inline-block;
  text-decoration: none;
}

a.awp-mega__col-title:hover,
a.awp-mega__col-title:focus-visible {
  color: var(--awp-mega-accent, #ea580c);
}

.awp-mega__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.2rem;
}

.awp-mega__item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 44px;
  padding: 0.3rem 0.5rem;
  border-radius: 3px;
  color: #334155;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.25;
}

.awp-mega__item:hover,
.awp-mega__item.is-current {
  background: #e8f1ff;
  color: #14233c;
}

.awp-mega__item-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 3px;
  background: #fff;
  border: 1px solid #e8eef6;
  overflow: hidden;
}

.awp-mega__item-icon img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 3px;
}

.awp-mega__col:nth-child(1) .awp-mega__item-icon {
  background: #eff6ff;
}

.awp-mega__col:nth-child(2) .awp-mega__item-icon {
  background: #f5f3ff;
}

.awp-mega__col:nth-child(3) .awp-mega__item-icon {
  background: #ecfeff;
}

.awp-mega__col:nth-child(4) .awp-mega__item-icon {
  background: #fff7ed;
}

.awp-mega__item-label {
  min-width: 0;
}

.awp-mega__item--text {
  padding-left: 0.65rem;
}

.awp-mega__more {
  display: inline-flex;
  align-items: center;
  margin-top: 0.55rem;
  color: #2563eb;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 800;
}

.awp-mega__more::after,
.awp-mega__feature-cta::after {
  content: " →";
}

.awp-mega__more:hover {
  text-decoration: underline;
}

.awp-mega__feature {
  grid-area: feature;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 2px;
  padding: 1.15rem 1.1rem 1.05rem;
  border-radius: 6px;
  background: linear-gradient(160deg, #1d4ed8 0%, #4f46e5 48%, #7c3aed 100%);
  color: #fff;
  min-height: 0;
}

.awp-mega__feature-title {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.2;
}

.awp-mega__feature-sub {
  font-size: 0.8rem;
  opacity: 0.9;
}

.awp-mega__feature-preview {
  display: flex;
  margin: 0.7rem 0 0.85rem;
  min-height: 118px;
  padding: 8px;
  border-radius: 6px;
  background: rgb(255 255 255 / 0.16);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.12);
}

.awp-mega__feature-preview--image {
  padding: 0;
  overflow: hidden;
}

.awp-mega__feature-preview--image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 118px;
  object-fit: cover;
  border-radius: 6px;
}

.awp-mega__feature-ui {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 18px rgb(15 23 42 / 0.18);
}

.awp-mega__feature-ui-bar {
  display: block;
  height: 10px;
  background: linear-gradient(90deg, #dbeafe 0 18px, #f1f5f9 18px);
}

.awp-mega__feature-ui-canvas {
  display: grid;
  place-items: center;
  flex: 1;
  margin: 8px;
  border-radius: 6px;
  background: linear-gradient(135deg, #1e3a8a, #6d28d9);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.35;
  padding: 0.4rem;
}

.awp-mega__feature-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: auto;
  padding: 0 0.9rem;
  border-radius: 6px;
  background: #fff;
  color: #1d4ed8;
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}

.awp-mega__feature-cta:hover {
  background: #eef4ff;
}

.awp-mega__quick {
  grid-area: quick;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0.35rem 0 0.65rem;
  padding: 0.55rem 0.4rem 0.45rem;
  border-top: 1px solid #e8eef6;
  background: transparent;
}

.awp-mega__quick-label {
  margin: 0;
  flex: 0 0 auto;
  color: #14233c;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.awp-mega__quick-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  min-width: 0;
}

.awp-mega__quick-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  padding: 0.25rem 0.7rem;
  border-radius: 6px;
  color: #334155;
  text-decoration: none;
}

.awp-mega__quick-link:hover {
  background: #e8f1ff;
  color: #14233c;
}

.awp-mega__quick-ico {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #2563eb;
}

.awp-mega__quick-ico svg {
  width: 20px;
  height: 20px;
}

.awp-mega__quick-link strong,
.awp-mega__quick-link em {
  display: block;
  font-style: normal;
}

.awp-mega__quick-link strong {
  font-size: 0.82rem;
  font-weight: 800;
}

.awp-mega__quick-link em {
  font-size: 0.72rem;
  font-weight: 500;
  color: #64748b;
}

.awp-mega__drop-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.awp-mega__drop-head strong {
  color: #0f172a;
  font-size: 0.95rem;
  font-weight: 800;
}

.awp-mega__drop-all {
  color: var(--awp-mega-accent, #ea580c);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 800;
  white-space: nowrap;
}

.awp-mega__drop-all:hover {
  text-decoration: underline;
}

.awp-mega__tiles {
  display: grid;
  grid-template-columns: repeat(var(--awp-mega-columns, 6), minmax(0, 1fr));
  gap: 0.65rem 0.85rem;
}

.awp-mega__tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 0.5rem;
  color: #0f172a;
  text-decoration: none;
  border-radius: 6px;
  border: 1px solid #eef2f7;
  background: var(--awp-mega-card-bg, #f8fafc);
  min-height: 44px;
  text-align: center;
}

.awp-mega__tile:hover,
.awp-mega__tile.is-current {
  border-color: #fdba74;
  background: #fff7ed;
  color: var(--awp-mega-accent, #ea580c);
}

.awp-mega__tile-img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
}

.awp-mega__tile-img img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.awp-mega__tile-label {
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.awp-mega__tile--all {
  justify-content: center;
  border-style: dashed;
  color: var(--awp-mega-accent, #ea580c);
}

.awp-mega__tile-all-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--awp-mega-accent, #ea580c) 12%, white);
  font-size: 1.5rem;
}

.awp-mega__discover {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid #e5e7eb;
}

.awp-mega__discover > strong {
  flex: 0 0 auto;
  color: #334155;
  font-size: 0.75rem;
}

.awp-mega__discover-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.awp-mega__discover-links a {
  color: #475569;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
}

.awp-mega__discover-links a:hover {
  color: var(--awp-mega-accent, #ea580c);
  text-decoration: underline;
}

.awp-mega__drop--custom {
  left: 0;
  right: 0;
  width: 100%;
  padding: 0 16px 22px;
}

.awp-mega__panel--custom {
  display: block;
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 14px;
  background: var(--awp-mega-panel-bg, #fff);
  border: 1px solid #e8eef6;
  border-top: 0;
  border-radius: 0 0 6px 6px;
  box-shadow:
    4px 6px 14px -2px rgb(0 0 0 / 0.12),
    -4px 6px 14px -2px rgb(0 0 0 / 0.12),
    0 8px 16px -4px rgb(0 0 0 / 0.1);
}

.awp-mega__panel--custom.awp-mega__panel--links {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  grid-template-areas: "tiles banner";
  align-items: stretch;
  gap: 0;
  width: min(1400px, 100%);
  padding: 10px;
}

.awp-mega__panel--links.awp-mega__panel--links-no-banner {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "tiles";
}

.awp-mega__panel--links:has(> .awp-mega__cols) {
  grid-template-areas:
    "cols banner"
    "tiles banner"
    "quick banner";
}

.awp-mega__panel--links.awp-mega__panel--links-no-banner:has(> .awp-mega__cols) {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "cols"
    "tiles"
    "quick";
}

.awp-mega__panel--links > .awp-mega__cols {
  min-height: 0;
}

.awp-mega__panel--links.awp-mega__panel--has-item-cols:not(.awp-mega__panel--has-item-quick):not(.awp-mega__panel--links-no-banner) {
  grid-template-areas:
    "cols banner"
    "tiles banner";
}

.awp-mega__panel--links.awp-mega__panel--has-item-quick:not(.awp-mega__panel--has-item-cols):not(.awp-mega__panel--links-no-banner) {
  grid-template-areas:
    "tiles banner"
    "quick banner";
}

.awp-mega__panel--links.awp-mega__panel--has-item-cols.awp-mega__panel--links-no-banner,
.awp-mega__panel--links.awp-mega__panel--has-item-quick.awp-mega__panel--links-no-banner {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "cols"
    "tiles"
    "quick";
}

.awp-mega__panel--links.awp-mega__panel--has-item-cols:not(.awp-mega__panel--has-item-quick).awp-mega__panel--links-no-banner {
  grid-template-areas:
    "cols"
    "tiles";
}

.awp-mega__panel--links.awp-mega__panel--has-item-quick:not(.awp-mega__panel--has-item-cols).awp-mega__panel--links-no-banner {
  grid-template-areas:
    "tiles"
    "quick";
}

.awp-mega__panel--custom.awp-mega__panel--products.awp-mega__panel--has-item-cols,
.awp-mega__panel--custom.awp-mega__panel--products.awp-mega__panel--has-item-quick {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "cols"
    "list"
    "quick";
  gap: 8px;
}

.awp-mega__panel--custom.awp-mega__panel--products.awp-mega__panel--has-item-cols:not(.awp-mega__panel--has-item-quick) {
  grid-template-areas:
    "cols"
    "list";
}

.awp-mega__panel--custom.awp-mega__panel--products.awp-mega__panel--has-item-quick:not(.awp-mega__panel--has-item-cols) {
  grid-template-areas:
    "list"
    "quick";
}

.awp-mega__panel--custom.awp-mega__panel--products > .awp-mega__list--grid {
  grid-area: list;
}

.awp-mega__panel--contact.awp-mega__panel--has-item-cols,
.awp-mega__panel--contact.awp-mega__panel--has-item-quick {
  grid-template-areas:
    "cols cols"
    "info map"
    "quick quick";
}

.awp-mega__panel--contact.awp-mega__panel--has-item-cols:not(.awp-mega__panel--has-item-quick) {
  grid-template-areas:
    "cols cols"
    "info map";
}

.awp-mega__panel--contact.awp-mega__panel--has-item-quick:not(.awp-mega__panel--has-item-cols) {
  grid-template-areas:
    "info map"
    "quick quick";
}

.awp-mega__panel--contact > .awp-mega__cols {
  grid-area: cols;
  padding: 0.35rem 0.2rem 0.15rem;
}

.awp-mega__panel--contact > .awp-mega__contact {
  grid-area: info;
}

.awp-mega__panel--contact > .awp-mega__contact-map {
  grid-area: map;
}

.awp-mega__panel--contact > .awp-mega__quick {
  grid-area: quick;
  margin: 0;
}

.awp-mega__panel--links .awp-mega__tiles,
.awp-mega__panel--links .awp-mega__list--links {
  grid-area: tiles;
  padding: 0.5rem 0.65rem;
}

/* Kart — görsel solda (ızgara) */
.awp-mega__panel--links-layout-row .awp-mega__tiles {
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}

.awp-mega__panel--links-layout-row .awp-mega__tile {
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  padding: 0.55rem 0.7rem;
  min-height: 96px;
  text-align: left;
}

.awp-mega__panel--links-layout-row .awp-mega__tile-img,
.awp-mega__panel--links-layout-row .awp-mega__tile-media {
  flex: 0 0 auto;
  width: 80px;
  height: 80px;
  border-radius: 3px;
  overflow: hidden;
}

.awp-mega__panel--links-layout-row .awp-mega__tile-img img,
.awp-mega__panel--links-layout-row .awp-mega__tile-media img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 3px;
}

.awp-mega__panel--links-layout-row .awp-mega__tile-label {
  flex: 1;
  min-width: 0;
  text-align: left;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.35;
  max-height: calc(1.35em * 2);
  word-break: break-word;
}

/* Kart — görsel üstte (ızgara) */
.awp-mega__panel--links-layout-stack .awp-mega__tiles {
  grid-template-columns: repeat(auto-fit, minmax(132px, 168px));
  align-content: start;
  justify-content: start;
  gap: 14px 16px;
}

.awp-mega__panel--links-layout-stack .awp-mega__tile {
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.7rem;
  padding: 0.75rem 0.7rem 0.75rem;
  min-height: 220px;
  text-align: center;
}

.awp-mega__panel--links-layout-stack .awp-mega__tile-img,
.awp-mega__panel--links-layout-stack .awp-mega__tile-media {
  flex: 0 0 auto;
  width: 100%;
  max-width: none;
  min-width: 0;
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: 6px;
  overflow: hidden;
}

.awp-mega__panel--links-layout-stack .awp-mega__tile-img img,
.awp-mega__panel--links-layout-stack .awp-mega__tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.awp-mega__panel--links-layout-stack .awp-mega__tile-label {
  width: 100%;
  text-align: center;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.25;
  max-height: calc(1.25em * 2);
  word-break: break-word;
}

/* Liste — panel genişliğine eşit sütunlar, yükseklik sınırlı */
.awp-mega__panel--links-layout-list .awp-mega__list--links {
  margin: 0;
  padding: 0.35rem 0.55rem;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.2rem 0.85rem;
  align-content: start;
  max-height: min(340px, 52vh);
  overflow-x: hidden;
  overflow-y: auto;
}

.awp-mega__panel--links-layout-list .awp-mega__list--links > li {
  min-width: 0;
}

.awp-mega__panel--links-layout-list .awp-mega__item {
  width: 100%;
  min-height: 40px;
  padding: 0.35rem 0.55rem;
  font-size: 0.86rem;
}

.awp-mega__panel--links-layout-list .awp-mega__item-icon {
  width: 36px;
  height: 36px;
}

.awp-mega__panel--links-layout-list .awp-mega__item-icon img {
  width: 36px;
  height: 36px;
}

.awp-mega__panel--links-layout-list .awp-mega__item-label {
  flex: 1;
  min-width: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.25;
  max-height: calc(1.25em * 2);
  word-break: break-word;
}

.awp-mega__panel--links .awp-mega__feature--banner {
  grid-area: banner;
  display: block;
  margin: 2px;
  padding: 0;
  min-height: 0;
  background: transparent;
  border-radius: 6px;
  overflow: hidden;
}

.awp-mega__panel--custom:not(.awp-mega__panel--links) .awp-mega__tiles {
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}

.awp-mega__custom-banner {
  margin-bottom: 12px;
  border-radius: 8px;
  overflow: hidden;
  max-height: 180px;
}

.awp-mega__panel--links .awp-mega__custom-banner {
  margin-bottom: 0;
  max-height: none;
  height: 100%;
  min-height: 220px;
  border-radius: 6px;
}

.awp-mega__custom-banner img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.awp-mega__panel--links .awp-mega__custom-banner img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.awp-mega__tile-media {
  display: block;
  width: 72px;
  height: 72px;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e8eef6;
}

.awp-mega__tile-media--placeholder {
  background: linear-gradient(135deg, #eff6ff, #f5f3ff);
}

.awp-mega__tile-media img,
.awp-mega__tile-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.awp-mega__panel--products .awp-mega__list--grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.awp-mega__panel--contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
  gap: 16px;
  align-items: start;
}

.awp-mega__contact-row {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.45;
}

.awp-mega__contact-map {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 180px;
  margin: 0;
  border: 1px dashed #fdba74;
  border-radius: 12px;
  background: #0f172a;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.awp-mega__contact-map-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
  filter: saturate(0.92) contrast(0.98);
}

.awp-mega__contact-map-hit {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 16px;
  border: 0;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(15, 23, 42, 0.1) !important;
  background-image: none !important;
  color: var(--awp-mega-accent, #ea580c) !important;
  cursor: pointer;
  font: inherit;
  text-align: center;
  box-shadow: none !important;
  transform: none;
  transition: background-color 0.2s ease;
}

.awp-mega__contact-map:hover,
.awp-mega__contact-map:focus-within {
  border-style: solid;
  border-color: #ea580c;
  box-shadow: 0 8px 24px rgba(234, 88, 12, 0.16);
}

#awp-printwise-root .awp-mega__contact-map-hit:hover,
#awp-printwise-root .awp-mega__contact-map-hit:focus,
#awp-printwise-root .awp-mega__contact-map-hit:active,
#awp-printwise-root .awp-mega__contact-map:hover .awp-mega__contact-map-hit,
#awp-printwise-root .awp-mega__contact-map:focus-within .awp-mega__contact-map-hit {
  background: rgba(15, 23, 42, 0.22) !important;
  background-image: none !important;
  color: var(--awp-mega-accent, #ea580c) !important;
  box-shadow: none !important;
}

.awp-mega__contact-map-hit:focus-visible {
  outline: 2px solid #ea580c;
  outline-offset: -3px;
}

.awp-mega__contact-map-icon {
  display: flex;
  color: #ea580c;
  filter: drop-shadow(0 1px 8px rgba(255, 255, 255, 0.95));
}

.awp-mega__contact-map-cta {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 1px 8px rgba(15, 23, 42, 0.12);
  text-shadow: none;
}

.awp-mega__contact-map-link {
  color: var(--awp-mega-accent, #ea580c);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 1199px) and (min-width: 769px) {
  .awp-mega__cat-link {
    font-size: 11px;
    padding-inline: 0.7rem;
  }

  .awp-mega__panel {
    grid-template-columns: minmax(0, 1fr) 220px;
  }

  .awp-mega__cols {
    grid-template-columns: repeat(var(--awp-mega-product-cols, 4), minmax(0, 1fr));
    padding: 0.7rem 0.35rem 0.4rem 0.55rem;
  }

  .awp-mega__col {
    padding: 0 0.45rem;
  }

  .awp-mega__item {
    gap: 0.45rem;
    padding: 0.25rem 0.3rem;
  }

  .awp-mega__item-icon {
    width: 30px;
    height: 30px;
  }

  .awp-mega__item-icon img {
    width: 30px;
    height: 30px;
  }

  .awp-mega__feature {
    padding: 0.9rem 0.85rem 0.85rem;
  }

  .awp-mega__feature-preview {
    min-height: 92px;
  }

  .awp-mega__feature-preview--image img {
    min-height: 92px;
  }

  .awp-mega__panel--custom.awp-mega__panel--links {
    grid-template-columns: minmax(0, 1fr) 220px;
  }

  .awp-mega__quick-label {
    display: none;
  }
}

@media (max-width: 1440px) and (min-width: 769px) {
  .awp-mega__inner {
    padding-inline: 12px;
  }

  .awp-mega__cat-link,
  #awp-printwise-root .awp-mega__cat-link {
    min-height: 42px;
    padding-inline: 0.7rem;
    font-size: 11px !important;
  }
}

@media (max-width: 768px) {
  .awp-mega__inner {
    padding-inline: 8px;
  }

  .awp-mega__cats {
    min-height: 40px;
  }

  .awp-mega__cat-link,
  #awp-printwise-root .awp-mega__cat-link {
    min-height: 40px;
    padding-inline: 0.65rem;
    font-size: 11px !important;
    letter-spacing: 0.03em;
  }

  .awp-mega__panel,
  .awp-mega__panel--custom.awp-mega__panel--links,
  .awp-mega__panel--no-quick,
  .awp-mega__panel--no-feature {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "cols"
      "feature"
      "quick";
  }

  .awp-mega__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .awp-mega__drop {
    padding-inline: 8px;
  }
}

@media (max-width: 640px) {
  .awp-sf-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.awp-sf-templates {
  margin: 2rem 0 1.5rem;
}

.awp-sf-templates__title {
  margin: 0 0 1rem;
  font-size: 1.25rem;
}

.awp-sf-templates__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
  align-items: stretch;
}

@media (min-width: 1100px) {
  .awp-sf-templates__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.awp-sf-templates__grid > .awp-tpl-card {
  min-width: 0;
  max-width: none;
  width: auto;
  height: 100%;
}

.awp-sf-templates .awp-hv-prod--template {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgb(15 23 42 / 0.1);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.awp-sf-templates .awp-hv-prod--template:hover,
.awp-sf-templates .awp-hv-prod--template:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgb(15 23 42 / 0.16);
}

.awp-sf-templates .awp-hv-prod--template:focus-visible {
  outline: 2px solid #ea580c;
  outline-offset: 2px;
}

.awp-sf-templates .awp-hv-prod__media {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  height: auto;
  aspect-ratio: auto;
  padding: 16px 16px 0;
  overflow: hidden;
  background: transparent;
  box-sizing: border-box;
}

.awp-sf-templates .awp-hv-prod__img {
  display: flex;
  width: 100%;
  height: auto;
}

.awp-sf-templates .awp-hv-prod__img img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 132px;
  object-fit: contain;
  border: 0;
}

.awp-sf-templates .awp-hv-prod__body {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.55rem 0.75rem 0.75rem;
}

.awp-sf-templates .awp-hv-prod__kicker,
.awp-sf-templates .awp-hv-prod__badge {
  display: inline-flex;
  font-size: 0.75rem;
  color: #64748b;
}

.awp-sf-templates .awp-hv-prod__info h3,
.awp-sf-templates .awp-hv-prod__title {
  display: block;
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
}

.awp-sf-templates .awp-hv-prod__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 38px;
  border-radius: 6px;
  background: #ea580c;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  pointer-events: none;
}
