@charset "utf-8";
/* ===========================================
  
  TOPページ（PC版）

=========================================== */
@media (min-width: 801px) {
  .top-container {
    width: 1120px;
    margin: 0 auto;
  }

  /* mv */
  .top-mv__image {
    width: 100%;
    min-width: 1120px;
    height: 100%;
    object-fit: cover;
  }

  .top-mv-door-item {
    width: 80px;
    height: 120px;
    background: #8B4513;
    border-radius: 5px;
    position: relative;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }

  /* Info Section */
  .top-info {
    padding: 150px 0 80px;
    text-align: center;
  }

  .top-info__title {
    font-size: 28px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .top-info__title .logo-with-text {
    display: flex;
    align-items: center;
    gap: 37px;
  }

  .logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .top-info__title-text {
    font-size: 24px;
  }

  .top-info__icon {
    width: 206px;
  }

  .top-info__logo {
    width: 275px;
  }

  .top-info-text {
    font-size: 24px;
    color: #141d1d;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.66;
    font-weight: 400;
  }

  .top-info-highlight {
    color: #c40000;
  }

  .top-info-logo {
    height: 1em;
    vertical-align: middle;
    margin-bottom: 8px;
    margin-left: 3px;
    margin-right: 3px;
  }

  /* Price Section */
  .top-price {
    padding: 80px 0 130px;
    background: #fcfaf7;
    width: 100%;
  }

  .top-price__title {
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 37px;
  }

  .top-price-wrap {
    display: flex;
    flex-direction: column;
  }

  .top-price__icon {
    width: 134px;
    height: 163px;
  }

  .top-price-subtitle {
    font-size: 24px;
  }

  .top-price-title {
    font-size: 40px;
  }

  .top-price-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
  }

  .top-price-card {
    background: white;
    border-radius: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    width: 330px;
    height: 330px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .top-price-card:hover {
    opacity: 0.8;
  }

  .top-price-card-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 24px 0;
  }

  .top-price-card-detail {
    position: relative;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: #e8e6df;
    border-radius: 0 0 30px 30px;
  }

  .top-price-card-detail::after {
    content: '';
    position: absolute;
    right: 30px;
    width: 24px;
    height: 24px;
    background: url('/public/image/common/icon_next.svg') no-repeat center;
    background-size: contain;
  }

  .top-price-amount {
    white-space: nowrap;
    font-weight: bold;
  }
  .top-price-amount.pink * {
    color: #ff2965;
  }
  .top-price-amount.blue * {
    color: #0084b9;
  }

  .top-price-number {
    font-family: "Inter", Arial, sans-serif;
    font-size: 64px;
  }

  .top-price-text {
    position: relative;
    top: -5px;
    font-size: 32px;
  }

  .top-price-door {
    width: 94px;
    height: 233px;
    margin: 0 auto 8px;
    object-fit: contain;
  }

  /* Popular Section */
  .top-ranking {
    padding: 80px 0 130px;
    background: #f5f4f1;
    width: 100%;
  }

  .top-ranking__title {
    margin-bottom: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .top-ranking__icon {
    width: 75px;
    height: 62px;
  }

  .top-ranking__subtitle {
    font-size: 24px;
  }

  .top-ranking__hd {
    font-size: 40px;
    line-height: 1;
  }

  .top-ranking__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 64px;
    margin-bottom: 40px;
    justify-items: center;
  }

  .top-ranking__item {
    background: white;
    border-radius: 10px;
    padding: 24px 22px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
    width: 330px;
    height: 450px;
    overflow: hidden;
    display: block;
  }

  .top-ranking__item:hover {
    opacity: 0.8;
  }

  .top-ranking__logo {
    position: absolute;
    top: 24px;
    left: 30px;
    width: 60px;
    height: auto;
  }

  .top-ranking__badge {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-top: 100px solid #FF6B6B;
    z-index: 10;
    font-size: 12px;
    font-weight: bold;
    color: white;
  }

  .top-ranking__badge::before {
    content: attr(data-number);
    position: absolute;
    top: -94px;
    right: 33px;
    font-family: "Inter", Arial, sans-serif;
    font-size: 28px;
    font-weight: bold;
    color: white;
  }

  .top-ranking__badge::after {
    content: attr(data-text);
    position: absolute;
    top: -83px;
    right: 13px;
    font-size: 16px;
    font-weight: normal;
    color: white;
    text-align: left;
  }

  .top-ranking__badge--1 {
    border-top-color: #bda856;
  }

  .top-ranking__badge--2 {
    border-top-color: #aaaaa6;
  }

  .top-ranking__badge--3 {
    border-top-color: #c0865d;
  }

  .top-ranking__badge--4,
  .top-ranking__badge--5 {
    border-top-color: #eeeeee;
  }

  .top-ranking__badge--4::before,
  .top-ranking__badge--4::after,
  .top-ranking__badge--5::before,
  .top-ranking__badge--5::after {
    color: #152441;
  }

  .top-ranking__door {
    height: 270px;
    margin: 20px auto 15px;
    object-fit: contain;
  }

  .top-ranking__name {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .top-ranking__price-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
  }
  
  .top-ranking__note {
    background: #ff2965;
    color: white;
    font-size: 14px;
    padding: 3px 8px;
    border-radius: 5px;
  }
  
  .top-ranking__price {
    font-size: 16px;
    color: #ff2965;
  }
  
  .top-ranking__price-number {
    font-family: "Inter", Arial, sans-serif;
    font-size: 28px;
    font-weight: bold;
    margin-right: 3px;
    color: #ff2965;
  }

  /* Type Section */
  .top-type {
    padding: 80px 0 130px;
    background: #f4efe7;
    width: 100%;
  }

  .top-type__title {
    text-align: center;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .top-type__icon {
    width: 134px;
    height: 110px;
  }

  .top-type__subtitle {
    font-size: 24px;
  }

  .top-type__hd {
    font-size: 40px;
  }

  .top-type__grid {
    display: grid;
    grid-template-columns: repeat(4, 250px);
    gap: 20px;
    justify-content: center;
    margin: 0 auto;
  }

  .top-type__link:hover {
    opacity: 0.8;
  }

  .top-type__item {
    text-align: center;
    width: 250px;
    height: 250px;
    border-radius: 10px;
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }

  .top-type__image {
    height: 217px;
    object-fit: contain;
  }

  .top-type__name {
    font-size: 24px;
    margin-top: 15px;
    text-align: center;
  }

  .top-type__note {
    margin-top: 30px;
    font-size: 14px;
    text-align: center;
    white-space: nowrap;
  }

  .top-type__highlight {
    font-weight: bold;
  }

  /* Color Section */
  .top-color {
    padding: 80px 0 130px;
    background: #fcfaf7;
    width: 100%;
  }

  .top-color__title {
    text-align: center;
    margin-bottom: 54px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .top-color__icon {
    width: 150px;
    height: 124px;
  }

  .top-color__subtitle {
    font-size: 24px;
  }

  .top-color__hd {
    font-size: 40px;
    line-height: 1;
  }
  .top-color__category-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: left;
  }

  .top-color__category-title--spacing {
    margin-top: 64px;
  }

  .top-color__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin: 0 -20px;
  }

  .top-color__item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    img {
      width: 180px;
      height: 100px;
      border-radius: 10px;
      background-size: cover;
      background-position: center;
      box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }
  }

  .top-color__name {
    font-size: 24px;
    margin-top: 5px;
    text-align: center;
  }

  /* Design Section */
  .top-design {
    padding: 80px 0 130px;
    background: #f5f4f1;
    width: 100%;
  }

  .top-design__title {
    text-align: center;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .top-design__subtitle {
    font-size: 24px;
  }

  .top-design__hd {
    font-size: 40px;
    line-height: 1;
  }

  .top-design__icon {
    width: 100px;
  }

  .top-design__carousel {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 32px;
  }

  .top-design__carousel-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #1a2d51;
    border: none;
    cursor: pointer;
    font-size: 22px;
    z-index: 3;
    i {
      color: white;
    }
  }
  .top-design__carousel-btn#prevBtn {
    position: absolute;
    left: -10px;
    top: 130px;
  }
  .top-design__carousel-btn#nextBtn {
    position: absolute;
    right: -10px;
    top: 130px;
  }

  .top-design__carousel-btn:hover {
    background: #2A4365;
  }
  
  .top-design__carousel-btn:disabled {
    background: #2A4365;
    opacity: 0.5;
  }

  .top-design__doors-container {
    width: calc(200px * 5 + 15px * 4);
    overflow: hidden;
  }

  .top-design__doors {
    display: flex;
    gap: 15px;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: calc(200px * 9 + 15px * 8);
  }

  .top-design__door {
    width: 200px;
    height: 306px;
    border-radius: 10px;
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }

  .top-design__image {
    width: auto;
    height: 266px;
    object-fit: contain;
  }

  .top-design__door-name {
    text-align: center;
    margin-top: 15px;
    font-size: 24px;
  }

  /* Maker Section */
  .top-maker {
    padding: 80px 0 130px;
    background: #f4efe7;
    width: 100%;
  }

  .top-maker__title {
    text-align: center;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .top-maker__icon {
    width: 150px;
    height: 124px;
  }

  .top-maker__subtitle {
    font-size: 24px;
  }

  .top-maker__hd {
    font-size: 40px;
    line-height: 1;
  }

  .top-maker__logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
  }

  .top-maker__logo {
    width: 250px;
    height: 250px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }

  .top-maker__logo-image {
    max-height: 210px;
    max-width: 210px;
    object-fit: contain;
  }

  .top-maker__logo-image[src*="logo_ykk"] {
    width: 107px;
    height: 101px;
  }

  .top-maker__logo-image[src*="logo_lixil"] {
    width: 168px;
    height: 58px;
  }

  .top-maker__name {
    font-size: 24px;
    margin-top: 15px;
    text-align: center;
  }

  .top-maker__logo-all {
    width: 150px;
    height: 150px;
    background: #1a2d51;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
  }

  .top-maker__logo-all i {
    color: white;
    font-size: 60px;
  }

  /* Recommended Section */
  .top-recommended {
    padding: 80px 0 130px;
    background: #fcfaf7;
    width: 100%;
    overflow: hidden;
  }

  .top-recommended__title {
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .top-recommended__icon {
    width: 77px;
    height: 68px;
  }

  .top-recommended__subtitle {
    font-size: 24px;
  }

  .top-recommended__hd {
    font-size: 40px;
    line-height: 1;
  }

  .top-recommended__carousel {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
  }
  
  .top-recommended__items {
    display: flex;
    gap: 35px;
    height: 464px;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .top-recommended__carousel-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #1a2d51;
    border: none;
    cursor: pointer;
    font-size: 22px;
    z-index: 3;
    i {
      color: white;
    }
  }

  .top-recommended__carousel-btn#recPrevBtn {
    position: absolute;
    left: -35px;
    top: 180px;
  }
  .top-recommended__carousel-btn#recNextBtn {
    position: absolute;
    right: -35px;
    top: 180px;
  }

  .top-recommended__carousel-btn:hover {
    background: #2A4365;
  }
  
  .top-recommended__carousel-btn:disabled {
    background: #2A4365;
    opacity: 0.5;
  }

  .top-recommended__item {
    position: relative;
    background: white;
    border-radius: 10px;
    padding: 32px 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    width: 350px;
    height: 452px;
    text-align: center;
    flex-shrink: 0;
  }

  .top-recommended__product-image {
    height: 270px;
    object-fit: contain;
    margin: 0px auto 16px;
  }

  .top-recommended__badge {
    position: absolute;
    top: 32px;
    left: 32px;
  }

  .top-recommended__badge-image {
    width: 72px;
    height: 18px;
    object-fit: contain;
  }

  .top-recommended__product-name {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 8px;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .top-recommended__price-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .top-recommended__note {
    background: #ff2965;
    color: white;
    font-size: 16px;
    padding: 3px 8px;
    border-radius: 5px;
  }

  .top-recommended__price {
    font-size: 16px;
    color: #ff2965;
  }
  
  .top-recommended__price-number {
    font-family: "Inter", Arial, sans-serif;
    font-size: 28px;
    font-weight: bold;
    margin-right: 5px;
    color: #ff2965;
  }
}

/* ===========================================
  スマホ
=========================================== */
@media only screen and (max-width: 800px) {
  .top-container {
    margin: 0 auto;
    padding: 0 1rem;
  }

  /* Main Visual */
  .top-mv__image {
    width: 100%;
    height: auto;
  }

  /* Info Section */
  .top-info {
    padding: 3.75rem 0 3rem;
  }

  .top-info__title {
    font-size: 0.875rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .logo-with-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
  }

  .top-info__icon {
    width: 7rem;
    height: auto;
  }

  .logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .top-info__logo {
    height: 3rem;
  }

  .top-info__title-text {
    font-size: 1rem;
  }

  .top-info-text {
    text-align: center;
    font-size: 1rem;
    line-height: 1.8;
  }

  .top-info-highlight {
    color: #c40000;
  }

  .top-info-logo {
    height: 1rem;
    vertical-align: middle;
    margin: 0 0.2rem 0.2rem;
  }

  /* Price Section */
  .top-price {
    padding: 3rem 0;
    background-color: #fcfaf7;
  }

  .top-price__title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    text-align: center;
    flex-wrap: wrap;
    flex-direction: column;
  }

  .top-price__icon {
    width: auto;
    height: 7rem;
    flex-shrink: 0;
    margin-bottom: 0.5rem;
  }

  .top-price-wrap {
    display: flex;
    flex-direction: column;
  }

  .top-price-subtitle {
    font-size: 0.875rem;
  }

  .top-price-title {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 0.1em;
  }

  .top-price-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 0.625rem;
    justify-content: center;
  }

  .top-price-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: white;
    border-radius: 0.625rem;
    text-align: center;
    box-shadow: 0 0.5rem 1.5625rem rgba(0,0,0,0.1);
    border: 1px solid #E2E8F0;
    width: 100%;
    height: 12rem;
  }

  .top-price-card-content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 1.5rem;
    gap: 0.5rem;
    img {
      width: auto;
      height: 7.28125rem;
    }
  }

  .top-price-card-detail {
    position: relative;
    height: 2.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: bold;
    background-color: #e8e6df;
    border-radius: 0 0 0.625rem 0.625rem;
    font-feature-settings: normal;
  }

  .top-price-card-detail::after {
    content: '';
    position: absolute;
    right: 1rem;
    width: 12px;
    height: 12px;
    background: url('/public/image/common/icon_next.svg') no-repeat center;
    background-size: contain;
  }

  .top-price-amount {
    font-weight: bold;
    white-space: nowrap;
  }
  
  .top-price-amount.pink * {
    color: #ff2965;
  }

  .top-price-amount.blue * {
    color: #0084b9;
  }

  .top-price-number {
    font-family: "Inter", Arial, sans-serif;
    font-size: 1.625rem;
  }

  .top-price-text {
    position: relative;
    top: -0.1rem;
    font-size: 1rem;
  }

  /* Popular Section */
  .top-ranking {
    padding: 3rem 0;
    background: #f5f4f1;
    .top-container {
      padding: 0;
    }
  }

  .top-ranking__title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    text-align: center;
    flex-wrap: wrap;
    flex-direction: column;
  }

  .top-ranking__icon {
    width: 3.5rem;
    height: auto;
    flex-shrink: 0;
    margin-bottom: 0.5rem;
  }

  .top-ranking__subtitle {
    font-size: 0.875rem;
  }

  .top-ranking__hd {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 0.1em;
  }

  .top-ranking__grid {
    display: flex;
    flex-wrap: nowrap;
    padding: 0 1rem 0.875rem 1rem;
    gap: 1rem;
    overflow-x: auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .top-ranking__item {
    display: block;
    text-decoration: none;
    background: #fff;
    border-radius: 0.3125rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    flex: 0 0 15rem;
    position: relative;
    padding: 1rem 0.8rem;
  }

  .top-ranking__logo {
    position: absolute;
    top: 1rem;
    right: 0.75rem;
    height: auto;
    z-index: 5;
  }

  .top-ranking__badge {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-right: 4.5rem solid transparent;
    border-top: 4.5rem solid #FF6B6B;
    z-index: 5;
    font-weight: bold;
    color: white;
    border-radius: 0.3125rem;
  }
  
  .top-ranking__badge::before {
    content: attr(data-text);
    position: absolute;
    top: -3.8rem;
    left: 1.8rem;
    font-family: "Inter", Arial, sans-serif;
    font-size: 0.8125rem;
    font-weight: normal;
    color: white;
    text-align: left;
  }

  .top-ranking__badge::after {
    content: attr(data-number);
    position: absolute;
    top: -4.5rem;
    left: 0.7rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
  }

  .top-ranking__badge--1 {
    border-top-color: #bda856;
  }

  .top-ranking__badge--2 {
    border-top-color: #aaaaa6;
  }

  .top-ranking__badge--3 {
    border-top-color: #c0865d;
  }

  .top-ranking__badge--4,
  .top-ranking__badge--5 {
    border-top-color: #eeeeee;
  }

  .top-ranking__badge--4::before,
  .top-ranking__badge--4::after,
  .top-ranking__badge--5::before,
  .top-ranking__badge--5::after {
    color: #152441;
  }

  .top-ranking__door {
    display: flex;
    margin: 0 auto;
    height: 12rem;
    object-fit: contain;
  }

  .top-ranking__name {
    padding: 0.5rem 0;
    font-size: 0.8125rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: justify;
    font-weight: 400;
    height: 4em;
  }

  .top-ranking__price-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .top-ranking__price {
    position: relative;
    top: -0.1rem;
    display: flex;
    align-items: baseline;
    color: #ff2965;
  }
  
  .top-ranking__price-number {
    position: relative;
    top: 1px;
    font-family: "Inter", Arial, sans-serif;
    font-size: 1.25rem;
    font-weight: bold;
    color: #ff2965;
  }

  .top-ranking__note {
    padding: 0.18rem 0.375rem 0.25rem;
    background: #ff2965;
    color: white;
    font-size: 0.75rem;
    border-radius: 5px;
  }

  /* Type Section */
  .top-type {
    padding: 4rem 0;
    background: #f4efe7;
  }

  .top-type__title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    text-align: center;
    flex-wrap: wrap;
    flex-direction: column;
  }

  .top-type__icon {
    width: 3rem;
    height: auto;
    flex-shrink: 0;
  }

  .top-type__subtitle {
    font-size: 0.875rem;
  }

  .top-type__hd {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 0.1em;
  }

  .top-type__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 0.625rem;
    justify-content: center;
    margin: 0 auto;
  }

  .top-type__item {
    text-align: center;
    width: 100%;
    height: 10.9375rem;
    border-radius: 0.625rem;
    background: white;
    box-shadow: 0 0.25rem 0.9375rem rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
  }

  .top-type__image {
    width: auto;
    height: 9.03125rem;
    object-fit: contain;
  }

  .top-type__name {
    font-size: 0.875rem;
    margin-top: 0.5rem;
    text-align: center;
  }

  .top-type__note {
    margin-top: 1.875rem;
    font-size: 0.875rem;
  }

  .top-type__highlight {
    font-weight: bold;
  }

  /* Color Section */
  .top-color {
    padding: 4rem 0;
    background: #fcfaf7;
  }

  .top-color__title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    text-align: center;
    flex-wrap: wrap;
    flex-direction: column;
  }

  .top-color__icon {
    width: 4.5rem;
    height: auto;
    flex-shrink: 0;
    margin-bottom: 0.5rem;
  }

  .top-color__subtitle {
    font-size: 0.875rem;
  }

  .top-color__hd {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 0.1em;
  }

  .top-color__category-title {
    font-weight: bold;
    font-size: 1.25rem;
    padding-bottom: 0.25rem;
    margin-bottom: 1rem;
    text-align: center;
    border-bottom: 1px solid #1a2d51;
  }

  .top-color__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem 1rem;
    width: 100%;
  }

  .top-color__item {
    text-align: center;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    img {
      width: 6rem;
      height: 3rem;
      border-radius: 0.625rem;
    }
  }

  .top-color__name {
    font-size: 0.875rem;
    margin-top: 0.5rem;
    text-align: center;
    white-space: nowrap;
  }

  .top-color__category-title--spacing {
    margin-top: 4rem;
  }

  /* Design Section */
  .top-design {
    padding: 4rem 0;
    background-color: #f5f4f1;
    .top-container {
      padding: 0;
    }
  }

  .top-design__title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    text-align: center;
    flex-wrap: wrap;
    flex-direction: column;
  }

  .top-design__icon {
    width: 4.1875rem;
    height: auto;
    margin-bottom: 0.5rem;
    flex-shrink: 0;
  }

  .top-design__subtitle {
    font-size: 0.875rem;
  }

  .top-design__hd {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 0.1em;
  }

  .top-design__doors-container {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .top-design__carousel-btn {
    display: none;
  }

  .top-design__doors {
    display: flex;
    gap: 1rem;
    padding: 0 1rem;
    width: max-content;
  }

  .top-design__link {
    display: block;
    text-align: center;
  }

  .top-design__door {
    padding: 1rem 2rem;
    background: #fff;
    border-radius: 0.3125rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  }

  .top-design__image {
    width: 100%;
    height: 9.03125rem;
    object-fit: contain;
  }

  .top-design__door-name {
    margin-top: 0.5rem;
    text-align: center;
  }

  /* Maker Section */
  .top-maker {
    padding: 4rem 0;
    background-color: #f4efe7;
  }

  .top-maker__title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    text-align: center;
    flex-wrap: wrap;
    flex-direction: column;
  }

  .top-maker__icon {
    width: 3rem;
    height: auto;
    flex-shrink: 0;
    margin-bottom: 0.5rem;
  }

  .top-maker__subtitle {
    font-size: 0.875rem;
  }

  .top-maker__hd {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 0.1em;
  }

  .top-maker__logos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1rem;
    justify-content: center;
    margin: 0 auto;
  }

  .top-maker__logo {
    width: 100%;
    height: 10rem;
    padding: 1.25rem;
    background: white;
    border-radius: 0.625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 0.25rem 0.9375rem rgba(0,0,0,0.1);
  }

  .top-maker__logo-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }

  .top-maker__logo-all {
    width: 4.5rem;
    height: 4.5rem;
    background: #1a2d51;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
  }

  .top-maker__logo-all i {
    color: white;
    font-size: 2rem;
  }

  .top-maker__name {
    margin-top: 0.5rem;
    text-align: center;
  }

  /* Recommended Section */
  .top-recommended {
    padding: 4rem 0;
    background-color: #fcfaf7;
  }

  .top-recommended__container {
    margin: 0 auto;
    padding: 0 1rem;
  }

  .top-recommended__title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    text-align: center;
    flex-wrap: wrap;
    flex-direction: column;
  }

  .top-recommended__icon {
    margin-bottom: 0.5rem;
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
  }

  .top-recommended__subtitle {
    font-size: 0.875rem;
  }

  .top-recommended__hd {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 0.1em;
  }

  .top-recommended__carousel {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .top-recommended__carousel-btn {
    background: #1a2d51;
    border-radius: 50%;
    border: none;
    width: 2.65625rem;
    height: 2.65625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    color: white;
    font-size: 18px;
      i {
      color: white;
    }
  }
  
  .top-recommended__carousel-btn:first-of-type {
    left: 0.5rem;
  }
  
  .top-recommended__carousel-btn:last-of-type {
    right: 0.5rem;
  }

  .top-recommended__items-container {
      overflow-x: hidden;
      width: 100%;
      height: 22rem;
  }
  
  .top-recommended__items {
      display: flex;
      gap: 16px;
      transition: transform 0.3s ease-in-out;
      padding: 0;
  }
  
  .top-recommended__item {
    position: relative;
    flex: 0 0 18.75rem;
    padding: 1rem;
    background: #fff;
    border-radius: 0.3125rem;
    box-shadow: 0 0.25rem 0.9375rem rgba(0, 0, 0, 0.1);
    border: 1px solid #fafafa;
  }

  .top-recommended__badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
  }

  .top-recommended__product-image {
    width: 100%;
    height: 13.375rem;
    object-fit: contain;
  }

  .top-recommended__product-name {
    padding: 0.5rem 0;
    font-size: 0.8125rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: justify;
    font-weight: 400;
  }

  .top-recommended__price-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .top-recommended__note {
    padding: 0.18rem 0.375rem 0.25rem;
    background: #ff2965;
    color: white;
    font-size: 0.8125rem;
    border-radius: 5px;
  }

  .top-recommended__price {
    position: relative;
    top: -0.1rem;
    display: flex;
    align-items: baseline;
    gap: 0.2rem;
    color: #ff2965;
  }
  
  .top-recommended__price-number {
    position: relative;
    top: 2px;
    font-family: "Inter", Arial, sans-serif;
    font-size: 1.5625rem;
    font-weight: bold;
    color: #ff2965;
  }
  
  .products-grid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));margin-top:16px;}
.loading{font-size:14px;}
.error{color:
#c00;font-size:14px;margin:8px 0;}
.no-items{text-align:center;padding:24px;font-size:14px;background:
#fafafa;border:1px solid 
#eee;border-radius:6px;}
.selected{outline:2px solid 
#ff6aa0;border-radius:4px;}
.top-recommended__item{display:block;background:
#fff;border:1px solid 
#eee;border-radius:6px;padding:12px;text-decoration:none;color:
#333}
.top-recommended__product-image{width:100%;/*height:auto;*/display:block;margin-bottom:8px;}
.top-recommended__product-name{font-size:13px;line-height:1.4;margin-bottom:6px;}
.top-recommended__price-number{font-weight:700;}
}
