/**
 * Custom Made Notice Block Styles
 * 
 * Card-style notice block for product pages
 */

.custom-notice-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 24px;
    margin: 24px 0;
    display: block;
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

.custom-notice-card__header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    padding-right: 32px;
}

.custom-notice-card__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    border: 1px solid #e5e5e5;
    border-radius: 50%;
    background: #ffffff;
    color: #666;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.custom-notice-card__close:hover {
    color: #333;
    border-color: #d5d5d5;
}

.custom-notice-card__close:focus {
    outline: 2px solid #ffc000;
    outline-offset: 2px;
}

.custom-notice-card__product-img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    border: 2px solid #e5e5e5;
    object-fit: cover;
    flex-shrink: 0;
}

.custom-notice-card__title {
    font-size: 17px;
    color: #333;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
    flex: 1;
}

.custom-notice-card__body {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.custom-notice-card__body strong {
    color: #333;
    font-weight: 600;
}

.custom-notice-card__cta {
    display: inline-block;
    background: #ffc000;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    text-align: center;
}

.custom-notice-card__cta:hover {
    background: #e6ad00;
    color: #ffffff;
    text-decoration: none;
}

.custom-notice-card__cta:focus {
    outline: 2px solid #ffc000;
    outline-offset: 2px;
}

/* Responsive Design - Tablet */
@media (max-width: 1024px) and (min-width: 769px) {
    .custom-notice-card {
        padding: 20px;
    }
    
    .custom-notice-card__title {
        font-size: 16px;
    }
    
    .custom-notice-card__body {
        font-size: 13px;
    }
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
    .custom-notice-card {
        padding: 16px;
        margin: 16px 0;
    }
    
    .custom-notice-card__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .custom-notice-card__product-img {
        width: 50px;
        height: 50px;
    }
    
    .custom-notice-card__title {
        font-size: 16px;
    }
    
    .custom-notice-card__body {
        font-size: 13px;
        margin-bottom: 16px;
    }
    
    .custom-notice-card__cta {
        width: 100%;
        display: block;
        text-align: center;
        padding: 12px 20px;
    }
}
