.eecb-enhanced-cart-wrapper {
display: flex;
flex-direction: column;
gap: 15px;
max-width: 100%;
} .eecb-price-wrapper {
display: flex;
align-items: center;
justify-content: flex-start;
}
.eecb-price {
font-size: 24px;
font-weight: 600;
color: #2c3e50;
line-height: 1.2;
}
.eecb-price .woocommerce-Price-amount {
font-weight: inherit;
}
.eecb-price-from {
font-size: 16px;
font-weight: 400;
color: #6c757d;
margin-right: 8px;
display: inline-block;
} .eecb-stock-wrapper {
display: flex;
align-items: center;
justify-content: flex-start;
}
.eecb-stock-status {
padding: 6px 12px;
border-radius: 4px;
font-size: 14px;
font-weight: 500;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.eecb-stock-status.in-stock {
background-color: #d4edda;
color: #155724;
border: 1px solid #c3e6cb;
}
.eecb-stock-status.out-of-stock {
background-color: #f8d7da;
color: #721c24;
border: 1px solid #f5c6cb;
}
.eecb-stock-status.low-stock {
background-color: #fff3cd;
color: #856404;
border: 1px solid #ffeaa7;
} .eecb-variations-wrapper {
display: flex;
flex-direction: column;
gap: 12px;
}
.eecb-variations-form {
width: 100%;
}
.eecb-variations {
display: flex;
flex-direction: column;
gap: 15px;
}
.eecb-variation-attribute {
display: flex;
flex-direction: column;
gap: 8px;
}
.eecb-variation-attribute label {
font-weight: 600;
color: #2c3e50;
font-size: 14px;
margin: 0;
}
.eecb-variation-select {
width: 100%;
padding: 12px 16px;
border: 2px solid #e9ecef;
border-radius: 6px;
font-size: 14px;
background-color: #ffffff;
color: #2c3e50;
transition: all 0.2s ease;
cursor: pointer;
appearance: none;
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
background-position: right 12px center;
background-repeat: no-repeat;
background-size: 16px 12px;
padding-right: 40px;
}
.eecb-variation-select:hover {
border-color: #3498db;
}
.eecb-variation-select:focus {
outline: none;
border-color: #2271b1;
box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.1);
} .eecb-button-wrapper {
display: flex;
align-items: center;
justify-content: flex-start;
margin-top: 10px;
}
.eecb-button {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 12px 24px;
background-color: #2271b1;
color: #ffffff;
border: none;
border-radius: 6px;
font-size: 14px;
font-weight: 600;
text-decoration: none;
text-transform: uppercase;
letter-spacing: 0.5px;
cursor: pointer;
transition: all 0.3s ease;
min-width: 160px;
text-align: center;
line-height: 1.2;
}
.eecb-button:hover {
background-color: #1e5f8c;
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(34, 113, 177, 0.3);
}
.eecb-button:active {
transform: translateY(0);
}
.eecb-button:disabled,
.eecb-button.disabled {
background-color: #6c757d;
color: #ffffff;
cursor: not-allowed;
opacity: 0.6;
transform: none;
box-shadow: none;
}
.eecb-button:disabled:hover,
.eecb-button.disabled:hover {
background-color: #6c757d;
transform: none;
box-shadow: none;
} .eecb-button.loading {
position: relative;
color: transparent;
}
.eecb-button.loading::after {
content: "";
position: absolute;
width: 20px;
height: 20px;
top: 50%;
left: 50%;
margin-left: -10px;
margin-top: -10px;
border: 2px solid #ffffff;
border-radius: 50%;
border-top-color: transparent;
animation: eecb-spin 1s linear infinite;
}
@keyframes eecb-spin {
to {
transform: rotate(360deg);
}
} .eecb-stock-details {
margin-top: 8px;
padding-top: 8px;
border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.eecb-stock-details small {
display: block;
font-weight: 600;
margin-bottom: 4px;
color: inherit;
}
.eecb-stock-details ul {
margin: 4px 0 0 0;
padding-left: 20px;
list-style-type: disc;
}
.eecb-stock-details li {
font-size: 0.875em;
line-height: 1.4;
margin-bottom: 2px;
} @media (max-width: 768px) {
.eecb-enhanced-cart-wrapper {
gap: 12px;
}
.eecb-price {
font-size: 20px;
}
.eecb-price-from {
font-size: 14px;
}
.eecb-variation-select {
padding: 10px 14px;
font-size: 14px;
padding-right: 35px;
background-size: 14px 10px;
background-position: right 10px center;
}
.eecb-button {
padding: 12px 24px;
font-size: 14px;
min-width: 180px;
}
.eecb-variations {
gap: 12px;
}
.eecb-variation-attribute {
gap: 6px;
}
}
@media (max-width: 480px) {
.eecb-enhanced-cart-wrapper {
gap: 10px;
}
.eecb-price {
font-size: 18px;
}
.eecb-price-from {
font-size: 13px;
margin-right: 6px;
}
.eecb-variation-select {
padding: 8px 12px;
font-size: 13px;
padding-right: 32px;
background-size: 12px 8px;
background-position: right 8px center;
}
.eecb-button {
padding: 10px 20px;
font-size: 13px;
min-width: 160px;
letter-spacing: 0.3px;
}
.eecb-stock-status {
padding: 4px 8px;
font-size: 12px;
}
} .elementor-widget-eecb-enhanced-cart-button { } .eecb-variation-attribute label {
color: #333 !important;
}
.eecb-variation-select {
background-color: #ffffff !important;
color: #333 !important;
border-color: #ccc !important;
color-scheme: light !important;
}
.eecb-variation-select option {
background-color: #ffffff !important;
color: #333 !important;
} @media (prefers-color-scheme: dark) {
.eecb-variation-attribute label {
color: #333 !important;
}
.eecb-variation-select {
background-color: #ffffff !important;
color: #333 !important;
border-color: #ccc !important;
color-scheme: light !important;
}
.eecb-variation-select option {
background-color: #ffffff !important;
color: #333 !important;
}
} .eecb-swal-icon {
margin-bottom: 20px !important;
} .swal2-backdrop-show {
background: rgba(0, 0, 0, 0.5) !important;
backdrop-filter: blur(5px);
} .swal2-icon.swal2-success {
border-color: transparent !important;
background: none !important;
}
.swal2-icon.swal2-success .swal2-success-ring {
display: none !important;
} .eecb-enhanced-cart-wrapper {
animation: eecb-fadeIn 0.3s ease-out;
}
@keyframes eecb-fadeIn {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
} .eecb-price,
.eecb-stock-status {
transition: all 0.2s ease;
} .eecb-variation-select:focus-visible,
.eecb-button:focus-visible {
outline: 2px solid #2271b1;
outline-offset: 2px;
} .eecb-variation-select[aria-invalid="true"] {
border-color: #dc3545;
box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}
.eecb-button[aria-busy="true"] {
pointer-events: none;
} .eecb-button.size-small {
padding: 8px 16px;
font-size: 12px;
min-width: 120px;
}
.eecb-button.size-large {
padding: 18px 36px;
font-size: 18px;
min-width: 240px;
} .eecb-error-message {
color: #dc3545;
font-size: 14px;
margin-top: 8px;
padding: 8px 12px;
background-color: #f8d7da;
border: 1px solid #f5c6cb;
border-radius: 4px;
} .eecb-success-message {
color: #155724;
font-size: 14px;
margin-top: 8px;
padding: 8px 12px;
background-color: #d4edda;
border: 1px solid #c3e6cb;
border-radius: 4px;
} .eecb-swal-popup {
border-radius: 20px !important;
border: none !important;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important;
overflow: hidden !important;
}
.eecb-swal-title {
font-size: 26px !important;
font-weight: 700 !important;
color: #1a1a1a !important;
margin-bottom: 10px !important;
}
.eecb-swal-content {
text-align: left !important;
padding: 0 !important;
}
.eecb-cart-summary {
display: flex;
align-items: flex-start;
gap: 20px;
padding: 25px;
background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
border-radius: 16px;
margin: 20px 0;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}
.eecb-product-image {
flex-shrink: 0;
}
.eecb-product-image img {
border-radius: 12px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.eecb-product-details {
flex: 1;
min-width: 0;
}
.eecb-product-details h4 {
font-weight: 600;
line-height: 1.3;
word-wrap: break-word;
}
.eecb-swal-confirm {
background: #000 !important;
color: #fff !important;
border: none !important;
border-radius: 10px !important;
padding: 14px 32px !important;
font-weight: 600 !important;
font-size: 15px !important;
transition: all 0.3s ease !important;
text-decoration: none !important;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}
.eecb-swal-confirm:hover {
background: #333 !important;
color: #fff !important;
transform: translateY(-2px) !important;
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25) !important;
text-decoration: none !important;
}
.eecb-swal-confirm:focus {
color: #fff !important;
text-decoration: none !important;
box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.15) !important;
}
.eecb-swal-cancel {
background: #f5f5f5 !important;
color: #333 !important;
border: none !important;
border-radius: 10px !important;
padding: 14px 32px !important;
font-weight: 600 !important;
font-size: 15px !important;
transition: all 0.3s ease !important;
text-decoration: none !important;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
}
.eecb-swal-cancel:hover {
background: #e8e8e8 !important;
color: #000 !important;
transform: translateY(-2px) !important;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12) !important;
text-decoration: none !important;
}
.eecb-swal-cancel:focus {
color: #333 !important;
text-decoration: none !important;
box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1) !important;
} .swal2-popup.swal2-show.eecb-swal-popup {
animation: eecb-swal-show 0.3s ease-out !important;
}
@keyframes eecb-swal-show {
0% {
transform: scale(0.8);
opacity: 0;
}
100% {
transform: scale(1);
opacity: 1;
}
} .eecb-button.stock-insufficient {
background-color: #dc3545 !important;
color: #ffffff !important;
border-color: #dc3545 !important;
cursor: not-allowed !important;
opacity: 0.9 !important;
}
.eecb-button.stock-insufficient:hover {
background-color: #c82333 !important;
transform: none !important;
box-shadow: none !important;
}
.eecb-button.stock-insufficient:disabled {
background-color: #dc3545 !important;
opacity: 0.7 !important;
} .eecb-stock-checking {
color: #6c757d !important;
font-size: 14px !important;
display: flex !important;
align-items: center !important;
margin-top: 10px !important;
}
.eecb-stock-warning {
margin-top: 10px !important;
padding: 12px !important;
background: #fff3cd !important;
border: 1px solid #ffeaa7 !important;
border-radius: 6px !important;
color: #856404 !important;
}
.eecb-stock-warning svg {
flex-shrink: 0;
} @keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
.eecb-spinner {
display: inline-block;
width: 16px;
height: 16px;
border: 2px solid #ddd;
border-top: 2px solid #007cba;
border-radius: 50%;
animation: spin 1s linear infinite;
margin-right: 8px;
} @media (max-width: 480px) {
.eecb-swal-popup {
width: 95% !important;
margin: 0 auto !important;
}
.eecb-cart-summary {
flex-direction: column;
text-align: center;
gap: 10px;
}
.eecb-product-image {
align-self: center;
}
.eecb-product-details h4 {
font-size: 14px !important;
}
.eecb-stock-warning {
padding: 10px !important;
font-size: 13px !important;
}
} .eecb-cross-sells {
margin-top: 35px;
padding: 25px;
background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
border-radius: 16px;
box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.05);
}
.eecb-cross-sells h5 {
margin: 0 0 20px 0;
color: #000;
font-size: 18px;
font-weight: 600;
text-align: center;
}
.eecb-cross-sells-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
gap: 20px;
}
.eecb-cross-sell-item {
text-align: center;
background: #fff;
border-radius: 12px;
padding: 15px;
transition: all 0.3s ease;
box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
cursor: pointer;
}
.eecb-cross-sell-item:hover {
transform: translateY(-4px);
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}
.eecb-cross-sell-item img {
width: 100%;
height: 140px;
object-fit: cover;
border-radius: 8px;
margin-bottom: 12px;
transition: transform 0.3s ease;
}
.eecb-cross-sell-item:hover img {
transform: scale(1.05);
}
.eecb-cross-sell-item h6 {
margin: 0 0 8px 0;
font-size: 14px;
color: #1a1a1a;
font-weight: 600;
line-height: 1.4;
min-height: 40px;
}
.eecb-cross-sell-item .price {
color: #000;
font-weight: 700;
font-size: 18px;
margin-bottom: 12px;
} .eecb-btn-view,
.eecb-quick-add {
display: inline-block;
padding: 5px 10px;
text-decoration: none;
border-radius: 4px;
font-size: 12px;
font-weight: 500;
transition: all 0.2s ease;
width: 100%;
text-align: center;
cursor: pointer;
border: none;
}
.eecb-btn-view {
background: #f5f5f5;
color: #333;
border: none;
border-radius: 8px;
font-weight: 600;
font-size: 13px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}
.eecb-btn-view:hover {
background: #e8e8e8;
color: #000;
text-decoration: none;
transform: translateY(-1px);
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}
.eecb-quick-add {
background: #000;
color: #fff;
border: none;
border-radius: 8px;
font-weight: 600;
font-size: 13px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.eecb-quick-add:hover {
background: #333;
color: #fff;
text-decoration: none;
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.eecb-quick-add:disabled {
background: #ccc;
color: #666;
border-color: #ccc;
cursor: not-allowed;
opacity: 0.8;
} .eecb-cross-sell-item {
animation: eecb-fadeInUp 0.5s ease-out;
animation-fill-mode: both;
}
.eecb-cross-sell-item:nth-child(1) { animation-delay: 0.1s; }
.eecb-cross-sell-item:nth-child(2) { animation-delay: 0.2s; }
.eecb-cross-sell-item:nth-child(3) { animation-delay: 0.3s; }
.eecb-cross-sell-item:nth-child(4) { animation-delay: 0.4s; }
@keyframes eecb-fadeInUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
} .eecb-cross-sell-badge {
position: absolute;
top: 10px;
right: 10px;
background: #ff4444;
color: white;
padding: 4px 8px;
border-radius: 4px;
font-size: 11px;
font-weight: 600;
text-transform: uppercase;
} @media (max-width: 600px) {
.eecb-cross-sells-grid {
grid-template-columns: repeat(2, 1fr);
gap: 15px;
}
.eecb-cross-sell-item {
padding: 8px;
}
.eecb-cross-sell-item img {
height: 100px;
}
.eecb-cross-sell-item h6 {
font-size: 12px;
}
.eecb-btn-view,
.eecb-quick-add {
font-size: 11px;
padding: 4px 8px;
}
} @keyframes eecb-success-pulse {
0% {
transform: scale(1);
}
50% {
transform: scale(1.05);
}
100% {
transform: scale(1);
}
}
.eecb-quick-add[disabled] {
animation: eecb-success-pulse 0.3s ease;
} .eecb-dashboard-modal {
max-width: 1200px !important;
border-radius: 20px !important;
overflow: hidden !important;
} .eecb-dashboard-modal .swal2-popup {
padding: 0 !important;
display: flex !important;
flex-direction: column !important;
}
.eecb-modal-dashboard {
display: flex;
flex-direction: column;
gap: 0;
} .eecb-dashboard-header {
background: linear-gradient(135deg, #f8f8f8 0%, #efefef 100%);
padding: 20px 30px;
border-radius: 20px 20px 0 0;
text-align: center;
}
.eecb-dashboard-title {
font-size: 22px;
font-weight: 600;
color: #000;
margin: 0;
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
} .eecb-added-product-section,
.eecb-cross-sells-section {
padding: 25px 30px;
}
.eecb-section-title {
font-size: 18px;
font-weight: 600;
color: #000;
margin: 0 0 20px 0;
display: flex;
align-items: center;
gap: 8px;
} .eecb-middle-section {
display: flex;
gap: 25px;
padding: 25px 30px;
border-bottom: 1px solid #eee;
} .eecb-added-product-column {
flex: 0 0 60%;
} .eecb-cart-state-column {
flex: 0 0 40%;
min-width: 300px;
}
.eecb-modal-dashboard .eecb-cart-summary {
background: #f9f9f9;
padding: 20px;
border-radius: 12px;
gap: 20px;
box-shadow: none;
border: 1px solid #e8e8e8;
}
.eecb-modal-dashboard .eecb-product-image img {
width: 80px;
height: 80px;
object-fit: cover;
border-radius: 12px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.eecb-modal-dashboard .eecb-product-details {
flex: 1;
}
.eecb-modal-dashboard .eecb-product-details h5 {
margin: 0 0 8px 0;
font-size: 16px;
font-weight: 600;
color: #000;
}
.eecb-modal-dashboard .eecb-variation-info {
color: #666;
font-size: 14px;
margin: 0 0 12px 0;
}
.eecb-modal-dashboard .eecb-product-meta {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 15px;
}
.eecb-modal-dashboard .eecb-quantity {
color: #666;
font-size: 14px;
}
.eecb-modal-dashboard .eecb-quantity strong {
color: #000;
font-weight: 600;
}
.eecb-modal-dashboard .eecb-price {
font-size: 20px;
font-weight: 700;
color: #000;
} .eecb-cross-sells-section {
background: #fafafa;
}
.eecb-modal-dashboard .eecb-cross-sells-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 20px;
}
.eecb-modal-dashboard .eecb-cross-sell-item {
background: #fff;
border-radius: 12px;
padding: 15px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
transition: all 0.3s ease;
display: flex;
flex-direction: column;
}
.eecb-modal-dashboard .eecb-cross-sell-item:hover {
transform: translateY(-3px);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.eecb-modal-dashboard .eecb-item-image {
width: 100%;
height: 150px;
overflow: hidden;
border-radius: 8px;
margin-bottom: 12px;
}
.eecb-modal-dashboard .eecb-item-image img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.3s ease;
}
.eecb-modal-dashboard .eecb-cross-sell-item:hover .eecb-item-image img {
transform: scale(1.05);
}
.eecb-modal-dashboard .eecb-cross-sell-item h6 {
font-size: 14px;
font-weight: 600;
color: #000;
margin: 0 0 8px 0;
line-height: 1.4;
flex-grow: 1;
}
.eecb-modal-dashboard .eecb-item-price {
font-size: 18px;
font-weight: 700;
color: #000;
margin-bottom: 12px;
}
.eecb-modal-dashboard .eecb-item-actions {
width: 100%;
}
.eecb-modal-dashboard .eecb-btn-view,
.eecb-modal-dashboard .eecb-quick-add {
display: block;
width: 100%;
padding: 10px 16px;
text-align: center;
text-decoration: none;
border-radius: 8px;
font-size: 13px;
font-weight: 600;
transition: all 0.2s ease;
}
.eecb-modal-dashboard .eecb-quick-add {
background: #000;
color: #fff;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.eecb-modal-dashboard .eecb-quick-add:hover {
background: #333;
transform: translateY(-1px);
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}
.eecb-modal-dashboard .eecb-quick-add:disabled {
background: #4caf50 !important;
cursor: not-allowed;
}
.eecb-modal-dashboard .eecb-btn-view {
background: #f5f5f5;
color: #333;
}
.eecb-modal-dashboard .eecb-btn-view:hover {
background: #e8e8e8;
color: #000;
} .eecb-modal-actions {
padding: 20px 30px !important;
background: #f8f8f8 !important;
border-top: 1px solid #e8e8e8 !important;
justify-content: flex-end !important;
gap: 15px !important;
width: 100% !important;
margin: 0 !important;
border-radius: 0 0 20px 20px !important;
} .eecb-dashboard-modal .swal2-actions {
width: 100% !important;
margin: 0 !important;
padding: 0 !important;
} .eecb-dashboard-modal .swal2-html-container {
padding: 0 !important;
margin: 0 !important;
overflow: visible !important;
} .eecb-cart-state-column {
background: #f8f8f8;
border-radius: 12px;
padding: 20px;
}
.eecb-cart-state-column .eecb-section-title {
font-size: 16px;
margin-bottom: 15px;
}
.eecb-cart-items-list {
display: flex;
flex-direction: column;
gap: 10px;
} .eecb-cart-item {
display: flex;
align-items: center;
gap: 10px;
padding: 10px;
background: #fff;
border-radius: 8px;
border: 1px solid #e8e8e8;
font-size: 13px;
}
.eecb-cart-item:hover {
background: #f5f5f5;
border-color: #ddd;
}
.eecb-cart-item-image {
width: 35px;
height: 35px;
flex-shrink: 0;
}
.eecb-cart-item-image img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 4px;
}
.eecb-cart-item-details {
flex: 1;
min-width: 0;
}
.eecb-cart-item-details h6 {
margin: 0;
font-size: 12px;
font-weight: 600;
color: #000;
line-height: 1.3;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.eecb-cart-item-details .eecb-variation-info {
margin: 2px 0 0 0;
font-size: 11px;
color: #666;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.eecb-cart-item-quantity {
font-size: 12px;
color: #666;
font-weight: 500;
}
.eecb-cart-item-price {
font-size: 13px;
font-weight: 600;
color: #000;
white-space: nowrap;
margin-left: auto;
}
.eecb-cart-subtotal {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 15px;
padding-top: 15px;
border-top: 2px solid #e8e8e8;
font-size: 14px;
}
.eecb-cart-subtotal strong {
font-size: 16px;
color: #000;
} @media (max-width: 768px) {
.eecb-modal-dashboard .eecb-cross-sells-grid {
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
gap: 15px;
}
.eecb-dashboard-header,
.eecb-middle-section,
.eecb-cross-sells-section {
padding: 20px;
}
.eecb-dashboard-title {
font-size: 18px;
}
.eecb-middle-section {
flex-direction: column;
gap: 20px;
}
.eecb-added-product-column,
.eecb-cart-state-column {
flex: 1 1 100%;
min-width: auto;
}
.eecb-cart-item {
padding: 8px;
}
.eecb-cart-item-image {
width: 30px;
height: 30px;
}
.eecb-cart-item-details h6 {
font-size: 11px;
}
.eecb-cart-item-price {
font-size: 12px;
}
}.eecb-gallery-widget {
width: 100%;
position: relative;
}
.eecb-gallery-wrapper {
display: flex;
gap: 20px;
} .eecb-gallery-wrapper.eecb-gallery-bottom {
flex-direction: column;
}
.eecb-gallery-wrapper.eecb-gallery-left {
flex-direction: row;
}
.eecb-gallery-wrapper.eecb-gallery-left .eecb-gallery-thumbnails-wrapper {
order: -1;
}
.eecb-gallery-wrapper.eecb-gallery-right {
flex-direction: row;
} .eecb-gallery-main-wrapper {
flex: 1;
position: relative;
overflow: hidden;
}
.eecb-gallery-main-image {
width: 100%;
height: 500px;
background: #ffffff;
border-radius: 12px;
overflow: hidden;
position: relative;
cursor: zoom-in;
transition: all 0.3s ease;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.eecb-gallery-main-image img {
width: 100%;
height: 100%;
object-fit: contain;
object-position: center;
transition: transform 0.3s ease;
} .eecb-gallery-main-image.zoom-enabled:hover img {
transform: scale(1.05);
} .eecb-gallery-thumbnails-wrapper {
flex-shrink: 0;
}
.eecb-gallery-thumbnails {
display: flex;
gap: 10px;
flex-wrap: wrap;
} .eecb-gallery-left .eecb-gallery-thumbnails-wrapper,
.eecb-gallery-right .eecb-gallery-thumbnails-wrapper {
max-width: 100px;
}
.eecb-gallery-left .eecb-gallery-thumbnails,
.eecb-gallery-right .eecb-gallery-thumbnails {
flex-direction: column;
}
.eecb-gallery-left .eecb-gallery-variants-separator,
.eecb-gallery-right .eecb-gallery-variants-separator {
writing-mode: vertical-lr;
text-orientation: mixed;
height: auto;
width: 100%;
border-top: none;
border-left: 1px solid #e0e0e0;
padding: 5px 0 10px 5px;
margin: 10px 0;
}
.eecb-gallery-bottom .eecb-gallery-thumbnails {
flex-direction: row;
justify-content: center;
} .eecb-gallery-variants-separator {
width: 100%;
margin: 20px 0 10px 0;
padding: 10px 0 5px 0;
border-top: 1px solid #e0e0e0;
display: flex;
align-items: center;
gap: 10px;
}
.eecb-gallery-variants-separator span {
font-weight: 600;
color: #333;
font-size: 14px;
text-transform: uppercase;
letter-spacing: 0.5px;
} .eecb-gallery-images,
.eecb-gallery-variants {
display: flex;
gap: 10px;
flex-wrap: wrap;
} .eecb-gallery-thumbnail {
width: 80px;
height: 80px;
border-radius: 8px;
overflow: hidden;
cursor: pointer;
opacity: 0.7;
transition: all 0.3s ease;
border: 2px solid #e0e0e0;
background: #ffffff;
} .eecb-variant-wrapper {
display: flex;
flex-direction: column;
align-items: center;
gap: 5px;
} .eecb-variant-thumbnail {
position: relative;
}
.eecb-variant-thumbnail::after {
content: "";
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 4px;
background: #2271b1;
opacity: 0;
transition: opacity 0.3s ease;
}
.eecb-variant-thumbnail:hover::after {
opacity: 1;
} .eecb-variant-price {
font-size: 13px;
font-weight: 600;
color: #2271b1;
text-align: center;
padding: 2px 5px;
background: rgba(34, 113, 177, 0.08);
border-radius: 4px;
white-space: nowrap;
transition: all 0.3s ease;
}
.eecb-variant-wrapper:hover .eecb-variant-price {
background: rgba(34, 113, 177, 0.15);
transform: translateY(-2px);
} .eecb-gallery-left .eecb-variant-wrapper,
.eecb-gallery-right .eecb-variant-wrapper {
width: 100%;
}
.eecb-gallery-left .eecb-variant-price,
.eecb-gallery-right .eecb-variant-price {
font-size: 12px;
padding: 1px 3px;
}
.eecb-gallery-thumbnail img {
width: 100%;
height: 100%;
object-fit: contain;
object-position: center;
}
.eecb-gallery-thumbnail:hover {
opacity: 0.9;
transform: translateY(-2px);
}
.eecb-gallery-thumbnail.active {
opacity: 1;
border-color: #2271b1;
box-shadow: 0 2px 8px rgba(34, 113, 177, 0.3);
} .eecb-gallery-image-changing .eecb-gallery-image {
opacity: 0.5;
}
.eecb-gallery-image-fade-in {
animation: eecb-fade-in 0.4s ease-out;
}
@keyframes eecb-fade-in {
from {
opacity: 0;
transform: scale(0.95);
}
to {
opacity: 1;
transform: scale(1);
}
} .eecb-gallery-loading {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 10;
}
.eecb-gallery-loading::after {
content: "";
display: block;
width: 40px;
height: 40px;
border: 3px solid #f3f3f3;
border-top: 3px solid #2271b1;
border-radius: 50%;
animation: eecb-spin 1s linear infinite;
}
@keyframes eecb-spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
} .eecb-gallery-zoomed {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.9);
z-index: 999999;
display: flex;
align-items: center;
justify-content: center;
cursor: zoom-out;
}
.eecb-gallery-zoomed img {
max-width: 90vw;
max-height: 90vh;
object-fit: contain;
} .eecb-gallery-zoom-close {
position: absolute;
top: 20px;
right: 20px;
width: 40px;
height: 40px;
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.3);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
color: #fff;
font-size: 24px;
transition: all 0.3s ease;
}
.eecb-gallery-zoom-close:hover {
background: rgba(255, 255, 255, 0.2);
} .eecb-gallery-zoom-nav {
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 50px;
height: 50px;
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.3);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
color: #fff;
font-size: 24px;
transition: all 0.3s ease;
}
.eecb-gallery-zoom-nav:hover {
background: rgba(255, 255, 255, 0.2);
}
.eecb-gallery-zoom-prev {
left: 20px;
}
.eecb-gallery-zoom-next {
right: 20px;
} @media (max-width: 768px) {
.eecb-gallery-wrapper {
flex-direction: column !important;
}
.eecb-gallery-main-image {
height: 400px;
}
.eecb-gallery-thumbnails {
flex-direction: row !important;
max-width: 100% !important;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
padding-bottom: 10px;
}
.eecb-gallery-thumbnail {
flex-shrink: 0;
width: 70px;
height: 70px;
}
}
@media (max-width: 480px) {
.eecb-gallery-main-image {
height: 300px;
border-radius: 8px;
}
.eecb-gallery-thumbnail {
width: 60px;
height: 60px;
}
} .elementor-editor-active .eecb-gallery-widget {
min-height: 400px;
}
.elementor-widget-empty-icon {
display: flex;
align-items: center;
justify-content: center;
height: 100%;
color: #ccc;
font-size: 50px;
}.e-n-accordion {
width: 100%;
margin: 0;
padding: 0;
} .e-n-accordion-item {
margin: 0;
padding: 0;
border: none;
background: transparent;
margin-bottom: 2px;
}
.e-n-accordion-item:last-child {
margin-bottom: 0;
} .e-n-accordion-item-title {
display: flex;
align-items: center;
justify-content: space-between;
cursor: pointer;
padding: 10px 15px;
background-color: transparent;
border: 1px solid #e8e8e8;
border-radius: 0;
transition: all 0.2s ease;
outline: none;
list-style: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
} .e-n-accordion-item-title::-webkit-details-marker {
display: none;
}
.e-n-accordion-item-title::marker {
display: none;
} .e-n-accordion-item-title:hover {
background-color: #fafafa;
border-color: #d0d0d0;
} .e-n-accordion-item-title:focus {
outline: 1px solid #d0d0d0;
outline-offset: -1px;
} .e-n-accordion-item-title-header {
flex: 1;
display: flex;
align-items: center;
} .e-n-accordion-item-title-text {
font-size: 14px;
font-weight: 400;
color: #444444;
line-height: 1.3;
margin: 0;
padding: 0;
letter-spacing: 0.2px;
} .e-n-accordion-item-title-icon {
display: flex;
align-items: center;
justify-content: center;
margin-left: 15px;
flex-shrink: 0;
}
.e-n-accordion-item-title-icon svg {
width: 14px;
height: 14px;
fill: #999999;
transition: transform 0.2s ease;
} .e-n-accordion-item[open] .e-opened {
display: block;
}
.e-n-accordion-item[open] .e-closed {
display: none;
}
.e-n-accordion-item:not([open]) .e-opened {
display: none;
}
.e-n-accordion-item:not([open]) .e-closed {
display: block;
} .e-n-accordion-item > .elementor-element {
padding: 0;
margin: 0;
background-color: transparent;
border: none;
border-radius: 0;
overflow: hidden;
}
.e-n-accordion-item[open] .e-n-accordion-item-title {
border-radius: 0;
border-bottom: 1px solid #e8e8e8;
background-color: #fafafa;
} .e-n-accordion-item .elementor-widget-container {
padding: 10px 15px 12px 15px;
border-left: 2px solid #f0f0f0;
margin-left: 15px;
} .e-n-accordion-item .elementor-widget-container p {
margin: 0 0 0.5em;
line-height: 1.5;
color: #666666;
font-size: 13px;
}
.e-n-accordion-item .elementor-widget-container p:last-child {
margin-bottom: 0;
}
.e-n-accordion-item .elementor-widget-container strong {
font-weight: 700;
color: #333333;
} @keyframes accordion-open {
0% {
opacity: 0;
transform: translateY(-10px);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
.e-n-accordion-item[open] > .elementor-element {
animation: accordion-open 0.3s ease-out;
} @media (max-width: 768px) {
.e-n-accordion-item-title {
padding: 8px 12px;
}
.e-n-accordion-item .elementor-widget-container {
padding: 8px 12px 10px 12px;
margin-left: 10px;
}
.e-n-accordion-item-title-text {
font-size: 13px;
}
.e-n-accordion-item-title-icon svg {
width: 12px;
height: 12px;
}
.e-n-accordion-item .elementor-widget-container p {
font-size: 12px;
}
} .elementor-editor-active .e-n-accordion-item {
pointer-events: none;
}
.elementor-editor-active .e-n-accordion-item-title {
cursor: default;
} .e-n-accordion-item:not([open]) > *:not(.e-n-accordion-item-title) {
display: none;
} .e-n-accordion-item-title[aria-expanded="true"] {
font-weight: 600;
} body.dark-mode .e-n-accordion-item-title {
background-color: #2a2a2a;
border-color: #444444;
color: #ffffff;
}
body.dark-mode .e-n-accordion-item-title-text {
color: #ffffff;
}
body.dark-mode .e-n-accordion-item-title-icon svg {
fill: #ffffff;
}
body.dark-mode .e-n-accordion-item > .elementor-element {
background-color: #1a1a1a;
border-color: #444444;
}
body.dark-mode .e-n-accordion-item .elementor-widget-container p {
color: #cccccc;
}.elementor-column .elementor-spacer-inner{height:var(--spacer-size)}.e-con{--container-widget-width:100%}.e-con-inner>.elementor-widget-spacer,.e-con>.elementor-widget-spacer{width:var(--container-widget-width,var(--spacer-size));--align-self:var( --container-widget-align-self,initial );--flex-shrink:0}.e-con-inner>.elementor-widget-spacer>.elementor-widget-container,.e-con>.elementor-widget-spacer>.elementor-widget-container{height:100%;width:100%}.e-con-inner>.elementor-widget-spacer>.elementor-widget-container>.elementor-spacer,.e-con>.elementor-widget-spacer>.elementor-widget-container>.elementor-spacer{height:100%}.e-con-inner>.elementor-widget-spacer>.elementor-widget-container>.elementor-spacer>.elementor-spacer-inner,.e-con>.elementor-widget-spacer>.elementor-widget-container>.elementor-spacer>.elementor-spacer-inner{height:var(--container-widget-height,var(--spacer-size))}.e-con-inner>.elementor-widget-spacer:not(:has(>.elementor-widget-container))>.elementor-spacer,.e-con>.elementor-widget-spacer:not(:has(>.elementor-widget-container))>.elementor-spacer{height:100%}.e-con-inner>.elementor-widget-spacer:not(:has(>.elementor-widget-container))>.elementor-spacer>.elementor-spacer-inner,.e-con>.elementor-widget-spacer:not(:has(>.elementor-widget-container))>.elementor-spacer>.elementor-spacer-inner{height:var(--container-widget-height,var(--spacer-size))}.e-con-inner>.elementor-widget-spacer.elementor-widget-empty,.e-con>.elementor-widget-spacer.elementor-widget-empty{min-height:22px;min-width:22px;position:relative}.e-con-inner>.elementor-widget-spacer.elementor-widget-empty .elementor-widget-empty-icon,.e-con>.elementor-widget-spacer.elementor-widget-empty .elementor-widget-empty-icon{height:22px;inset:0;margin:auto;padding:0;position:absolute;width:22px}