/* ==========================================================================
   Ghaith Plast - Corporate Industrial Packaging Website
   Visual Architecture inspired by albibas.ly + 60/30/10 Color Rule
   - 60% Dominant Surface: #FFFFFF (Pure white canvas, cards & hero)
   - 30% Secondary Brand:  #164A80 (Ghaith Blue - from logo wordmark: structural blocks, cards & footer)
   - 10% Accent Color:     #26A3A6 (Ghaith Teal - from logo hexagon: sharp CTAs, active markers & accents)
   ========================================================================== */

:root {
  /* 60% Dominant */
  --bg-primary: #ffffff;
  --bg-soft: #f7f9fb;
  --border-light: #e5eaf0;

  /* 30% Secondary Brand (Navy) */
  --navy-900: #0D3360;
  --navy-800: #164A80;
  --navy-700: #1F5C99;

  /* 10% Accent (Green) */
  --green-500: #26A3A6;
  --green-600: #1C8A8D;
  --green-soft: rgba(38, 163, 166, 0.14);

  /* Text Neutrals */
  --text-dark: #164A80;
  --text-gray: #6b7280;
  --text-muted: #8b949e;
  --text-light-gray: #9ca3af;

  /* Typography & Layout */
  --font-ar: 'Cairo', 'Tajawal', 'Segoe UI', Tahoma, sans-serif;
  --font-en: 'Plus Jakarta Sans', 'Inter', 'Segoe UI', system-ui, sans-serif;
  --container-max: 1200px;
  --shadow-card: 0 10px 30px rgba(22, 74, 128, 0.08);
  --shadow-header: 0 4px 20px rgba(22, 74, 128, 0.08);
  --shadow-accent: 0 8px 28px rgba(38, 163, 166, 0.25);
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-ar);
  background-color: var(--bg-primary);
  color: var(--text-dark);
  line-height: 1.75;
  overflow-x: hidden;
}

html[dir="ltr"] body {
  font-family: var(--font-en);
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* ==========================================================================
   Header & Navigation (Single-row sticky bar with top triangle indicator)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(22, 74, 128, 0.06);
  transition: box-shadow var(--transition), background var(--transition);
}

.site-header.scrolled {
  background: #ffffff;
  box-shadow: var(--shadow-header);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 96px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.brand-logo {
  height: 62px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.1rem;
  flex: 1;
}

.nav-link {
  position: relative;
  padding-block: 0.6rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--navy-800);
}

.nav-link.active::before {
  content: "";
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 9px solid var(--green-500);
}

.lang-inline-btn {
  background: transparent;
  border: none;
  font-family: inherit;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  transition: color var(--transition);
}

.lang-inline-btn:hover {
  color: var(--green-600);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Sharp square accent badge/button on far end (albibas style) */
.header-square-btn {
  width: 40px;
  height: 40px;
  background: var(--green-500);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition);
}

.header-square-btn:hover {
  background: var(--navy-800);
  transform: translateY(-2px);
}

.header-square-btn svg {
  width: 18px;
  height: 18px;
}

/* Mobile 45-deg diamond toggle */
.mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  background: var(--navy-800);
  border: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transform: rotate(45deg);
  margin-inline-end: 6px;
}

.mobile-toggle-inner {
  transform: rotate(-45deg);
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}

.mobile-toggle-inner span {
  display: block;
  width: 100%;
  height: 2px;
  background: #ffffff;
}

/* ==========================================================================
   Hero White Canvas Slider (albibas.ly visual architecture)
   ========================================================================== */
.hero-slider {
  position: relative;
  background: #ffffff;
  padding-block: 2.5rem 3.5rem;
  overflow: hidden;
}

.hero-backdrop-bars {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 440px;
  height: 320px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.12;
}

.hero-slide {
  display: none;
  position: relative;
  z-index: 1;
  text-align: center;
  animation: fadeSlide 0.55s ease;
}

.hero-slide.active {
  display: block;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-product-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  margin-bottom: 1.5rem;
}

.hero-product-stage svg {
  width: 240px;
  height: 200px;
  filter: drop-shadow(0 18px 26px rgba(22, 74, 128, 0.16));
}

.hero-headline {
  font-size: clamp(2rem, 4.4vw, 3.35rem);
  font-weight: 600;
  line-height: 1.32;
  color: var(--text-gray);
  margin-bottom: 0.65rem;
}

.hero-headline strong {
  display: block;
  font-weight: 800;
  color: var(--navy-800);
}

.hero-headline strong span {
  color: var(--green-500);
}

.hero-subline {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  margin-inline: auto;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 42px;
  height: 42px;
  border: none;
  background: var(--green-500);
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.slider-arrow:hover {
  background: var(--navy-800);
}

.slider-arrow.prev {
  inset-inline-start: 1.5rem;
}

.slider-arrow.next {
  inset-inline-end: 1.5rem;
}

/* ==========================================================================
   3-Column Contiguous Sector Ribbon Cards (Downward Chevron/V Edge)
   ========================================================================== */
.sectors-ribbon-section {
  padding-bottom: 4rem;
}

.sectors-ribbon-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.sector-ribbon-card {
  position: relative;
  background: var(--navy-800);
  color: #ffffff;
  padding: 2.85rem 1.75rem 4rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.15rem;
  clip-path: polygon(0 0, 100% 0, 100% 82%, 50% 100%, 0 82%);
  transition: transform var(--transition), background var(--transition);
}

.sector-ribbon-card:nth-child(2) {
  background: var(--navy-900);
}

.sector-ribbon-card:nth-child(3) {
  background: var(--navy-700);
}

.sector-ribbon-card:hover {
  transform: translateY(-6px);
  background: var(--navy-800);
}

.sector-ribbon-card svg {
  width: 58px;
  height: 58px;
}

.sector-ribbon-card h2 {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.sector-ribbon-card p {
  font-size: 0.9rem;
  color: #cbd5e1;
  max-width: 280px;
}

/* ==========================================================================
   Split "About Us" Section (ماذا عنا ؟ + KPI Counters + Hex Visual Frame)
   ========================================================================== */
.about-split-section {
  padding-block: 4.5rem;
  background: #ffffff;
}

.about-split-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 3.5rem;
}

.stacked-heading {
  font-size: clamp(2.1rem, 3.6vw, 2.9rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-gray);
  margin-bottom: 1.35rem;
}

.stacked-heading .accent-mark {
  color: var(--green-500);
  font-size: 1.25em;
}

.about-lead-text {
  font-size: 1.08rem;
  color: var(--text-gray);
  line-height: 1.95;
  text-align: justify;
  margin-bottom: 2rem;
}

.kpi-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  padding-block: 1.25rem;
  margin-bottom: 2rem;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.kpi-item {
  position: relative;
}

.kpi-item:first-child::after {
  content: "";
  position: absolute;
  top: 10%;
  bottom: 10%;
  inset-inline-end: -0.75rem;
  width: 1px;
  background: var(--border-light);
}

.kpi-num {
  display: block;
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--navy-800);
  line-height: 1.1;
}

.kpi-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--green-600);
}

/* Sharp-cornered gold/green CTA button (albibas style) */
.btn-sharp-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 2.2rem;
  background: var(--green-500);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.98rem;
  border: none;
  border-radius: 0;
  box-shadow: var(--shadow-accent);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.btn-sharp-accent:hover {
  background: var(--navy-800);
  transform: translateY(-2px);
}

.btn-sharp-navy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 2.2rem;
  background: var(--navy-800);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.98rem;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.btn-sharp-navy:hover {
  background: var(--green-500);
}

/* Geometric Hexagonal Frame Visual */
.hex-visual-frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.hex-outline-svg {
  width: 340px;
  max-width: 100%;
  height: auto;
}

/* ==========================================================================
   Products Showcase Cards (White upper half + Angled V Navy lower half)
   ========================================================================== */
.products-section {
  padding-block: 4.5rem 5rem;
  background: var(--bg-soft);
}

.center-gray-heading {
  text-align: center;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--text-gray);
  margin-bottom: 0.65rem;
}

.center-sub-heading {
  text-align: center;
  color: var(--text-muted);
  max-width: 620px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.6rem 1.35rem;
  border: 1.5px solid var(--border-light);
  background: #ffffff;
  color: var(--navy-800);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 0;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  border-color: var(--green-500);
  color: var(--green-600);
}

.filter-btn.active {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: #ffffff;
}

.products-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.albibas-product-card {
  position: relative;
  background: #ffffff;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.albibas-product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(22, 74, 128, 0.14);
}

.albibas-product-card.hidden {
  display: none;
}

.product-top-visual {
  padding: 2.25rem 1.5rem 2.75rem;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 205px;
}

.product-top-visual svg {
  width: 120px;
  height: 120px;
  filter: drop-shadow(0 10px 18px rgba(22, 74, 128, 0.12));
}

.product-cap-tag {
  position: absolute;
  top: 1rem;
  inset-inline-start: 1rem;
  background: var(--bg-soft);
  color: var(--navy-800);
  border-inline-start: 3px solid var(--green-500);
  padding: 0.25rem 0.65rem;
  font-size: 0.76rem;
  font-weight: 800;
}

.product-bottom-angled {
  position: relative;
  background: var(--navy-800);
  color: #ffffff;
  text-align: center;
  padding: 2.5rem 1.25rem 1.75rem;
  margin-top: -28px;
  clip-path: polygon(0 24px, 50% 0, 100% 24px, 100% 100%, 0 100%);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
}

.product-bottom-angled h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
}

.product-en-subtitle {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-500);
}

.product-mini-specs {
  margin-top: 0.55rem;
  font-size: 0.82rem;
  color: #cbd5e1;
}

/* Carousel Controls (Square + 45deg Diamond matching albibas.ly) */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.ctrl-square,
.ctrl-diamond {
  width: 42px;
  height: 42px;
  border: none;
  background: var(--navy-800);
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.ctrl-diamond {
  transform: rotate(45deg);
  background: var(--green-500);
}

.ctrl-diamond span {
  transform: rotate(-45deg);
  display: inline-block;
}

.ctrl-square:hover {
  background: var(--green-500);
}

.ctrl-diamond:hover {
  background: var(--navy-800);
}

/* ==========================================================================
   Inner Page Header Bar (Navy Banner + Breadcrumb)
   ========================================================================== */
.inner-page-bar {
  background: var(--navy-800);
  color: #ffffff;
  padding-block: 2.35rem;
  border-bottom: 4px solid var(--green-500);
}

.inner-bar-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.inner-bar-flex h1 {
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  font-weight: 800;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.92rem;
  color: #cbd5e1;
}

.breadcrumb a:hover {
  color: var(--green-500);
}

/* ==========================================================================
   About Inner Pillars
   ========================================================================== */
.section {
  padding-block: 4.5rem;
}

.section-soft {
  background: var(--bg-soft);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.pillar-card {
  background: #ffffff;
  padding: 2rem;
  box-shadow: var(--shadow-card);
  border-top: 4px solid var(--navy-800);
  transition: transform var(--transition);
}

.pillar-card:nth-child(2) {
  border-top-color: var(--green-500);
}

.pillar-card:hover {
  transform: translateY(-4px);
}

.pillar-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy-800);
  margin-bottom: 0.6rem;
}

.pillar-card p {
  font-size: 0.94rem;
  color: var(--text-gray);
}

/* ==========================================================================
   Contact Page (albibas.ly Stacked Info Cards + Navy Info Panel, NO FORM)
   ========================================================================== */
.contact-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

.contact-info-stack {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.albibas-info-card {
  background: #ffffff;
  box-shadow: var(--shadow-card);
  padding: 1.6rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  border-inline-start: 4px solid var(--green-500);
}

.circle-icon-badge {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--navy-800);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.circle-icon-badge svg {
  width: 24px;
  height: 24px;
}

.info-card-body {
  flex: 1;
}

.info-card-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--green-600);
  padding-bottom: 0.35rem;
  margin-bottom: 0.4rem;
  border-bottom: 1px solid var(--border-light);
}

.info-card-val {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--navy-800);
  direction: ltr;
  text-align: start;
  unicode-bidi: isolate;
}

.info-card-val.rtl-text {
  direction: rtl;
}

.info-card-val a:hover {
  color: var(--green-600);
}

.navy-location-panel {
  background: var(--navy-800);
  color: #ffffff;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.75rem;
  border-top: 5px solid var(--green-500);
}

.navy-location-panel h2 {
  font-size: 1.65rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
}

.navy-location-panel p {
  color: #cbd5e1;
  line-height: 1.85;
}

.hours-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 1.4rem;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.94rem;
}

.hours-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hours-row strong {
  color: var(--green-500);
}

/* ==========================================================================
   Footer (albibas.ly Centered Solid Navy Block + Light Gray Bottom Bar)
   ========================================================================== */
.site-footer {
  background: var(--navy-800);
  color: #ffffff;
  padding-block: 3.5rem 3rem;
  text-align: center;
}

.footer-centered-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 0.7rem 1.2rem;
  margin-bottom: 1.75rem;
}

.footer-centered-logo img {
  height: 58px;
  width: auto;
}

.footer-centered-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.75rem;
  margin-bottom: 1.5rem;
}

.footer-centered-nav a,
.footer-centered-nav button {
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 0.96rem;
  font-weight: 700;
  color: #e2e8f0;
  padding-bottom: 0.3rem;
  cursor: pointer;
  transition: color var(--transition);
}

.footer-centered-nav a:hover,
.footer-centered-nav button:hover {
  color: var(--green-500);
}

.footer-centered-nav a.active {
  color: #ffffff;
  border-bottom: 2px solid var(--green-500);
}

.footer-contact-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.footer-contact-line a:hover {
  color: var(--green-500);
}

.footer-bottom-strip {
  background: #f1f5f9;
  color: var(--text-gray);
  padding-block: 1rem;
  position: relative;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 0.85rem;
}

.scroll-top-btn {
  position: absolute;
  inset-inline-end: 1.25rem;
  width: 36px;
  height: 36px;
  background: var(--navy-800);
  color: #ffffff;
  border: none;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.scroll-top-btn:hover {
  background: var(--green-500);
}

/* ==========================================================================
   Scroll Reveal
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
  .sectors-ribbon-grid,
  .about-split-grid,
  .products-grid-3,
  .grid-3,
  .contact-layout-grid {
    grid-template-columns: 1fr;
  }

  .sector-ribbon-card {
    clip-path: none;
    padding: 2.25rem 1.5rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  }

  .nav-menu {
    gap: 1.15rem;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: inline-flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    inset-inline: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.5rem;
    gap: 0.35rem;
    border-bottom: 2px solid var(--green-500);
    box-shadow: var(--shadow-header);
    display: none;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-link.active::before {
    display: none;
  }

  .slider-arrow {
    width: 34px;
    height: 34px;
  }

  .slider-arrow.prev {
    inset-inline-start: 0.5rem;
  }

  .slider-arrow.next {
    inset-inline-end: 0.5rem;
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 0.75rem;
  }

  .scroll-top-btn {
    position: static;
  }
}

/* ==========================================================================
   Brand logo (logo.png) - crop transparent margins around the mark
   Mark occupies x 393-630, y 116-449 of the 1024x523 canvas
   ========================================================================== */
.logo-crop {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 250 / 345;
}
.logo-crop img {
  position: absolute;
  top: 50%;
  left: 50%;
  height: calc(100% * 523 / 345);
  width: auto;
  max-width: none;
  transform: translate(-50%, -54%);
}
.brand-logo-crop { height: 78px; }
.footer-logo-crop { height: 96px; }
.footer-centered-logo { padding: 0.8rem 1.4rem; }
.brand-logo-crop img.brand-logo { height: calc(100% * 523 / 345); }

/* Real product photos inside product cards */
.product-top-visual.has-photo {
  padding: 0;
  overflow: hidden;
  background: var(--bg-soft);
}
.product-photo {
  width: 100%;
  height: 205px;
  object-fit: cover;
  transition: transform var(--transition);
}
.albibas-product-card:hover .product-photo { transform: scale(1.05); }
.product-top-visual.has-photo .product-cap-tag { z-index: 2; }
