* {
  margin: 0;

  padding: 0;

  box-sizing: border-box;
}

:root {
  --black: #050403;

  --dark: #090705;

  --dark-soft: #100c09;

  --dark-card: #17100b;

  --wood-dark: #1c120c;

  --wood: #302015;

  --wood-light: #4c3020;

  --gold: #b47f46;

  --gold-light: #d0a06b;

  --white: #f5eee7;

  --gray: #a79a8d;

  --border-dark: rgba(208, 160, 106, 0.15);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);

  color: var(--white);

  font-family: "Tajawal", sans-serif;

  font-weight: 500;

  overflow-x: hidden;
}

img {
  width: 100%;

  height: 100%;

  display: block;

  object-fit: cover;
}

a {
  color: inherit;

  text-decoration: none;
}

button,
input,
select {
  font-family: inherit;
}

button,
select {
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  font-weight: 800;
}

h1 span,
h2 span {
  color: var(--gold-light);

  font-weight: 700;
}

.section-label {
  display: block;

  margin-bottom: 22px;

  color: var(--gold-light);

  font-size: 12px;

  font-weight: 700;

  letter-spacing: 3px;

  text-transform: uppercase;
}

/* Header */

.main-header {
  position: absolute;

  top: 0;

  left: 0;

  z-index: 100;

  width: 100%;

  min-height: 100px;

  padding: 0 5vw;

  display: grid;

  grid-template-columns: 220px 1fr 220px;

  align-items: center;

  background: linear-gradient(
    to bottom,

    rgba(4, 3, 2, 0.99),
    rgba(8, 5, 3, 0.9),
    rgba(8, 5, 3, 0.12)
  );

  border-bottom: 1px solid var(--border-dark);
}

.logo {
  width: max-content;

  display: flex;

  flex-direction: column;

  align-items: center;

  line-height: 1;
}

.logo span {
  font-size: 34px;

  font-weight: 900;

  letter-spacing: 5px;
}

.logo small {
  margin-top: 8px;

  color: var(--gold-light);

  font-size: 8px;

  font-weight: 700;

  letter-spacing: 4px;
}

.main-nav {
  display: flex;

  align-items: center;

  justify-content: center;

  gap: 30px;
}

.main-nav a {
  position: relative;

  color: #f1e7dd;

  font-size: 10px;

  font-weight: 700;

  letter-spacing: 0.8px;

  text-transform: uppercase;
}

.main-nav a::after {
  content: "";

  position: absolute;

  left: 0;

  bottom: -10px;

  width: 0;

  height: 1px;

  background: var(--gold-light);

  transition: 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.header-actions {
  display: flex;

  align-items: center;

  justify-content: flex-end;

  gap: 12px;
}

.header-actions button {
  position: relative;

  width: 40px;

  height: 40px;

  border: 0;

  background: transparent;

  color: var(--white);

  font-size: 15px;
}

.cart-button span {
  position: absolute;

  right: 0;

  top: 0;

  width: 17px;

  height: 17px;

  display: grid;

  place-items: center;

  border-radius: 50%;

  background: var(--gold);

  color: var(--black);

  font-size: 8px;

  font-weight: 800;
}

.menu-button {
  display: none;

  justify-self: end;

  border: 0;

  background: transparent;

  color: var(--white);

  font-size: 23px;
}

/* Buttons */

.primary-button {
  min-width: 235px;

  min-height: 58px;

  padding: 0 24px;

  display: inline-flex;

  align-items: center;

  justify-content: space-between;

  gap: 25px;

  background: var(--gold);

  border: 1px solid var(--gold);

  color: var(--black);

  font-size: 11px;

  font-weight: 800;

  letter-spacing: 1px;

  text-transform: uppercase;

  transition: 0.3s ease;
}

.primary-button:hover {
  background: transparent;

  color: var(--gold-light);
}

/* Shop Hero */

.shop-hero {
  position: relative;

  min-height: 800px;

  display: flex;

  align-items: center;

  background: url("https://images.unsplash.com/photo-1600566753190-17f0baa2a6c3?auto=format&fit=crop&w=2200&q=95")
    center / cover no-repeat;
}

.shop-hero-overlay {
  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(3, 2, 1, 0.97),
      rgba(8, 5, 3, 0.82) 45%,

      rgba(8, 5, 3, 0.24) 80%
    ),
    linear-gradient(
      to top,

      rgba(3, 2, 1, 0.92),
      transparent 50%
    );
}

.shop-hero-content {
  position: relative;

  z-index: 2;

  width: min(850px, 62vw);

  margin-left: 7vw;

  padding-top: 70px;
}

.breadcrumb {
  margin-bottom: 45px;

  display: flex;

  align-items: center;

  gap: 12px;

  color: #9e9185;

  font-size: 10px;

  font-weight: 700;

  text-transform: uppercase;
}

.breadcrumb strong {
  color: var(--gold-light);
}

.shop-hero h1 {
  max-width: 850px;

  font-size: clamp(68px, 7.5vw, 120px);

  line-height: 0.93;

  letter-spacing: -6px;
}

.shop-hero h1 span {
  display: block;
}

.shop-hero-content > p {
  max-width: 620px;

  margin-top: 32px;

  color: #d2c7bb;

  font-size: 15px;

  line-height: 1.9;
}

.hero-categories {
  position: absolute;

  z-index: 3;

  left: 5vw;

  right: 5vw;

  bottom: 0;

  display: grid;

  grid-template-columns: repeat(4, 1fr);

  background: rgba(7, 5, 3, 0.9);

  border: 1px solid var(--border-dark);

  backdrop-filter: blur(14px);
}

.hero-category {
  min-height: 105px;

  padding: 25px 28px;

  display: flex;

  flex-direction: column;

  justify-content: center;

  gap: 8px;

  border-right: 1px solid var(--border-dark);

  transition: 0.3s ease;
}

.hero-category:last-child {
  border-right: 0;
}

.hero-category span {
  color: var(--gold-light);

  font-size: 9px;

  font-weight: 800;
}

.hero-category strong {
  font-size: 15px;
}

.hero-category:hover,
.hero-category.active {
  background: linear-gradient(145deg, #392418, #15100b);
}

/* Categories */

.featured-categories {
  padding: 120px 5vw;

  background:
    radial-gradient(
      circle at 10% 20%,

      rgba(76, 48, 32, 0.18),
      transparent 30%
    ),
    var(--dark);
}

.section-heading {
  max-width: 900px;

  margin-bottom: 55px;
}

.section-heading h2 {
  font-size: clamp(52px, 5.5vw, 86px);

  line-height: 1;

  letter-spacing: -4px;
}

.category-grid {
  display: grid;

  grid-template-columns: 1.25fr 0.75fr;

  grid-template-rows: repeat(2, 340px);

  gap: 12px;
}

.category-card {
  position: relative;

  overflow: hidden;
}

.large-category {
  grid-row: span 2;
}

.category-card img {
  transition: transform 0.7s ease;
}

.category-card:hover img {
  transform: scale(1.06);
}

.category-overlay {
  position: absolute;

  inset: 0;

  background: linear-gradient(
    to top,

    rgba(0, 0, 0, 0.94),
    transparent 65%
  );
}

.category-content {
  position: absolute;

  z-index: 2;

  left: 32px;

  right: 32px;

  bottom: 32px;
}

.category-content > span {
  color: var(--gold-light);

  font-size: 9px;

  font-weight: 800;

  letter-spacing: 2px;

  text-transform: uppercase;
}

.category-content h3 {
  margin: 10px 0;

  font-size: clamp(28px, 3vw, 44px);
}

.category-content p {
  max-width: 500px;

  margin-bottom: 18px;

  color: #c5b9ad;

  font-size: 12px;

  line-height: 1.8;
}

.category-link {
  display: inline-flex;

  align-items: center;

  gap: 14px;

  color: var(--gold-light);

  font-size: 10px;

  font-weight: 800;

  text-transform: uppercase;
}

/* Shop */

.shop-section {
  padding: 110px 5vw 120px;

  background: var(--black);
}

.shop-topbar {
  margin-bottom: 55px;

  display: flex;

  align-items: flex-end;

  justify-content: space-between;

  gap: 30px;
}

.shop-title h2 {
  font-size: clamp(45px, 4.8vw, 72px);

  line-height: 1;

  letter-spacing: -3px;
}

.shop-title p {
  margin-top: 13px;

  color: var(--gray);

  font-size: 11px;
}

.shop-controls {
  display: flex;

  align-items: center;

  gap: 14px;
}

.filter-toggle {
  min-height: 46px;

  padding: 0 18px;

  display: flex;

  align-items: center;

  gap: 10px;

  border: 1px solid var(--border-dark);

  background: var(--dark-card);

  color: var(--white);

  font-size: 10px;

  font-weight: 700;

  text-transform: uppercase;
}

.sort-box {
  min-height: 46px;

  padding-left: 16px;

  display: flex;

  align-items: center;

  border: 1px solid var(--border-dark);

  background: var(--dark-card);
}

.sort-box span {
  color: var(--gray);

  font-size: 9px;

  text-transform: uppercase;
}

.sort-box select {
  min-height: 44px;

  padding: 0 35px 0 12px;

  border: 0;

  outline: 0;

  background: var(--dark-card);

  color: var(--white);

  font-size: 10px;

  font-weight: 700;
}

.view-buttons {
  display: flex;

  border: 1px solid var(--border-dark);
}

.view-buttons button {
  width: 46px;

  height: 46px;

  border: 0;

  background: var(--dark-card);

  color: var(--gray);
}

.view-buttons button.active {
  background: var(--gold);

  color: var(--black);
}

.shop-layout {
  display: grid;

  grid-template-columns: 270px 1fr;

  gap: 45px;
}

/* Sidebar */

.shop-sidebar {
  height: max-content;

  position: sticky;

  top: 30px;
}

.filter-group {
  padding: 25px 0;

  border-bottom: 1px solid var(--border-dark);
}

.filter-title {
  margin-bottom: 22px;

  display: flex;

  align-items: center;

  justify-content: space-between;
}

.filter-title h3 {
  font-size: 14px;
}

.filter-title i {
  color: var(--gold-light);

  font-size: 10px;
}

.filter-option {
  margin-bottom: 15px;

  display: grid;

  grid-template-columns: 18px 1fr auto;

  align-items: center;

  gap: 10px;

  color: var(--gray);

  font-size: 11px;

  cursor: pointer;
}

.filter-option input {
  width: 15px;

  height: 15px;

  accent-color: var(--gold);
}

.filter-option small {
  color: #746a60;
}

.color-options {
  display: flex;

  flex-wrap: wrap;

  gap: 12px;
}

.color-circle {
  width: 30px;

  height: 30px;

  border: 2px solid transparent;

  border-radius: 50%;

  outline: 1px solid var(--border-dark);
}

.color-circle.active {
  border-color: var(--gold-light);
}

.black-color {
  background: #070707;
}

.dark-brown-color {
  background: #2d1b12;
}

.walnut-color {
  background: #5b3926;
}

.beige-color {
  background: #c5ae92;
}

.white-color {
  background: #f0ebe4;
}

.clear-filter {
  width: 100%;

  min-height: 46px;

  margin: 25px 0;

  border: 1px solid var(--border-dark);

  background: transparent;

  color: var(--gold-light);

  font-size: 10px;

  font-weight: 800;

  text-transform: uppercase;
}

.consultation-box {
  padding: 28px;

  background:
    linear-gradient(rgba(29, 18, 12, 0.93), rgba(11, 7, 5, 0.95)),
    url("https://images.unsplash.com/photo-1531835551805-16d864c8d311?auto=format&fit=crop&w=800&q=80")
      center / cover;

  border: 1px solid var(--border-dark);
}

.consultation-box > span {
  color: var(--gold-light);

  font-size: 9px;

  font-weight: 800;

  text-transform: uppercase;
}

.consultation-box h3 {
  margin: 13px 0;

  font-size: 22px;

  line-height: 1.2;
}

.consultation-box p {
  margin-bottom: 22px;

  color: var(--gray);

  font-size: 11px;

  line-height: 1.8;
}

.consultation-box a {
  display: inline-flex;

  align-items: center;

  gap: 12px;

  color: var(--gold-light);

  font-size: 9px;

  font-weight: 800;

  text-transform: uppercase;
}

/* Products */

.products-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 35px 18px;
}

.product-card {
  position: relative;
}

.product-image {
  position: relative;

  min-height: 430px;

  overflow: hidden;

  background: var(--dark-card);
}

.product-image img {
  transition: transform 0.65s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.055);
}

.product-image::after {
  content: "";

  position: absolute;

  inset: 0;

  background: linear-gradient(
    to top,

    rgba(0, 0, 0, 0.5),
    transparent 45%
  );

  opacity: 0;

  transition: 0.3s ease;
}

.product-card:hover .product-image::after {
  opacity: 1;
}

.product-badge {
  position: absolute;

  z-index: 3;

  left: 16px;

  top: 16px;

  padding: 8px 11px;

  background: var(--gold);

  color: var(--black);

  font-size: 8px;

  font-weight: 900;

  text-transform: uppercase;
}

.bestseller-badge {
  background: var(--dark);

  color: var(--gold-light);

  border: 1px solid var(--border-dark);
}

.wishlist-button {
  position: absolute;

  z-index: 3;

  right: 16px;

  top: 16px;

  width: 40px;

  height: 40px;

  display: grid;

  place-items: center;

  border: 1px solid rgba(255, 255, 255, 0.3);

  border-radius: 50%;

  background: rgba(5, 4, 3, 0.55);

  color: var(--white);

  backdrop-filter: blur(8px);
}

.product-actions {
  position: absolute;

  z-index: 4;

  left: 16px;

  right: 16px;

  bottom: 16px;

  display: flex;

  gap: 8px;

  transform: translateY(80px);

  opacity: 0;

  transition: 0.35s ease;
}

.product-card:hover .product-actions {
  transform: translateY(0);

  opacity: 1;
}

.product-actions a {
  min-height: 48px;

  padding: 0 18px;

  flex: 1;

  display: flex;

  align-items: center;

  justify-content: center;

  background: var(--gold);

  color: var(--black);

  font-size: 9px;

  font-weight: 900;

  text-transform: uppercase;
}

.product-actions button {
  width: 48px;

  border: 1px solid var(--gold);

  background: var(--dark);

  color: var(--gold-light);
}

.product-info {
  padding-top: 20px;
}

.product-category {
  margin-bottom: 7px;

  color: var(--gold-light);

  font-size: 9px;

  font-weight: 800;

  letter-spacing: 1px;

  text-transform: uppercase;
}

.product-info h3 {
  margin-bottom: 9px;

  font-size: 19px;

  line-height: 1.25;
}

.product-info p {
  min-height: 52px;

  color: var(--gray);

  font-size: 11px;

  line-height: 1.75;
}

.product-bottom {
  margin-top: 16px;

  padding-top: 15px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  border-top: 1px solid var(--border-dark);
}

.product-bottom strong {
  color: var(--gold-light);

  font-size: 12px;
}

.product-bottom span {
  color: #756a60;

  font-size: 8px;

  font-weight: 700;

  text-transform: uppercase;
}

/* Pagination */

.pagination {
  margin-top: 70px;

  display: flex;

  justify-content: center;
}

.pagination button {
  width: 48px;

  height: 48px;

  border: 1px solid var(--border-dark);

  background: var(--dark-card);

  color: var(--gray);

  font-size: 10px;

  font-weight: 800;
}

.pagination button.active,
.pagination button:hover {
  background: var(--gold);

  color: var(--black);
}

/* CTA */

.consultation-section {
  position: relative;

  min-height: 680px;

  display: flex;

  align-items: center;

  justify-content: center;

  text-align: center;

  background: url("https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&w=2200&q=90")
    center / cover no-repeat;
}

.consultation-overlay {
  position: absolute;

  inset: 0;

  background: rgba(3, 2, 1, 0.84);
}

.consultation-content {
  position: relative;

  z-index: 2;

  width: min(950px, 90%);
}

.consultation-content h2 {
  font-size: clamp(60px, 7vw, 105px);

  line-height: 0.95;

  letter-spacing: -5px;
}

.consultation-content p {
  max-width: 650px;

  margin: 28px auto 35px;

  color: #cfc3b7;

  font-size: 14px;

  line-height: 1.9;
}

/* Footer */

.main-footer {
  padding: 80px 5vw 25px;

  background: #050403;

  border-top: 1px solid var(--border-dark);
}

.footer-top {
  display: grid;

  grid-template-columns: 1.4fr repeat(3, 0.8fr) 1.25fr;

  gap: 45px;
}

.footer-brand > p {
  max-width: 330px;

  margin-top: 25px;

  color: var(--gray);

  font-size: 11px;

  line-height: 1.9;
}

.social-links {
  margin-top: 25px;

  display: flex;

  gap: 10px;
}

.social-links a {
  width: 34px;

  height: 34px;

  display: grid;

  place-items: center;

  border: 1px solid var(--border-dark);

  border-radius: 50%;
}

.footer-column,
.newsletter {
  display: flex;

  flex-direction: column;

  align-items: flex-start;
}

.footer-column h3,
.newsletter h3 {
  margin-bottom: 23px;

  color: var(--gold-light);

  font-size: 11px;

  font-weight: 800;

  text-transform: uppercase;
}

.footer-column a,
.footer-column p {
  margin-bottom: 12px;

  color: var(--gray);

  font-size: 11px;
}

.contact-column a,
.contact-column p {
  display: flex;

  align-items: center;

  gap: 10px;
}

.newsletter p {
  margin-bottom: 20px;

  color: var(--gray);

  font-size: 11px;

  line-height: 1.8;
}

.newsletter form {
  width: 100%;

  display: flex;

  border: 1px solid var(--border-dark);
}

.newsletter input {
  width: 100%;

  min-width: 0;

  padding: 16px;

  border: 0;

  outline: 0;

  background: transparent;

  color: var(--white);
}

.newsletter button {
  width: 55px;

  border: 0;

  background: var(--gold);
}

.footer-bottom {
  margin-top: 70px;

  padding-top: 25px;

  display: flex;

  justify-content: space-between;

  border-top: 1px solid var(--border-dark);

  color: #776d64;

  font-size: 9px;
}

.footer-bottom div {
  display: flex;

  gap: 25px;
}

/* Floating Contact */

.floating-contact {
  position: fixed;

  z-index: 200;

  right: 25px;

  bottom: 25px;

  display: flex;

  flex-direction: column;

  gap: 10px;
}

.floating-contact a {
  width: 52px;

  height: 52px;

  display: grid;

  place-items: center;

  border-radius: 50%;

  font-size: 20px;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.whatsapp-button {
  background: #25d366;
}

.floating-phone {
  background: var(--gold);

  color: var(--black);
}

/* Responsive */

@media (max-width: 1250px) {
  .main-header {
    grid-template-columns: 190px 1fr 180px;
  }

  .main-nav {
    gap: 18px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1.4fr repeat(2, 1fr);
  }

  .newsletter {
    grid-column: span 2;
  }
}

@media (max-width: 900px) {
  .main-header {
    min-height: 80px;

    grid-template-columns: 1fr auto;
  }

  .main-nav,
  .header-actions {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .shop-hero {
    min-height: 850px;
  }

  .shop-hero-content {
    width: 86%;

    margin-left: 7%;
  }

  .shop-hero h1 {
    font-size: clamp(58px, 14vw, 95px);
  }

  .hero-categories {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-grid {
    grid-template-columns: 1fr;

    grid-template-rows: repeat(3, 500px);
  }

  .large-category {
    grid-row: auto;
  }

  .shop-topbar {
    align-items: flex-start;

    flex-direction: column;
  }

  .shop-layout {
    grid-template-columns: 1fr;
  }

  .shop-sidebar {
    position: static;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 25px;
  }

  .consultation-box {
    grid-column: span 2;
  }

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-brand,
  .newsletter {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .logo span {
    font-size: 27px;
  }

  .logo small {
    font-size: 6px;
  }

  .shop-hero {
    min-height: 900px;
  }

  .shop-hero-content {
    padding-top: 30px;
  }

  .shop-hero h1 {
    font-size: 52px;

    letter-spacing: -3px;
  }

  .shop-hero-content > p {
    font-size: 13px;
  }

  .hero-categories {
    left: 5%;

    right: 5%;
  }

  .hero-category {
    min-height: 90px;

    padding: 18px;
  }

  .featured-categories,
  .shop-section {
    padding: 80px 5vw;
  }

  .section-heading h2,
  .shop-title h2,
  .consultation-content h2 {
    font-size: 44px;

    letter-spacing: -2px;
  }

  .category-grid {
    grid-template-rows: repeat(3, 430px);
  }

  .shop-controls {
    width: 100%;

    flex-wrap: wrap;
  }

  .sort-box {
    flex: 1;
  }

  .shop-sidebar {
    grid-template-columns: 1fr;
  }

  .consultation-box {
    grid-column: auto;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .product-image {
    min-height: 480px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-brand,
  .newsletter {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;

    gap: 15px;
  }

  .floating-contact {
    right: 15px;

    bottom: 15px;
  }

  .floating-contact a {
    width: 47px;

    height: 47px;
  }
}
    