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

body {
  width: 100%;
  height: 100%;
  font-family: "EB Garamond";
  background: #f8f7f3;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

header {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  row-gap: 15px;
}

header div {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.border-b {
  width: 100%;
  height: 2px;
  background: black;
}

.logo a {
  color: black;
  font-weight: 500;
  font-size: 28px;
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav a {
  color: black;
  font-size: 20px;
  font-weight: 400;
}

/* hero Section */
.hero-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-inline: 30px;
  row-gap: 30px;
  margin-bottom: 30px;
}

.hero-inner-top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.branding-text h1 {
  font-weight: 800;
  /* font-size: 158px; */
  font-size: 108px;
  color: black;
}

.tagline {
  display: flex;
  align-items: center;
  gap: 20px;
  color: black;
  font-size: 20px;
}

.tagline span.dot {
  font-size: 15px;
  color: #000;
}

.hero-qualities h5 {
  font-size: 32px;
  font-weight: 400;
  color: black;
  text-align: end;
}

/* Since Section  */
.since-section {
  /* margin-top: 70px; */
  padding: 100px 30px;
  position: relative;
}

.since-inner {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}

/* ─── LEFT image ─── */
.since-img-left img {
  width: 100%;
  height: 845px;
  object-fit: cover;
  display: block;
}

/* ─── text  ─── */
.since-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-left: 64px;
  padding-top: 10px;
  position: relative;
}

.since-text {
  padding-bottom: 32px;
}

.since-text h2 {
  font-size: 68px;
  font-weight: 800;
  color: black;
  margin-bottom: 24px;
}

.since-text p {
  font-size: 20px;
  line-height: 2;
  color: black;
  margin-bottom: 18px;
}

.since-text p:last-of-type {
  margin-bottom: 28px;
}

/* button */
.know-more {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: #1a1a1a;
  text-decoration: none;
  position: relative;
  padding-bottom: 5px;
}

.know-more::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 15%;
  height: 1.5px;
  background-color: #1a1a1a;
}

/* ─── bottom image ─── */
.since-img-bottom {
  position: absolute;
  bottom: -15%;
  right: 2%;
  z-index: 2;
}

.since-img-bottom img {
  width: 710px;
  height: 396px;
  object-fit: cover;
  display: block;
}

/* Collection Section */
.collections {
  margin: 0 auto;
  padding: 100px 30px;
  position: relative;
}

h2 {
  font-size: 68px;
  font-weight: 800;
  text-align: center;
  color: black;
  margin-bottom: 36px;
}

/* A.M watermark */
.watermark {
  font-size: 300px;
  font-weight: 800;
  color: #00000029;
  letter-spacing: -6px;
  pointer-events: none;
  user-select: none;
  line-height: 1;
  position: absolute;
  left: -60px;
  bottom: 20%;
}

.label {
  font-size: 32px;
  font-weight: 400;
  color: black;
  display: block;
}

img {
  /* display: block; */
  object-fit: cover;
}

/* ── Row 1 ── */
.row1 {
  display: flex;
  align-items: flex-end;
  margin-bottom: 30px;
  gap: 20px;
}

.row1 img {
  width: 868px;
  height: 488px;
}

/* ── Row 2  ── */
.row2 {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 30px;
  position: relative;
  gap: 20px;
}

.row2 img {
  width: 743px;
  height: 557px;
  /* margin-left: auto; */
}

/* ── Row 3: img left, label bottom-right ── */
.row3 {
  display: flex;
  align-items: flex-end;
  gap: 20px;
}

.row3 img {
  width: 527px;
  height: 527px;
}

.row3 .label {
  padding-left: 10px;
  padding-bottom: 4px;
}

/* ── Row 4: ── */
.row4 {
  margin-top: -7vw;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 20px;
}

.row4 img {
  width: 600px;
  height: 600px;
}

/* intro Video section */
.intro-video-section {
  width: 100%;
}

.intro-video-section img {
  width: 100%;
}

/* Carousel Section */
.section {
  padding: 100px 30px;
  text-align: center;
}

h2 {
  font-size: 158px;
  font-weight: 800;
  color: #000;
  margin-bottom: 52px;
}

/* ── CAROUSEL TRACK ── */
.carousel-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.track {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 54px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  /* padding: 20px 0 30px; */
}

/* ── RUG CARDS ── */
.rug {
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
  transition:
    transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    /* box-shadow 0.5s ease, */ opacity 0.5s ease;
  cursor: pointer;
  /* background: #e8e0d0; */
}

.rug img {
  display: block;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* Sizes by position */
.rug.pos-center {
  width: 365px;
  height: 535px;
  transform: scale(1);
  /* box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22); */
  z-index: 5;
  opacity: 1;
}

.rug.pos-side1 {
  width: 220px;
  height: 327px;
  transform: scale(1);
  /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.13); */
  z-index: 4;
  opacity: 1;
}

.rug.pos-side2 {
  width: 150px;
  height: 221px;
  transform: scale(1);
  /* box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1); */
  z-index: 3;
  opacity: 0.85;
  margin-bottom: 200px;
}

/* ── ARROWS ── */
.arrows {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.arrow {
  border: none;
  background: none;
}

.arrow svg {
  width: 30px;
  height: 30px;
  cursor: pointer;
}

#prev {
  rotate: 180deg;
  margin-bottom: 9px;
}

/* Footer */
footer {
  width: 100%;
  padding: 10px 30px;
}

.footer-main {
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 28px;
}

/* Left */
.footer-left h1 {
  font-size: 78px;
  font-weight: 500;
  color: #000;
  margin-bottom: 18px;
  line-height: 1;
}

.footer-nav {
  display: flex;
  gap: 28px;
  list-style: none;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 20px;
  color: #000;
  text-decoration: none;
}

.footer-nav a.active {
  font-weight: 700;
}

.footer-nav a:hover {
  text-decoration: underline;
}

/* Right */
.footer-right {
  min-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-right p {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #000;
}

.subscribe {
  display: flex;
  align-items: center;
  border-bottom: 2px solid #000;
  padding-bottom: 15px;
}

.subscribe input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: "EB Garamond";
  font-size: 20px;
  color: #000;
  padding: 0;
}

.subscribe input::placeholder {
  color: #000;
  font-size: 20px;
}

.subscribe button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 0 0 10px;
  color: #000;
  display: flex;
  align-items: center;
}

.subscribe button svg {
  width: 17px;
  height: 17px;
}

.social-icons {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  transition: background 0.2s;
}

.social-icons svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid #c8c0b0;
  text-align: center;
  font-size: 20px;
  color: #000;
  padding: 20px 0 0 0;
}

@media (max-width: 1280px) {
  .branding-text h1 {
    /* font-size: 110px; */
    font-size: 76px;
  }

  .hero-qualities h5 {
    font-size: 26px;
  }

  .since-text h2 {
    font-size: 52px;
  }

  .since-img-left img {
    height: 640px;
  }

  .since-img-bottom img {
    width: 520px;
    height: 290px;
  }

  .row1 img {
    width: 640px;
    height: 360px;
  }

  .row2 img {
    width: 560px;
    height: 420px;
  }

  .row3 img {
    width: 400px;
    height: 400px;
  }

  .row4 img {
    width: 460px;
    height: 460px;
  }

  .watermark {
    font-size: 220px;
  }

  .rug.pos-center {
    width: 290px;
    height: 425px;
  }

  .rug.pos-side1 {
    width: 175px;
    height: 260px;
  }

  .rug.pos-side2 {
    width: 118px;
    height: 175px;
  }

  .footer-left h1 {
    font-size: 58px;
  }

  .footer-right {
    min-width: 380px;
  }

  h2 {
    font-size: 110px;
  }
}

/* ── 1024px: tablet landscape ── */
@media (max-width: 1024px) {
  /* Header */
  header {
    padding: 16px 20px;
  }

  .logo a {
    font-size: 22px;
  }

  nav a {
    font-size: 16px;
  }

  nav {
    gap: 20px;
  }

  /* Hero */
  .hero-section {
    padding-inline: 20px;
  }

  .branding-text h1 {
    font-size: 76px;
  }

  .tagline {
    font-size: 15px;
    gap: 12px;
  }

  .hero-qualities h5 {
    font-size: 20px;
  }

  /* Since */
  .since-section {
    padding: 60px 20px;
  }

  .since-img-left img {
    height: 500px;
  }

  .since-text h2 {
    font-size: 42px;
  }

  .since-text p {
    font-size: 17px;
  }

  .since-img-bottom {
    bottom: -60px;
    right: 10px;
  }

  .since-img-bottom img {
    width: 380px;
    height: 214px;
  }

  /* Collections */
  .collections {
    padding: 60px 20px;
  }

  h2 {
    font-size: 68px;
  }

  .label {
    font-size: 24px;
  }

  .watermark {
    font-size: 160px;
    left: -20px;
  }

  .row1 img {
    width: 460px;
    height: 260px;
  }

  .row2 img {
    width: 420px;
    height: 315px;
  }

  .row3 img {
    width: 300px;
    height: 300px;
  }

  .row4 img {
    width: 340px;
    height: 340px;
  }

  .row4 {
    margin-top: -5vw;
  }

  /* Carousel */
  .section {
    padding: 60px 20px;
  }

  .rug.pos-center {
    width: 220px;
    height: 320px;
  }

  .rug.pos-side1 {
    width: 135px;
    height: 200px;
  }

  .rug.pos-side2 {
    width: 90px;
    height: 134px;
    margin-bottom: 140px;
  }

  .track {
    gap: 32px;
  }

  /* Footer */
  .footer-left h1 {
    font-size: 46px;
  }

  .footer-right {
    min-width: 300px;
  }

  .footer-right p {
    font-size: 18px;
  }
}

/* ── 768px: tablet portrait — stack major sections ── */
@media (max-width: 768px) {
  /* Header — stack logo over nav */
  header div {
    flex-wrap: wrap;
    gap: 12px;
  }

  nav {
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
  }

  nav a {
    font-size: 15px;
  }

  .logo a {
    font-size: 20px;
  }

  /* Hero */
  .hero-inner-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .branding-text h1 {
    /* font-size: 52px; */
    font-size: 42px;
  }

  .tagline {
    font-size: 13px;
    gap: 8px;
    flex-wrap: wrap;
  }

  .hero-qualities h5 {
    font-size: 18px;
    text-align: left;
  }

  /* Since — stack vertically */
  .since-section {
    padding: 48px 20px 160px;
  }

  .since-inner {
    flex-direction: column;
  }

  .since-img-left {
    width: 100%;
  }

  .since-img-left img {
    height: 300px;
    width: 100%;
  }

  .since-right {
    padding-left: 0;
    padding-top: 28px;
  }

  .since-text h2 {
    font-size: 36px;
  }

  .since-text p {
    font-size: 16px;
  }

  .since-img-bottom {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 24px;
    width: 100%;
  }

  .since-img-bottom img {
    width: 100%;
    height: 220px;
  }

  /* Collections — stack each row */
  .collections {
    padding: 48px 20px;
  }

  h2 {
    font-size: 42px;
    margin-bottom: 24px;
  }

  .label {
    font-size: 20px;
  }

  .watermark {
    display: none;
  }

  .row1,
  .row2,
  .row3,
  .row4 {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 16px;
    gap: 8px;
  }

  .row2 {
    justify-content: flex-start;
  }

  .row4 {
    justify-content: flex-start;
    margin-top: 0;
  }

  .row1 img,
  .row2 img,
  .row3 img,
  .row4 img {
    width: 100%;
    height: 260px;
  }

  /* Carousel */
  .section {
    padding: 48px 16px;
  }

  .rug.pos-center {
    width: 160px;
    height: 235px;
  }

  .rug.pos-side1 {
    width: 100px;
    height: 148px;
  }

  .rug.pos-side2 {
    width: 68px;
    height: 100px;
    margin-bottom: 100px;
  }

  .track {
    gap: 18px;
  }

  /* Footer */
  .footer-main {
    flex-direction: column;
    gap: 28px;
  }

  .footer-left h1 {
    font-size: 38px;
  }

  .footer-right {
    min-width: unset;
    width: 100%;
  }

  .footer-right p {
    font-size: 16px;
    margin-bottom: 6px;
  }

  .social-icons {
    justify-content: flex-start;
  }

  .footer-bottom {
    font-size: 14px;
  }
}

/* ── 480px: mobile ── */
@media (max-width: 480px) {
  /* Header */
  header {
    padding: 14px 16px;
    row-gap: 10px;
  }

  header div {
    justify-content: center;
  }

  nav {
    gap: 10px;
  }

  nav a {
    font-size: 13px;
  }

  .logo a {
    font-size: 18px;
  }

  /* Hero */
  .hero-section {
    padding-inline: 16px;
    row-gap: 16px;
  }

  .branding-text h1 {
    font-size: 36px;
  }

  .tagline {
    font-size: 12px;
    gap: 6px;
  }

  .hero-qualities h5 {
    font-size: 15px;
  }

  /* Since */
  .since-section {
    padding: 32px 16px 120px;
  }

  .since-img-left img {
    height: 240px;
  }

  .since-text h2 {
    font-size: 28px;
  }

  .since-text p {
    font-size: 15px;
    line-height: 1.7;
  }

  .since-img-bottom img {
    height: 180px;
  }

  /* Collections */
  .collections {
    padding: 32px 16px;
  }

  h2 {
    font-size: 30px;
  }

  .label {
    font-size: 16px;
  }

  .row1 img,
  .row2 img,
  .row3 img,
  .row4 img {
    height: 200px;
  }

  /* Carousel — show only center + 1 side each */
  .rug.pos-center {
    width: 130px;
    height: 190px;
  }

  .rug.pos-side1 {
    width: 80px;
    height: 118px;
  }

  .rug.pos-side2 {
    display: none;
  }

  .track {
    gap: 12px;
  }

  /* Footer */
  footer {
    padding: 10px 16px;
  }

  .footer-left h1 {
    font-size: 28px;
  }

  .footer-nav {
    gap: 14px;
  }

  .footer-nav a {
    font-size: 14px;
  }

  .subscribe input,
  .subscribe input::placeholder {
    font-size: 14px;
  }

  .footer-bottom {
    font-size: 12px;
  }
}

/* Starting Here */
.logo img {
  max-width: 100%;
  width: 200px;
  height: auto;
}

@media (max-width: 768px) {
  .home-collections-rows.row2 {
    justify-content: flex-start;
    flex-direction: column-reverse;
  }
}

@media (max-width: 768px) {
  .home-collections-rows.row4 {
    justify-content: flex-start;
    margin-top: 0;
    flex-direction: column-reverse;
  }
}

@media (max-width: 768px) {
  .home-collections-rows.row3 .label {
    padding-left: 0px;
  }
}

.ff-default {
  font-family: inherit;
  width: 50%;
}

@media (max-width: 768px) {
  .ff-default {
    font-family: inherit;
    width: 100%;
  }
}

form.fluent_form_3 .ff-btn-submit:not(.ff_btn_no_style),
button.ff-btn.ff-btn-submit.ff-btn-md.ff_btn_style {
  background-color: #000 !important;
  color: #ffffff;
  border-radius: 100px;
  font-family: "EB Garamond";
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  line-height: 30px;
  text-transform: uppercase;
  color: #ffffff;
  padding-left: 30px;
  padding-right: 30px;
  border: none;
}

.fluentform.ff-default.fluentform_wrapper_2.ffs_default_wrap {
  width: 100%;
}

.fluentform.ff-default.fluentform_wrapper_2.ffs_default_wrap
  button.ff-btn.ff-btn-submit.ff-btn-md.ff_btn_style.wpf_has_custom_css {
  padding-left: initial;
  padding-right: initial;
}

.fluentform.ff-default.fluentform_wrapper_2.ffs_default_wrap
  .ff-t-cell.ff-t-column-2 {
  width: 150px;
}

.ff-el-input--content {
  display: flex;
}

.fluentform .ff-el-form-check {
  margin-bottom: 5px;
  margin-top: 5px;
  width: 100px;
}

@media (max-width: 425px) {
  .ff-t-container.ff-column-container.ff_columns_total_2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .ff-t-container.ff-column-container.ff_columns_total_2
    .ff-t-cell.ff-t-column-2 {
    align-self: center;
  }
}

.catalog-filter-container {
  text-align: center;
  margin: 0 0 20px 0;
}

.catalog-filter-container #collection-filter {
  width: 250px;
  border: 1px solid #e1e0dc;
  border-radius: 100px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url(https://abdomostafa.com/wp-content/uploads/2026/08/arrow.png);
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 20px;
  padding: 10px 30px 10px 16px;
}
