.wcot-box {
    width: 100%;
    max-width: 450px;
    margin: 40px auto;
    padding: 25px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    font-family: IRANSans, sans-serif;
}

.wcot-box h2 {
    text-align: center;
    margin-bottom: 25px;
}

.wcot-box form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wcot-box input {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
}

.wcot-box button {
    padding: 12px;
    background: #3fdf76;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 17px;
    cursor: pointer;
}

.wcot-box button:hover {
    background: #3fdf76;
}

.wcot-result {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    background: #f3faff;
}

.wcot-error {
    margin-top: 15px;
    color: red;
    font-weight: bold;
}
.wcot-items-list {
    list-style: none;
    padding: 0;
    margin-top: 10px;
    display: grid; /* استفاده از گرید برای چیدمان بهتر */
    gap: 12px;
}

.wcot-item {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column; /* چیدمان عمودی برای جزئیات */
}

.wcot-item-header {
    margin-bottom: 8px;
}

.wcot-product-name {
    font-weight: 700;
    font-size: 1.1em;
    color: #333;
}

.wcot-item-attributes {
    margin-top: 6px;
    padding-left: 5px;
    display: grid; /* ویژگی ها هم در گرید */
    gap: 4px;
}

.wcot-attribute {
    font-size: 0.9em;
    color: #555;
}

.wcot-attribute strong {
    color: #222;
}

.wcot-item-footer {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #ccc;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wcot-quantity {
    font-size: 0.9em;
    color: #666;
}

.wcot-price {
    font-weight: 700;
    font-size: 1em;
    color: #0d6efd; /* آبی تیره برای قیمت */
}

/* استایل‌های قدیمی‌تر که ممکن است لازم نباشند یا اصلاح شوند */
.wcot-result hr {
    margin: 20px 0;
    border: 0;
    border-top: 1px solid #eee;
}
.wcot-result h4 {
    margin-bottom: 15px;
    color: #444;
    font-size: 1.1em;
}
.wcot-result p {
    margin-bottom: 5px;
}
.wcot-result strong {
    color: #333;
}
