/* ===== FONTS ===== */
    @font-face {
      font-family: "CandaraCustom";
      src: url("../fonts/candara-light.ttf") format("truetype");
      font-weight: 300;
      font-style: normal;
      font-display: swap;
    }

    @font-face {
      font-family: "CandaraCustom";
      src: url("../fonts/candara-regular.ttf") format("truetype");
      font-weight: 400;
      font-style: normal;
      font-display: swap;
    }

    @font-face {
      font-family: "CandaraCustom";
      src: url("../fonts/candara-bold.ttf") format("truetype");
      font-weight: 700;
      font-style: normal;
      font-display: swap;
    }

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

    body {
      font-family: "CandaraCustom", Arial, sans-serif;
      color: #3F3F46;
      background: #fff;
    }

    img {
      display: block;
      max-width: 100%;
      height: auto;
    }

    /* ===== CONTAINER ===== */
    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 30px;
    }

    /* ===== CATALOG SECTION ===== */
    .catalog {
      padding-bottom: 80px;
    }

    .catalog__header {
      margin-bottom: 48px;
    }

    .catalog__title {
      font-size: 36px;
      font-weight: 700;
      text-transform: uppercase;
      margin-bottom: 16px;
      color: #3F3F46;
    }
    
    .catalog__title-accent {
      color: #E5A600;
    }

    .catalog__description {
      font-size: 16px;
      line-height: 1.6;
      color: #6B6B72;
    }

    /* --- Uniform Grid --- */
    .catalog__grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    /* --- Card --- */
    .catalog__card {
      border-radius: 8px;
      overflow: hidden;
      background: #F8F8FA;
      display: flex;
      flex-direction: column;
      cursor: pointer;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      position: relative;
    }

    .catalog__card:hover {
      transform: translateY(-4px);
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    }

    /* Yellow accent line */
    .catalog__card::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: 0;
      width: 100%;
      height: 4px;
      background-color: #E5A600;
      transform: scaleX(0);
      transform-origin: left center;
      transition: transform 0.35s ease;
    }

    .catalog__card:hover::after {
      transform: scaleX(1);
    }

    /* Portrait aspect ratio for vertical images */
    .catalog__card-image {
      width: 100%;
      aspect-ratio: 3 / 4;
      overflow: hidden;
      background: #ece8df;
      position: relative;
    }

    .catalog__card-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.4s ease;
    }

    .catalog__card:hover .catalog__card-image img {
      transform: scale(1.05);
    }

    /* Subtle overlay hint that image is clickable */
    .catalog__card-image::before {
      content: "";
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.08);
      opacity: 0;
      transition: opacity 0.3s ease;
      z-index: 1;
    }

    .catalog__card:hover .catalog__card-image::before {
      opacity: 1;
    }

    .catalog__card-body {
      padding: 24px;
      display: flex;
      flex-direction: column;
      flex-grow: 1;
    }

    .catalog__card-title {
      font-size: 20px;
      font-weight: 700;
      text-transform: uppercase;
      color: #3F3F46;
      margin-bottom: 8px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }

    .catalog__card-icon {
      color: #E5A600;
      font-size: 20px;
      font-weight: 700;
      transition: transform 0.25s ease;
      flex-shrink: 0;
    }

    .catalog__card:hover .catalog__card-icon {
      transform: translateX(4px);
    }

    .catalog__card-count {
      font-size: 13px;
      color: #93939C;
      letter-spacing: 0.5px;
      line-height: 1.5;
    }

    /* ===== LIGHTBOX ===== */
    .lightbox {
      position: fixed;
      inset: 0;
      z-index: 9999;
      background: rgba(0, 0, 0, 0.92);
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s ease, visibility 0.3s ease;
      padding: 20px;
    }

    .lightbox.active {
      opacity: 1;
      visibility: visible;
    }

    .lightbox__container {
      position: relative;
      max-width: 90vw;
      max-height: 90vh;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .lightbox__img {
      max-width: 100%;
      max-height: 90vh;
      object-fit: contain;
      border-radius: 6px;
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
      user-select: none;
      -webkit-user-drag: none;
    }

    .lightbox__close {
      position: absolute;
      top: -40px;
      right: -40px;
      width: 40px;
      height: 40px;
      background: none;
      border: none;
      cursor: pointer;
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .lightbox__close:hover {
      transform: scale(1.1);
      opacity: 0.7;
    }

    .lightbox__close svg {
      width: 28px;
      height: 28px;
    }

    /* ===== RESPONSIVE ===== */
    @media (max-width: 1024px) {
      .catalog {
        padding-bottom: 60px;
      }

      .catalog__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
      }

      .catalog__card-body {
        padding: 20px;
      }

      .catalog__card-title {
        font-size: 18px;
      }
    }

    @media (max-width: 768px) {
      .container {
        padding: 0 20px;
      }

      .catalog {
        padding-bottom: 48px;
      }

      .catalog__header {
        margin-bottom: 32px;
      }

      .catalog__title {
        font-size: 26px;
      }

      .catalog__description {
        font-size: 14px;
        line-height: 1.5;
      }

      .catalog__grid {
        grid-template-columns: 1fr;
        gap: 16px;
      }

      .catalog__card-image {
        aspect-ratio: 4 / 5;
      }

      .catalog__card-body {
        padding: 18px 16px;
      }

      .catalog__card-title {
        font-size: 17px;
        margin-bottom: 6px;
      }

      .catalog__card-count {
        font-size: 12px;
      }

      .lightbox__close {
        top: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
      }

      .lightbox__close svg {
        width: 24px;
        height: 24px;
      }
    }

    @media (max-width: 480px) {
      .container {
        padding: 0 14px;
      }

      .catalog {
        padding-bottom: 36px;
      }

      .catalog__title {
        font-size: 22px;
      }

      .catalog__card-image {
        aspect-ratio: 3 / 4;
      }

      .catalog__card-body {
        padding: 16px 14px;
      }

      .catalog__card-title {
        font-size: 15px;
      }

      .catalog__card-icon {
        font-size: 18px;
      }
    }