* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f3f1ec;
  color: #111;
  font-family: Arial,sans-serif;
}

a {
  color: inherit;
}

header {
  height: 76px;
  padding: 0 7vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 9;
  border-bottom: 1px solid #ddd;
}

.logo {
  text-decoration: none;
  font-weight: 900;
  font-style: italic;
  font-size: 23px;
  letter-spacing: -1.5px;
}

.logo b {
  color: #e21c2a;
}

nav {
  display: flex;
  gap: 28px;
}

nav a {
  text-decoration: none;
  font-size: 13px;
  font-weight: bold;
}

.hero {
  min-height: 610px;
  padding: 80px 8vw;
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  align-items: center;
  background: #111;
  color: #fff;
  overflow: hidden;
}

.eyebrow {
  color: #e21c2a;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .2em;
}

.hero h1,.contact h2 {
  font-size: clamp(54px,8vw,108px);
  line-height: .86;
  letter-spacing: -.06em;
  margin: 18px 0;
}

.hero em,.contact em {
  font-style: normal;
  color: #e21c2a;
}

.lead {
  max-width: 570px;
  color: #bbb;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.button {
  display: inline-block;
  padding: 15px 22px;
  background: #e21c2a;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
}

.mark {
  height: 360px;
  position: relative;
  display: grid;
  place-items: center;
}

.ball {
  width: 245px;
  height: 245px;
  border-radius: 50%;
  background: #050505;
  border: 7px solid #e21c2a;
  z-index: 2;
  position: relative;
}

.ball i {
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
}

.ball i:nth-child(1) {
  top: 55px;
  left: 72px;
}

.ball i:nth-child(2) {
  top: 60px;
  right: 64px;
}

.ball i:nth-child(3) {
  top: 108px;
  left: 99px;
}

.flame {
  position: absolute;
  color: #e21c2a;
  font-size: 340px;
  transform: scaleX(.68) translateY(-60px);
}

.section {
  padding: 90px 8vw;
}

.section h2,.about h2 {
  font-size: clamp(38px,5vw,66px);
  letter-spacing: -.05em;
  line-height: .95;
  margin: 12px 0;
}

.cats {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  margin-top: 45px;
  border-top: 1px solid #bbb;
  border-bottom: 1px solid #bbb;
}

.cats a {
  min-height: 220px;
  padding: 25px 20px;
  border-right: 1px solid #bbb;
  text-decoration: none;
  color: #777;
}

.cats a:first-child {
  border-left: 1px solid #bbb;
}

.cats a:hover {
  background: #e21c2a;
  color: #fff;
}

.cats b {
  display: block;
  font-size: 23px;
  color: #111;
  margin: 38px 0 12px;
}

.cats a:hover b {
  color: #fff;
}

.cats small {
  display: block;
  line-height: 1.5;
}

.white {
  background: #fff;
}

.row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
}

.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 30px 0 22px;
}

.filter-btn {
  padding: 9px 14px;
  border: 1px solid #ccc;
  background: #fff;
  font-weight: bold;
  cursor: pointer;
}

.filter-btn.active {
  background: #111;
  color: #fff;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 18px;
}

.product-card {
  border: 1px solid #ddd;
  background: #fff;
}

.product-image {
  aspect-ratio: 1;
  background: #f0efec;
  display: grid;
  place-items: center;
  font-size: 65px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-body {
  padding: 16px;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
}

.stock.in {
  color: #187c42;
}

.stock.out {
  color: #888;
}

.product-card h3 {
  margin: 15px 0 8px;
}

.price {
  font-weight: 900;
}

.about {
  padding: 95px 8vw;
  background: #e21c2a;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}

.about>p {
  font-size: 18px;
  line-height: 1.8;
}

.pale {
  color: #fff;
}

.contact {
  min-height: 500px;
}

.contact p:not(.eyebrow) {
  color: #666;
}

footer {
  padding: 35px 8vw;
  background: #111;
  color: #888;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  letter-spacing: .12em;
}

footer .logo span {
  color: #fff;
}

@media (max-width:850px) {
  nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .mark {
    height: 300px;
  }

  .cats,.grid {
    grid-template-columns: repeat(2,1fr);
  }

  .about {
    grid-template-columns: 1fr;
  }

}

@media (max-width:520px) {
  .hero,.section,.about {
    padding-left: 22px;
    padding-right: 22px;
  }

  .hero h1 {
    font-size: 53px;
  }

  .cats,.grid {
    grid-template-columns: 1fr;
  }

  .row {
    align-items: start;
    flex-direction: column;
  }

  footer {
    flex-direction: column;
    align-items: start;
    gap: 18px;
  }

}

.logo img {
  width: 150px;
  height: auto;
  display: block;
}


/* HERO MYND */
.hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 50px;
}

.hero-visual {
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 75% center;
  display: block;
}


/* FARSÍMI */
@media (max-width: 850px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .hero-visual {
    height: 350px;
  }

}

@media (max-width: 520px) {
  .hero-visual {
    height: 260px;
  }

  .hero-visual img {
    object-position: 65% center;
  }

}

.hero {
  background-image: linear-gradient( 90deg, rgba(15,15,15,0.96) 0%, rgba(15,15,15,0.85) 38%, rgba(15,15,15,0.25) 70%, rgba(15,15,15,0.05) 100% ), url("./keilusjoppan-hero.webp") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}


/* KEILUKÚLUR – VÖRUFLOKKAKORT */
.category-balls {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  background: linear-gradient( 90deg, rgba(10,10,10,.38) 0%, rgba(10,10,10,.18) 50%, rgba(10,10,10,.04) 100% ), url("keilukulur-category.png");
  background-size: cover;
  background-position: center;
  color: white !important;
}

.category-balls .category-number {
  position: relative;
  z-index: 2;
  color: #ef382c;
  font-weight: 900;
}

.category-balls .category-content {
  position: relative;
  z-index: 2;
  margin-top: 45px;
}

.category-balls h3 {
  margin: 0 0 10px;
  font-size: 30px;
  color: white;
}

.category-balls p {
  margin: 0 0 22px;
  max-width: 230px;
  line-height: 1.5;
}

.category-balls .category-link {
  color: #ef382c;
  font-size: 12px;
  font-weight: 900;
}


/* =========================
   KEILUKÚLUR – VÖRUSÍÐA
   ========================= */
.balls-header {
  background: #111;
  color: #fff;
  padding: 90px 8vw 80px;
}

.balls-header h1 {
  font-size: clamp(55px, 8vw, 105px);
  line-height: .9;
  letter-spacing: -.055em;
  margin: 18px 0 25px;
}

.balls-header > p:last-child {
  max-width: 650px;
  color: #bbb;
  font-size: 18px;
  line-height: 1.6;
}

.balls-shop {
  background: #fff;
  padding: 80px 8vw 110px;
  min-height: 500px;
}

.balls-shop-heading h2 {
  font-size: clamp(38px, 5vw, 65px);
  letter-spacing: -.05em;
  margin: 10px 0 45px;
}

.balls-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}


/* Farsímar */
@media (max-width: 850px) {
  .balls-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .balls-header {
    padding: 70px 22px 60px;
  }

  .balls-shop {
    padding: 60px 22px 80px;
  }

}

@media (max-width: 520px) {
  .balls-grid {
    grid-template-columns: 1fr;
  }

  .balls-header h1 {
    font-size: 52px;
  }

}


/* =========================
   VÖRUKORT – KEILUKÚLUR
   ========================= */
.product-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 35px rgba(0,0,0,.08);
}

.product-image {
  position: relative;
  height: 330px;
  background: #f4f3f0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-image img {
  width: 78%;
  height: 78%;
  object-fit: contain;
}

.product-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  background: #ef382c;
  color: #fff;
  padding: 8px 11px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
}

.product-info {
  padding: 24px;
}

.product-brand {
  display: block;
  color: #ef382c;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  margin-bottom: 8px;
}

.product-info h3 {
  margin: 0 0 12px;
  font-size: 25px;
}

.product-description {
  margin: 0 0 20px;
  color: #666;
  font-size: 14px;
  line-height: 1.55;
}

.product-details {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.product-details span {
  background: #f1f1f1;
  padding: 7px 10px;
  font-size: 11px;
  font-weight: 700;
}

.product-button {
  display: inline-block;
  color: #111;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  border-bottom: 2px solid #ef382c;
  padding-bottom: 4px;
}

.product-button:hover {
  color: #ef382c;
}

@media (max-width: 520px) {
  .product-image {
    height: 290px;
  }

}


/* TAKKI – FINNDU ÞÍNA KÚLU */
.balls-catalog-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  padding: 16px 24px;
  background: #ef382c;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  transition: transform .2s ease, background .2s ease;
}

.balls-catalog-link:hover {
  background: #fff;
  color: #111;
  transform: translateY(-2px);
}


/* =========================
   DRAUMAKÚLAN – CTA
   ========================= */
.ball-order-cta {
  background: #111;
  color: #fff;
  padding: 90px 8vw 100px;
}

.ball-order-cta h2 {
  max-width: 900px;
  margin: 16px 0 25px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: .95;
  letter-spacing: -.045em;
}

.ball-order-text {
  max-width: 600px;
  margin: 0 0 32px;
  color: #bbb;
  font-size: 17px;
  line-height: 1.65;
}

.ball-order-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 17px 25px;
  border: 2px solid #ef382c;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  transition: background .2s ease, transform .2s ease;
}

.ball-order-button:hover {
  background: #ef382c;
  transform: translateY(-2px);
}

@media (max-width: 520px) {
  .ball-order-cta {
    padding: 65px 22px 75px;
  }

}


/* KEILUSKÓR – FLOKKAR */
.shoe-category-heading {
  margin: 10px 0 28px;
  padding-bottom: 12px;
  border-bottom: 2px solid #111;
}

.shoe-category-heading h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .08em;
}


/* KEILUSKÓR – 2 VÖRUR Í RÖÐ */
.shoe-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
}

@media (max-width: 700px) {
  .shoe-grid {
    grid-template-columns: 1fr;
  }

}


/* KEILUSKÓR – 2 Í HVERJUM DÁLK */
.balls-shop .shoe-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 24px;
  width: 100%;
}

@media (max-width: 700px) {
  .balls-shop .shoe-grid {
    grid-template-columns: 1fr !important;
  }

}


/* KEILUSKÓR – MYND Á FORSÍÐU */
.cats .category-shoes {
  background-image: linear-gradient(rgba(0,0,0,.25), rgba(0,0,0,.72)), url("keiluskor-category.png") !important;
  background-size: cover !important;
  background-position: 65% center !important;
  background-repeat: no-repeat !important;
  color: #fff;
}

.category-shoes .category-number {
  color: #ef382c;
}

.category-shoes .category-content p {
  color: #fff;
}

.category-shoes .category-link {
  color: #ef382c;
}


/* KEILUSKÓR – FLOKKATAKKAR */
.shoe-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: -15px 0 55px;
}

.shoe-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  padding: 15px 22px;
  border: 2px solid #111;
  color: #111;
  background: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .07em;
  transition: .2s ease;
}

.shoe-nav a:hover {
  background: #111;
  color: #fff;
}

.shoe-nav a:last-child {
  border-color: #ef382c;
  color: #ef382c;
}

.shoe-nav a:last-child:hover {
  background: #ef382c;
  color: #fff;
}

html {
  scroll-behavior: smooth;
}

@media (max-width: 520px) {
  .shoe-nav {
    display: grid;
    grid-template-columns: 1fr;
  }

  .shoe-nav a {
    width: 100%;
  }

}


/* MYNDAKORT Á FORSÍÐU */
.category-balls,
.category-shoes {
  position: relative;
  color: #fff;
}

.category-balls::before,
.category-shoes::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.42);
  z-index: 0;
}

.category-balls > *,
.category-shoes > * {
  position: relative;
  z-index: 1;
}

.category-balls .category-content,
.category-shoes .category-content {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 22px;
}

.category-balls .category-content h3,
.category-shoes .category-content h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 30px;
  line-height: 1;
}

.category-balls .category-content p,
.category-shoes .category-content p {
  margin: 0 0 18px;
  color: #fff;
  font-size: 16px;
  line-height: 1.45;
}

.category-balls .category-link,
.category-shoes .category-link {
  color: #ef382c;
  font-size: 12px;
  font-weight: 900;
}


/* FORSÍÐA – KEILUKÚLUR + KEILUSKÓR SAMRÆMD KORT */
.cats .category-balls,
.cats .category-shoes {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  color: #fff !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

.cats .category-balls {
  background-image: linear-gradient( 90deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.03) 45%, rgba(0,0,0,0) 100% ), url("keilukulur-category.png") !important;
  background-position: center !important;
}

.cats .category-shoes {
  background-image: linear-gradient( 90deg, rgba(0,0,0,.10) 0%, rgba(0,0,0,.02) 45%, rgba(0,0,0,0) 100% ), url("keiluskor-category.png") !important;
  background-position: 65% center !important;
}

.cats .category-balls .category-number,
.cats .category-shoes .category-number {
  position: relative;
  z-index: 2;
  color: #ef382c !important;
  font-weight: 900;
}

.cats .category-balls .category-content,
.cats .category-shoes .category-content {
  position: relative;
  z-index: 2;
  margin-top: 45px;
}

.cats .category-balls h3,
.cats .category-shoes h3 {
  margin: 0 0 12px;
  color: #fff !important;
  font-size: 30px;
  line-height: 1;
}

.cats .category-balls p,
.cats .category-shoes p {
  margin: 0 0 20px;
  color: #fff !important;
  font-size: 16px;
  line-height: 1.45;
}

.cats .category-balls .category-link,
.cats .category-shoes .category-link {
  display: inline-block;
  width: fit-content;
  background: #ef382c;
  color: #fff !important;
  padding: 11px 15px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  line-height: 1;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}

.cats .category-balls:hover .category-link,
.cats .category-shoes:hover .category-link {
  background: #d92b20;
  transform: translateY(-2px);
}


/* FORSÍÐA – KEILUTÖSKUR */
.cats .category-bags {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  color: #fff !important;
  background-image: linear-gradient( 90deg, rgba(0,0,0,.20) 0%, rgba(0,0,0,.08) 45%, rgba(0,0,0,.01) 100% ), url("keilutoskur-category.png") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.cats .category-bags .category-number {
  position: relative;
  z-index: 2;
  color: #ef382c !important;
  font-weight: 900;
}

.cats .category-bags .category-content {
  position: relative;
  z-index: 2;
  margin-top: 23px;
}

.cats .category-bags h3 {
  margin: 0 0 12px;
  color: #fff !important;
  font-size: 30px;
  line-height: 1;
}

.cats .category-bags p {
  margin: 0 0 20px;
  color: #fff !important;
  font-size: 16px;
  line-height: 1.45;
}

.cats .category-bags .category-link {
  display: inline-block;
  width: fit-content;
  background: #ef382c;
  color: #fff !important;
  padding: 11px 15px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  line-height: 1;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}

.cats .category-bags:hover .category-link {
  background: #d92b20;
  transform: translateY(-2px);
}


/* FORSÍÐA – FYLGIHLUTIR */
.cats .category-accessories {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  color: #fff !important;
  background-image: linear-gradient( 90deg, rgba(0,0,0,.20) 0%, rgba(0,0,0,.08) 45%, rgba(0,0,0,.01) 100% ), url("fylgihlutir-category.png") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.cats .category-accessories .category-number {
  position: relative;
  z-index: 2;
  color: #ef382c !important;
  font-weight: 900;
}

.cats .category-accessories .category-content {
  position: relative;
  z-index: 2;
  margin-top: 23px;
}

.cats .category-accessories h3 {
  margin: 0 0 12px;
  color: #fff !important;
  font-size: 30px;
  line-height: 1;
}

.cats .category-accessories p {
  margin: 0 0 20px;
  color: #fff !important;
  font-size: 16px;
  line-height: 1.45;
}

.cats .category-accessories .category-link {
  display: inline-block;
  width: fit-content;
  background: #ef382c;
  color: #fff !important;
  padding: 11px 15px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  line-height: 1;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}

.cats .category-accessories:hover .category-link {
  background: #d92b20;
  transform: translateY(-2px);
}


/* =========================
   UM OKKUR
========================= */
.about-hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 620px;
  background: #111;
  color: #fff;
}

.about-hero-text {
  padding: 90px 7vw 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-hero-text h1 {
  margin: 15px 0 28px;
  font-size: clamp(54px, 6.5vw, 92px);
  line-height: .95;
  letter-spacing: -.05em;
}

.about-lead {
  max-width: 620px;
  margin: 0;
  color: #bbb;
  font-size: 18px;
  line-height: 1.65;
}

.about-hero-image {
  min-height: 620px;
  overflow: hidden;
}

.about-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}


/* SAGA HAFÞÓRS */
.about-story {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 80px;
  padding: 100px 8vw;
  background: #fff;
}

.about-story-title h2 {
  margin: 10px 0 0;
  font-size: clamp(42px, 5vw, 68px);
  line-height: .98;
  letter-spacing: -.045em;
}

.about-story-text {
  max-width: 720px;
}

.about-story-text p {
  margin: 0 0 24px;
  color: #555;
  font-size: 17px;
  line-height: 1.75;
}

.about-story-text strong {
  color: #111;
}


/* AFREK */
.about-achievements {
  background: #111;
  color: #fff;
  padding: 90px 8vw 80px;
}

.achievement-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 42px;
}

.achievement {
  border-top: 2px solid #ef382c;
  padding-top: 22px;
}

.achievement strong {
  display: block;
  margin-bottom: 12px;
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -.04em;
}

.achievement span {
  color: #ccc;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 700;
}

.achievement-note {
  margin: 35px 0 0;
  color: #777;
  font-size: 12px;
}


/* FJÖLSKYLDUFYRIRTÆKI */
.family-business {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 80px;
  padding: 100px 8vw;
  background: #f4f3f0;
}

.family-business h2 {
  margin: 10px 0 0;
  font-size: clamp(42px, 5vw, 68px);
  line-height: .98;
  letter-spacing: -.045em;
}

.family-text {
  max-width: 720px;
}

.family-text p {
  margin: 0 0 24px;
  color: #555;
  font-size: 17px;
  line-height: 1.75;
}


/* RESPONSIVE */
@media (max-width: 900px) {
  .about-hero {
    grid-template-columns: 1fr;
  }

  .about-hero-text {
    padding: 70px 22px 55px;
  }

  .about-hero-image {
    min-height: 480px;
  }

  .about-story,
  .family-business {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 70px 22px;
  }

  .achievement-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-achievements {
    padding: 70px 22px;
  }

}

@media (max-width: 520px) {
  .about-hero-text h1 {
    font-size: 50px;
  }

  .about-hero-image {
    min-height: 390px;
  }

  .achievement-grid {
    grid-template-columns: 1fr;
  }

  .achievement {
    padding-bottom: 18px;
  }

}


/* UM OKKUR – HEADER LOGO FIX */
.about-hero + * {
  position: relative;
}

header .brand {
  display: block;
  width: 205px;
  flex-shrink: 0;
}

header .brand img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 205px;
}


/* UM OKKUR – HERO MEÐ TEXTA YFIR MYND */
.about-hero {
  position: relative;
  min-height: 690px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-image: url("hafthor-hardarson.png");
  background-size: cover;
  background-position: 15% 15%;
  background-repeat: no-repeat;
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient( 90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.72) 36%, rgba(0,0,0,.30) 62%, rgba(0,0,0,.08) 100% );
}

.about-hero-content {
  position: relative;
  z-index: 2;
  width: min(650px, 48vw);
  margin-left: 7vw;
  padding: 90px 0;
  color: #fff;
}

.about-hero-content h1 {
  margin: 16px 0 28px;
  font-size: clamp(48px, 5.6vw, 82px);
  line-height: .96;
  letter-spacing: -.045em;
}

.about-hero-content h1 span {
  color: #ef382c;
}

.about-lead {
  max-width: 520px;
  margin: 0;
  color: #ddd;
  font-size: 18px;
  line-height: 1.65;
}


/* SÍMI */
@media (max-width: 800px) {
  .about-hero {
    min-height: 620px;
    background-position: 62% center;
  }

  .about-hero-overlay {
    background: linear-gradient( 90deg, rgba(0,0,0,.90) 0%, rgba(0,0,0,.72) 62%, rgba(0,0,0,.25) 100% );
  }

  .about-hero-content {
    width: auto;
    margin: 0;
    padding: 70px 22px;
  }

  .about-hero-content h1 {
    font-size: 48px;
  }

}


/* =========================
   FORSÍÐA – UM OKKUR
========================= */
.home-about {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  min-height: 520px;
  background: #111;
  color: #fff;
}

.home-about-image {
  position: relative;
  min-height: 520px;
  overflow: hidden;
}

.home-about-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}


/* Létt dökkt overlay yfir myndina */
.home-about-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient( 90deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.02) 60%, rgba(0,0,0,.35) 100% );
}

.home-about-content {
  padding: 75px 7vw 75px 6vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-about-content h2 {
  margin: 12px 0 25px;
  font-size: clamp(48px, 5vw, 72px);
  line-height: .95;
  letter-spacing: -.045em;
}

.home-about-content > p:not(.eyebrow) {
  max-width: 560px;
  margin: 0 0 32px;
  color: #c8c8c8;
  font-size: 17px;
  line-height: 1.65;
}

.home-about-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 16px 21px;
  background: #ef382c;
  color: #fff !important;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .07em;
  transition: transform .2s ease, background .2s ease;
}

.home-about-button:hover {
  background: #d92b20;
  transform: translateY(-2px);
}


/* SÍMI */
@media (max-width: 800px) {
  .home-about {
    grid-template-columns: 1fr;
  }

  .home-about-image {
    min-height: 350px;
  }

  .home-about-content {
    padding: 60px 22px 65px;
  }

  .home-about-content h2 {
    font-size: 50px;
  }

}


/* UM OKKUR – MIÐJA HAFÞÓR TITIL */
.about-story-title {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  height: 100% !important;
}

.about-story-title .eyebrow {
  text-align: center !important;
  width: 100%;
  margin-bottom: 18px;
}

.about-story-title h2 {
  margin: 0 !important;
  text-align: center !important;
  width: 100%;
}


/* Vörutenglar faldir þar til verslunin er tilbúin */
.product-button, .product-link {
  display: none !important;
}
/* Forsíða – mynd hægra megin í hausnum */
.hero {
  min-height: 440px;
  background-image:
    linear-gradient(90deg, #111 34%, rgb(17 17 17 / 55%) 58%, transparent 85%),
    url("./keilusjoppan-hero.png") !important;
  background-size: cover, auto 100%;
  background-position: center, right center;
  background-repeat: no-repeat;
}

@media (max-width: 700px) {
  .hero {
    min-height: 0;
    background-image:
      linear-gradient(90deg, rgb(17 17 17 / 95%), rgb(17 17 17 / 72%)),
      url("./keilusjoppan-hero.png") !important;
    background-size: cover;
    background-position: center, 68% center;
  }
}
/* Forsíða – léttari skygging yfir kúlum og skóm */
.cats .category-balls::before,
.cats .category-shoes::before {
  background: rgba(0, 0, 0, .18);
}
/* Sama lógóstærð í hausnum á öllum síðum */
header .logo img {
  display: block;
  width: 190px !important;
  height: auto;
}

@media (max-width: 700px) {
  header .logo img {
    width: 150px !important;
  }
}
/* Forsíða – slaufa í gjafabréfakaflanum */
@media (min-width: 901px) {
  #gjafabref.gift-home {
    background-color: #111;
    background-image:
      linear-gradient(to right, #111 52%, transparent 75%),
      url("./gjafabref-slaufa.png");
    background-repeat: no-repeat;
    background-position: center, right 8% center;
    background-size: cover, clamp(240px, 30vw, 400px) auto;
  }

  #gjafabref.gift-home h2,
  #gjafabref.gift-home .ball-order-text {
    max-width: 54%;
  }
}
