/* General Dropdown Styles */


.product-title {
    text-align: left;
    margin-bottom: 20px;
}

p.product-price {
    text-align: left;
    margin-bottom: 50px;
}

p.product-price .amount {
    font-weight: 500;
}

p.extra-content {
    text-align: left;
}

.custom-dropdown {
    position: relative;
}

.dropdown-trigger {
    font-size: 14px;
    color: #333;
    padding: 10px 19px;
    border: 1px solid #99897e;
    border-radius: 50px;
    display: flex;
    justify-content: space-between;
}

.dropdown-trigger-icon {
    display: flex;
    align-items: center;
}


.dropdown-options {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    z-index: 1000;
    display: none;
}

.dropdown-options.show {
    display: block;
}

.dropdown-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.dropdown-option:last-child {
    border-bottom: none;
}

/* Flex Layout for Variation Options */
.main-div {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 5px;
}

.info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 70%;
}

.info .va {
    font-weight: bold;
    margin-bottom: 3px;
}

.info .pr {
    margin-bottom: 2px;
    color: #333;
}

.info .kl {
    font-size: 0.9em;
    color: #555;
    display: block;
    margin-top: 5px;
}

button.add-to-cart {
    min-width: 90px;
    height: 35px;
    background-color: var(--e-global-color-accent);
    color: white;
    padding: 5px 10px;
    border: none;
    cursor: pointer;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(var(--desktop-columns, 3), 1fr);
    gap: 20px;
}

@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(var(--tablet-columns, 2), 1fr);
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(var(--mobile-columns, 1), 1fr);
    }
    
    .product-tab-widget-tabs {
        width: auto;
		white-space: nowrap;
    }
}

/* Product Item Styling */
.product-item {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 4px;
    background-color: #fff;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-tab-widget, .product-tab-widget-content, .product-tab-widget-tabs, .product-tab-widget-content-wrapper {
    margin: 0 auto;
    width: auto !important;
}

/* Tabs Styling */
.product-tab-widget-tabs{
	overflow:auto;
	white-space: nowrap;
}
.product-tab-widget .tabs {
    display: flex;
    flex-wrap: nowrap;
}

.product-tab-widget .tabs .tab {
    cursor: pointer;
    padding: 10px 20px;
    background-color: #fff;
    margin-right: 10px;
    border-radius: 4px 4px 0 0;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.product-tab-widget .tabs .tab.active {
    background-color: var(--e-global-color-accent);
    color: #fff;
    font-weight: bold;
}

.product-tab-widget .tabs .tab:hover {
    background-color: var(--e-global-color-accent);
    color: #fff;
}

h3.tab-title, .tab-description {
    margin: 0;
    padding-bottom: 20px;
}

/* Tab Content */
.product-tab-widget .tab-content {
    padding: 20px 0;
}

.product-tab-widget .tab-content:not(.product-tab-widget .tab-content#tab-0) {
    display: none;
}