/* BASIC css start */
/* [1] ±âº» ·¹ÀÌ¾Æ¿ô ¹× °øÅë ¿ä¼Ò */
.full-wrapper { max-width: 1200px; }
.shopbrand-header { padding-top: var(--cw-size-60); background-color: var(--cw-color-white); }
.shopbrand-header__title { display: flex; align-items: center; gap: var(--cw-size-10); font-size: var(--cw-size-24); line-height: var(--cw-size-32); font-weight: 700; color: var(--cw-heading-color); }


/* [2] ³»ºñ°ÔÀÌ¼Ç (µ¥½ºÅ©Åé ±â¹Ý) */
.shopbrand-header__nav-wrapper 
:where(.shopbrand-header__nav, .shopbrand-header__nav__s){

  display:flex;
    flex-wrap:nowrap;

    overflow-x:auto;
    overflow-y:hidden;

    gap:20px;
    padding-bottom:10px;

    -webkit-overflow-scrolling:touch;
    touch-action:pan-x;

    cursor:grab;
}

.shopbrand-header__nav-wrapper 
:where(.shopbrand-header__nav, .shopbrand-header__nav__s):active{
    cursor:grabbing;
}

.shopbrand-header__nav-wrapper :where(.shopbrand-header__nav, .shopbrand-header__nav__s).dragging { cursor: grabbing; }

/* ½ºÅ©·Ñ¹Ù ¼û±è (Chrome, Safari, Edge, Firefox) */
.shopbrand-header__nav-wrapper :where(.shopbrand-header__nav, .shopbrand-header__nav__s)::-webkit-scrollbar { display: none; }


/* ³»ºñ°ÔÀÌ¼Ç ¾ÆÀÌÅÛ °øÅë */
.shopbrand-header__nav-wrapper :where(.shopbrand-header__nav, .shopbrand-header__nav__s) li {flex:0 0 auto;}
.shopbrand-header__nav-wrapper :where(:has(li)) a { font-size: var(--cw-size-16); line-height: var(--cw-size-24); color: var(--cw-heading-color); }

/* ¾ÆÀÌÅÛ ÁÙ¹Ù²Þ ¹æÁö */
.shopbrand-header__nav-wrapper li{
    flex:0 0 auto;
}
.shopbrand-header__nav-wrapper{
    user-select:none;
    -webkit-user-select:none;
    -moz-user-select:none;
    -ms-user-select:none;

    -webkit-touch-callout:none;
}

/* ÀÌ¹ÌÁö µå·¡±× ¹æÁö */
.shopbrand-header__nav-wrapper img{
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;

    pointer-events:none; /* ÀÌ¹ÌÁö À§¿¡¼­µµ ½º¿ÍÀÌÇÁ °¡´É */
}

/* ÀÌ¹ÌÁö ¸Þ´º (2Â÷ ³»ºñ°ÔÀÌ¼Ç) ½ºÅ¸ÀÏ */
.shopbrand-header__nav-wrapper li a img {
    height:36px;
    object-fit:contain;
    display:block;

    padding:4px 18px;

    border:1px solid #e5e5e5;
    border-radius:10px;

    -webkit-user-drag:none;
    user-drag:none;
}

.shopbrand-header__nav-wrapper 
:where(.shopbrand-header__nav, .shopbrand-header__nav__s) li a{

    -webkit-user-select:none;
    -moz-user-select:none;
    -ms-user-select:none;
    user-select:none;

    -webkit-touch-callout:none; /* iOS ·ÕÅÇ ¹æÁö */
}

.shopbrand-header__nav-wrapper :where(.shopbrand-header__nav, .shopbrand-header__nav__s) li:has(a img) { margin-right: 0px; }
.shopbrand-header__nav-wrapper :where(.shopbrand-header__nav, .shopbrand-header__nav__s) li a:has(img) {
    display:flex;
    align-items:center;
    justify-content:center;

    font-size:0;      /* ÅØ½ºÆ® ¼û±è */
    line-height:0;

    padding:0;

    -webkit-user-select:none;
    user-select:none;
}


/* ¸¶¿ì½º ¿À¹ö ½Ã ÀÌ¹ÌÁö¸¸ °ËÀº Å×µÎ¸® Àû¿ë */
.shopbrand-header__nav-wrapper :where(.shopbrand-header__nav, .shopbrand-header__nav__s) li a:hover img {
    outline: 1px solid #000; 
    outline-offset: -2px; 
}




.shopbrand-header__nav {
    margin-top: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e5e5;
    gap: 30px;
}


.shopbrand-header__nav__s {
    margin-top: 16px;          /* 1Â÷¿ÍÀÇ °£°Ý ÅëÀÏ */
    padding: 0 10px;
    gap: 30px;                 /* ³»ºÎ ¾ÆÀÌÅÛ °£°Ý */
}



/* È°¼º »óÅÂ Ç¥½Ã */
.shopbrand-header__nav .active { position: relative; border-bottom: none; }
.shopbrand-header__nav .active::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -12px; height: 1px; background: var(--cw-heading-color);
}
.shopbrand-header__nav .active a {
    font-weight: 700;
    color: var(--cw-heading-color);
}
.shopbrand-header__nav__s .active a {
    font-weight: 600;
    color: var(--cw-heading-color);
    border-bottom: 1px solid var(--cw-heading-color);
}


.shopbrand-header__nav + .shopbrand-header__nav__s li a { display: inline-block; padding: 8px 0; font-size: var(--cw-size-14); line-height: 1.2; color: var(--cw-color-80); }
.shopbrand-header__nav + .shopbrand-header__nav__s .active a { color: var(--cw-heading-color); font-weight: bold; }

/* [3] »óÇ° ¸®½ºÆ® ¹× ¼½¼Ç ½ºÅ¸ÀÏ */
.category-title { padding: var(--cw-size-48) 0; text-align: center; }
.category-title img { max-width: 100%; }

.best-wrapper, .recmd-wrapper, .promotion-wrapper { margin-top: var(--cw-size-48); margin-bottom: ;}
.title-btns { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--cw-size-16); }
.title-btns span { font-size: var(--cw-size-18); font-weight: 700; line-height: var(--cw-size-26); }
.title-btns a { display: inline-block; width: var(--cw-size-28); height: var(--cw-size-28); }
.title-btns a.disable { opacity: .3; }

.products-wrapper { padding-top: var(--cw-size-60); }
.products-wrapper .prds-title { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; margin-bottom: var(--cw-size-16); }
.products-wrapper .prds-title h2 { font-weight: 400; font-size: var(--cw-size-14); line-height: var(--cw-size-20); color: var(--cw-heading-color); }
.products-wrapper .prds-title strong { font-weight: 700; }

/* »óÇ° ¸ñ·Ï ±×¸®µå */
.products-wrapper .prds-list.list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--cw-size-40) var(--cw-size-20); margin-top: var(--cw-size-40); }
.products-wrapper .prds-list.gallery { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--cw-size-50) var(--cw-size-8); margin-top: var(--cw-size-60); }
.products-wrapper :where(.prds-list.list, .prds-list.gallery):first-of-type { margin-top: 0 !important; }
/* ½æ³×ÀÏ ÀÌ¹ÌÁö µðÀÚÀÎ */
.products-wrapper .prds--image > img {
    display: block; width: 100%; height: auto; border: 1px solid var(--cw-color-30); border-radius: 16px; transition: border-color 0.2s ease; }
.products-wrapper .prds-list--item:hover .prds--image > img { border-color: #000; }


.products-wrapper .prds-title { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; margin-bottom: var(--cw-size-16); }
.products-wrapper .prds-title h2 { font-weight: 400; font-size: var(--cw-size-14); line-height: var(--cw-size-20); color: var(--cw-heading-color); }
.products-wrapper .prds-title strong { font-weight: 700; }
.products-wrapper .prds-title .cw-select-box { min-width: var(--cw-size-100); }
.products-wrapper .prds-title .thumbnail-type { display: flex; flex-wrap: wrap; align-items: center; }
.products-wrapper .prds-title .thumbnail-type .type::before { content: ""; display: inline-block; width: 1px; height: var(--cw-size-14); margin: 0 var(--cw-size-16); background-color: var(--cw-color-30); vertical-align: middle; }


.prds-btn {
    display: flex;
    justify-content: center;  /* °¡·Î Áß¾Ó Á¤·Ä */
    align-items: center;      /* ¼¼·Î Áß¾Ó Á¤·Ä (ÇÊ¿ä½Ã) */
    margin-top: 30px;         /* »ó´Ü »óÇ° ¸ñ·Ï°úÀÇ °£°Ý */
    width: 100%;              /* ÀüÃ¼ ³Êºñ È®º¸ */
}

/* ¹öÆ° ³»ºÎ ÅØ½ºÆ®¿Í ¾ÆÀÌÄÜ Á¤·Ä */
.prds-btn .btn {
    display: inline-flex;     /* ÅØ½ºÆ®¿Í ¾ÆÀÌÄÜÀ» °¡·Î·Î ³ª¿­ */
    align-items: center;
    justify-content: center;
    gap: 8px;                 /* ÅØ½ºÆ®¿Í È­»ìÇ¥ »çÀÌ °£°Ý */
    padding: 5px 18px;       /* ¹öÆ° Å©±â Á¶Àý */
    min-width: 150px;         /* ¹öÆ° ÃÖ¼Ò ³Êºñ ¼³Á¤ */
}
.best-wrapper,
.recmd-wrapper {
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 30px;   /* °¡°Ý°ú ½Ç¼± »çÀÌ °£°Ý */
    margin-bottom: 30px;    /* ´ÙÀ½ ¼½¼Ç°ú °£°Ý */
}

.best-wrapper .prds--image,
.recmd-wrapper .prds--image > img {
    border-radius: 16px;
    overflow: hidden;   /* ÇÙ½É */
    border: 1px solid #ddd;
}

.best-wrapper .prds-list--item:hover .prds--image,
.recmd-wrapper .prds-list--item:hover .prds--image > img {
    border-color: #000;
}

/* °¡°Ý ¾Æ·¡ ¿©¹é */
.best-wrapper .prds--price-wrap, 
.recmd-wrapper .prds--price-wrap {
    margin-bottom: 10px;
}


/* [4] ¹Ìµð¾î Äõ¸® - ÅÂºí¸´ (Max 1200px) */
@media (max-width: 1200px) {
    .full-wrapper { --bs-gutter-x: var(--cw-size-50); }
    .shopbrand-header { 
        position: relative; 
        min-height: 100px; /* ¾ÆÀÌÄÜÀÌ ³»·Á°¥ ÃÖ¼Ò °ø°£ È®º¸ */
    }
    .shopbrand-header__title { 
        display: block !important; 
        position: static; /* ºÎ¸ð Èå¸§À» ¹æÇØÇÏÁö ¾Êµµ·Ï */
    }

    .shopbrand-header__nav .active::after { bottom: -12px !important; }
    .shopbrand-header__nav-wrapper { user-select:none;
-webkit-user-select:none; }
    


    /* ÀÌ¹ÌÁö Å©±â³ª ¿©¹é ¹Ì¼¼ Á¶Á¤ (ÀÌ¹ÌÁö¸¸ ºÎ°¢µÇµµ·Ï) */
.shopbrand-header__nav-wrapper li a img {
    height:36px;
    object-fit:contain;
    display:block;

    padding:4px 20px;

    border:1px solid #e5e5e5;
    border-radius:10px;

    -webkit-user-drag:none;
    user-drag:none;
}


   

    /* ±×¸®µå Á¶Á¤ */
    .products-wrapper .prds-list.list { grid-template-columns: 1fr; }
    .products-wrapper .prds-list.gallery { grid-template-columns: repeat(4, 1fr); gap: 10px; }
    
    
.shopbrand-header__title .category-count { 
        display: flex; 
        align-items: center; 
        justify-content: center; 
        
        /* Àý´ë À§Ä¡¸¦ È­¸é È¤Àº Çì´õ ³¡À¸·Î °íÁ¤ */
        position: fixed;   /* ½ºÅ©·ÑÀ» ³»·Áµµ Ç×»ó ¿ìÃø ÇÏ´Ü¿¡ ¶° ÀÖ°Ô ÇÔ */
        right: 20px;       /* ¿À¸¥ÂÊ¿¡¼­ 20px */
        bottom: 80px;      /* ¹Ù´Ú¿¡¼­ 20px */
        
        z-index: 9999;     /* ´Ù¸¥ ¾î¶² ¿ä¼Òº¸´Ù À§¿¡ ¿Àµµ·Ï ÃÖ´ñ°ª ºÎ¿© */
        background-color: #fff;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15); /* ÇÏ´Ü¿¡ ¶° ÀÖ´Â È¿°ú */
        height: 40px;      /* ¸ð¹ÙÀÏ¿¡¼­ ´©¸£±â ÆíÇÑ Å©±â */
        padding: 0 15px 0 35px !important;
        border: 1px solid #eee;
    }

    
    
}


/* [5] ¹Ìµð¾î Äõ¸® - ¸ð¹ÙÀÏ (Max 767.98px) */
@media (max-width: 767.98px) {

  .shopbrand-header__nav-wrapper 
  .shopbrand-header__nav li a:has(img),
  .shopbrand-header__nav-wrapper 
  .shopbrand-header__nav__s li a:has(img){
      font-size: 0 !important;
      line-height: 0 !important;
      padding: 0 !important;
  }
      /* ±×¸®µå Á¶Á¤ */
    .products-wrapper .prds-list.list { grid-template-columns: 1fr; }
    .products-wrapper .prds-list.gallery { grid-template-columns: repeat(3, 1fr); gap: 10px; }

}
/* BASIC css end */

