/* BASIC css start */
/* ----- 1. (´ëÃ¼¿ë) »õ ÇÏ´Ü °íÁ¤ ¹öÆ° (¼öÁ¤) ----- */
.fixed-btn-new-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto; 
    z-index: 998;
    
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    
    background-color: #f9f9f9; 
    border-top: 1px solid #eee;
}
.fixed-btn-new-container.show {
    transform: translateY(0);
}

.fixed-btn-new { 
    display: flex; 
    width: 100%; 
    height: auto; 
    padding: 10px;
    gap: 10px; 
    box-sizing: border-box; 
} 

.fixed-btn-new a { 
    flex: 1; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    font-size: 16px; 
    font-weight: bold; 
    text-decoration: none; 
    border: none;
    transition: filter 0.2s ease;
    
    height: 44px; 
    border-radius: 5px; 
    box-sizing: border-box; /* [Ãß°¡] Å×µÎ¸®°¡ ÀÖ¾îµµ Å©±â À¯Áö */
}

/* [¼öÁ¤] '¼±¹°ÇÏ±â' ¹öÆ° (¸ÞÀÎ) - Èò»ö ¹è°æ + °ËÁ¤ Å×µÎ¸®/±Û¾¾ */
.fixed-btn-new a.gift_btn { 
    background-color: #ffffff;
    color: #222222; /* °ËÁ¤ ±Û¾¾ */
    border: 1px solid #222222; /* °ËÁ¤ Å×µÎ¸® */
}
/* '±¸¸ÅÇÏ±â' ¹öÆ° (¸ÞÀÎ) - ´«¿¡ ¶ç´Â ÁÖÈ²»ö (À¯Áö) */
.fixed-btn-new a.buy_btn { 
    background-color: #D9531E; 
    color: #ffffff;
}

/* ¸¶¿ì½º ¿À¹ö/Å¬¸¯ ½Ã ¹à±â º¯°æ */
.fixed-btn-new a:hover,
.panel-action-buttons a:hover {
    filter: brightness(0.95); /* [¼öÁ¤] Èò»ö ¹öÆ°Àº ¾îµÎ¿öÁ®¾ß ÇÏ¹Ç·Î 0.95·Î º¯°æ */
}
.fixed-btn-new a.buy_btn:hover,
.panel-action-buttons a.panel-buy-btn:hover,
.panel-action-buttons a.panel-gift-btn:hover {
    filter: brightness(1.15); /* ÁÖÈ²»ö ¹öÆ°Àº ¹à¾ÆÁö°Ô À¯Áö */
}


/* (Áß¿ä) ±âÁ¸ 5°³Â¥¸® ÇÏ´Ü ¹öÆ° ¼û±â±â (µ¿ÀÏ) */
#contents .fixed-btn {
    display: none !important;
}

/* ----- 2. »õ ¿É¼Ç ÆÐ³Î (µ¿ÀÏ) ----- */
#option-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 80vh; 
    background-color: #ffffff;
    z-index: 1000;
    transform: translateY(100%); 
    transition: transform 0.3s ease-in-out; 
    display: flex;
    flex-direction: column;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}
#option-panel.show { transform: translateY(0); }

/* ----- 3. µÞ¹è°æ ¿À¹ö·¹ÀÌ (µ¿ÀÏ) ----- */
#option-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
    z-index: 999;
    display: none; 
}
#option-overlay.show { display: block; }

/* --- 4. ¿É¼Ç ÆÐ³Î ³»ºÎ ½ºÅ¸ÀÏ (µ¿ÀÏ) --- */
.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}
.panel-header h3 { font-size: 18px; font-weight: bold; margin: 0; }
.panel-header #close-option-panel { font-size: 24px; font-weight: bold; color: #333; background: none; border: none; cursor: pointer; }

.panel-body {
    flex: 1; 
    overflow-y: auto; 
    padding: 20px;
}

.panel-footer {
    padding: 15px;
    background-color: #f9f9f9;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.05);
    border-top: 1px solid #eee;
}

/* ÆË¾÷Ã¢ ³»ºÎ ¹öÆ°µé (µ¿ÀÏ) */
.panel-action-buttons { display: flex; gap: 10px; } 
.panel-action-buttons a { 
    flex: 1; 
    padding: 15px; 
    text-align: center; 
    font-size: 16px; 
    font-weight: bold; 
    text-decoration: none; 
    border-radius: 5px; 
    border: none;
    transition: filter 0.2s ease; 
}
/* 'Àå¹Ù±¸´Ï' ¹öÆ° (´ÙÅ© ±×·¹ÀÌ) */
.panel-action-buttons a.panel-cart-btn { 
    background-color: #555555; 
    color: white; 
}
/* '¹Ù·Î±¸¸Å' ¹öÆ° (ÁÖÈ²»ö) */
.panel-action-buttons a.panel-buy-btn { 
    background-color: #D9531E; 
    color: white; 
}


/* --- 5. '¿É¼Ç ½Ã½ºÅÛ' µ¤¾î¾²±â ½ºÅ¸ÀÏ (µ¿ÀÏ) --- */
.panel-body .option_area {
    background: none; 
    border: none; 
    padding: 0; 
}
.panel-body .option_area .tit_opt {
    display: none;
}
.panel-body .option_area .btn_close {
    display: none;
}
.panel-body .shopdetailInfoSelect .basic_option,
.panel-body .shopdetailInfoSelect .add_option {
    width: 100% !important;
    padding: 12px;
    font-size: 16px;
    margin-bottom: 10px;
    margin-top: 5px; /* [Ãß°¡] ÀÌ ÇÑ ÁÙÀ» ³Ö¾îÁÖ¼¼¿ä */
    border: 1px solid #ccc;
    border-radius: 5px;
    height: auto; 
}
.panel-body .shopdetailMultiSelect {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    margin-top: 15px; 
}
.panel-body .shopdetailMultiSelect .total {
    padding: 15px 5px 5px 5px; 
    margin-top: 10px;
    border-top: 1px solid #eee; 
}
.panel-body .shopdetailMultiSelect .MK_txt-total {
    font-size: 16px;
    font-weight: bold;
}
.panel-body .shopdetailMultiSelect #MK_p_total {
    font-size: 24px;
    font-weight: bold;
    color: #e50000; /* ÃÑ ±Ý¾×Àº ´«¿¡ ¶ç°Ô ·¹µå·Î À¯Áö */
}

/* --- 6. ÆË¾÷Ã¢ ³»ºÎ ½ºÅ¸ÀÏ º¸Á¤ (µ¿ÀÏ) --- */
#option-panel .today-delivery {
    display: none !important;
}
#option-panel .buy_on {
    display: none !important;
}

/* --- 7. '¼±¹°ÇÏ±â' ¸ðµå CSS (µ¿ÀÏ) --- */
/* '¼±¹°ÇÏ±â' ¹öÆ° (ÆË¾÷) - ÁÖÈ²»ö */
.panel-action-buttons a.panel-gift-btn {
    background-color: #D9531E;
    color: white;
}
.panel-action-buttons.gift-mode {
    display: none;
}
#option-panel.gift-mode-active .panel-action-buttons.buy-mode {
    display: none; 
}
#option-panel.gift-mode-active .panel-action-buttons.gift-mode {
    display: flex; 
}



/* BASIC css end */

