/**
 * GGM Commerce Widget Styles
 *
 * This file provides ONLY structural/functional CSS needed for widgets to work properly.
 * This file is ALWAYS loaded (required for widget functionality).
 *
 * All design styling (colors, fonts, spacing, borders) is in professional-defaults.css
 * which is only loaded when "Professional Defaults" are enabled in Settings > Widget Styles.
 *
 * Guidelines - DO include:
 * ✅ Structural CSS (display, flex, grid, position, width, height)
 * ✅ Functional CSS (transitions, transforms, cursor states, animations)
 * ✅ Layout properties (align-items, justify-content, gap)
 * ✅ Responsive breakpoints for layout changes
 * ✅ Essential accessibility (text-decoration for links, cursor for buttons)
 *
 * Guidelines - DO NOT include:
 * ❌ Colors (backgrounds, text, borders)
 * ❌ Typography (font-family, font-size, font-weight, line-height)
 * ❌ Spacing values (margin, padding - controlled by Elementor controls)
 * ❌ Decorative styles (shadows, borders, border-radius)
 */

/* Product Price Styling - Shared across all product widgets */
.product-price {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.product-price .original-price {
    text-decoration: line-through;
}

/* Details Link - Shared */
.product-details-link {
    display: flex;
    align-items: center;
}

.product-details-link .details-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.product-details-link .details-link-icon {
    display: inline-flex;
    align-items: center;
}

/* Product Title - Shared across all product widgets */
.product-title a {
    text-decoration: none;
    color: inherit;
}

.product-title a:hover {
    color: inherit;
}

/* Add to Cart Widget - Structural Layout */
.ggmc-add-to-cart-wrapper {
    display: flex;
    align-items: center;
}

.ggmc-add-to-cart-wrapper.vertical {
    flex-direction: column;
    align-items: flex-start;
}

.ggmc-quantity-wrapper {
    display: flex;
    align-items: center;
}

.ggmc-quantity-controls {
    display: flex;
    align-items: center;
    overflow: hidden;
}

.ggmc-qty-minus,
.ggmc-qty-plus {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    margin: 0;
    padding: 0;
    transition: all 0.3s ease;
}

.ggmc-quantity-input {
    border: none;
    text-align: center;
    outline: none;
    box-sizing: border-box;
    margin: 0;
}

.ggmc-quantity-label {
    margin: 0;
}

/* Add to Cart Price Display - Structural */
.ggmc-cart-price {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.ggmc-cart-price .original-price {
    text-decoration: line-through;
}

/* Add to Cart Button - Shared across all product widgets */
.ggmc-add-to-cart-btn {
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    outline: none;
    margin: 0;
    box-sizing: border-box;
}

.ggmc-add-to-cart-btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
    transform: none;
}

.ggmc-add-to-cart-btn:active {
    transform: translateY(0);
}

/* Variable Product Button States - Structural */
.ggmc-add-to-cart-btn.variation-required {
    /* Visual indicator that variation selection is needed */
    position: relative;
}

.ggmc-add-to-cart-btn.variation-selected {
    /* State after variation is selected */
    position: relative;
}

/* Icon + Text Button Layout */
.ggmc-add-to-cart-btn.btn-icon-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Icon Sizing - Structural (ensures icons are visible) */
.ggmc-add-to-cart-btn i {
    font-size: 16px;
}

.ggmc-add-to-cart-btn svg {
    width: 16px;
    height: 16px;
}

.ggmc-add-to-cart-btn i,
.ggmc-add-to-cart-btn svg {
    flex-shrink: 0;
}

/* Wishlist Button - Structural */
.wishlist-btn {
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.wishlist-btn i,
.wishlist-btn svg {
    flex-shrink: 0;
}

/* Wishlist Button States - Structural */
.wishlist-btn.loading {
    opacity: 0.6;
    pointer-events: none;
}

.wishlist-btn.loading i,
.wishlist-btn.loading svg {
    animation: ggmc-wishlist-pulse 0.8s ease-in-out infinite;
}

@keyframes ggmc-wishlist-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Wishlist Notification Messages - Structural */
.ggmc-wishlist-message {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99999;
    max-width: 320px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.ggmc-wishlist-message.visible {
    opacity: 1;
    transform: translateY(0);
}

.ggmc-wishlist-message .message-close {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

/* Wishlist Count Badge - Structural */
.ggmc-wishlist-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* ================================
   Wishlist Widget Styles - Structural
   ================================ */

.ggmc-wishlist-wrapper {
    width: 100%;
}

/* Empty State - Structural */
.ggmc-wishlist-empty {
    text-align: center;
}

/* Actions Bar - Structural */
.ggmc-wishlist-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.ggmc-wishlist-clear-all,
.ggmc-wishlist-share-btn {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.ggmc-share-link-container {
    display: flex;
    align-items: center;
}

.ggmc-share-link-input {
    flex: 1;
}

.ggmc-copy-share-link {
    cursor: pointer;
    transition: all 0.2s ease;
}

/* Table Layout - Structural */
.ggmc-wishlist-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.ggmc-wishlist-table th {
    text-align: left;
}

.ggmc-wishlist-table td {
    vertical-align: middle;
}

.ggmc-wishlist-table tbody tr {
    transition: background-color 0.2s ease;
}

.ggmc-wishlist-table .wishlist-col-remove {
    text-align: center;
}

.ggmc-wishlist-table .wishlist-col-actions {
    text-align: right;
}

.ggmc-wishlist-table .wishlist-product-image {
    object-fit: cover;
}

.ggmc-wishlist-table .wishlist-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ggmc-wishlist-table .wishlist-product-name {
    display: block;
    text-decoration: none;
}

.ggmc-wishlist-table .wishlist-original-price {
    text-decoration: line-through;
}

/* Grid Layout - Structural */
.ggmc-wishlist-grid {
    display: grid;
    grid-template-columns: repeat(var(--wishlist-columns, 4), 1fr);
}

.ggmc-wishlist-grid-item {
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.ggmc-wishlist-grid-item .ggmc-wishlist-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.ggmc-wishlist-grid-item .wishlist-product-image-wrapper {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
}

.ggmc-wishlist-grid-item .wishlist-product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ggmc-wishlist-grid-item .wishlist-no-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ggmc-wishlist-grid-item .wishlist-product-name {
    display: block;
    text-decoration: none;
}

.ggmc-wishlist-grid-item .wishlist-original-price {
    text-decoration: line-through;
}

.ggmc-wishlist-grid-item .ggmc-wishlist-add-to-cart {
    width: 100%;
}

/* List Layout - Structural */
.ggmc-wishlist-list {
    display: flex;
    flex-direction: column;
}

.ggmc-wishlist-list-item {
    display: flex;
    transition: box-shadow 0.3s ease;
}

.ggmc-wishlist-list-item .wishlist-product-image-wrapper {
    flex-shrink: 0;
}

.ggmc-wishlist-list-item .wishlist-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ggmc-wishlist-list-item .wishlist-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ggmc-wishlist-list-item .wishlist-product-content {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.ggmc-wishlist-list-item .wishlist-product-info {
    flex: 1;
}

.ggmc-wishlist-list-item .wishlist-product-name {
    display: block;
    text-decoration: none;
}

.ggmc-wishlist-list-item .wishlist-original-price {
    text-decoration: line-through;
}

.ggmc-wishlist-list-item .wishlist-product-actions {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

/* Stock Status - Structural */
.stock-status {
    display: inline-block;
}

/* Wishlist Remove Button - Structural */
.ggmc-wishlist-remove {
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

/* Wishlist Add to Cart - Structural */
.ggmc-wishlist-add-to-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.ggmc-wishlist-add-to-cart:disabled {
    cursor: not-allowed;
}

/* Responsive Adjustments - Structural */
@media (max-width: 768px) {
    .ggmc-wishlist-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ggmc-wishlist-list-item {
        flex-direction: column;
    }

    .ggmc-wishlist-list-item .wishlist-product-image-wrapper {
        width: 100%;
    }

    .ggmc-wishlist-list-item .wishlist-product-content {
        flex-direction: column;
    }

    .ggmc-wishlist-list-item .wishlist-product-actions {
        flex-direction: row;
        width: 100%;
    }

    .ggmc-wishlist-table {
        display: block;
        overflow-x: auto;
    }
}

@media (max-width: 480px) {
    .ggmc-wishlist-grid {
        grid-template-columns: 1fr;
    }
}

/* Wishlist Icon Widget - Structural */
.ggmc-wishlist-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color 0.3s ease;
    text-decoration: none;
}

.ggmc-wishlist-icon .ggmc-wishlist-count-badge {
    position: absolute;
    top: -8px;
    right: -8px;
}

/* Compare Icon Widget - Structural */
.ggmc-compare-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color 0.3s ease;
    text-decoration: none;
}

.ggmc-compare-icon .ggmc-compare-count-badge {
    position: absolute;
    top: -8px;
    right: -8px;
}

.ggmc-compare-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    padding: 0 4px;
}

/* Compare Button - Structural */
.compare-btn {
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.compare-btn i {
    font-size: 20px;
}

.compare-btn svg {
    width: 20px;
    height: 20px;
}

.compare-btn i,
.compare-btn svg {
    flex-shrink: 0;
}

/* Product Categories and Tags - Shared across all product widgets */
.product-category,
.product-tag {
    display: inline-block;
    text-decoration: none;
}

/* ==========================================================================
   PRODUCT GRID WIDGET - Structural CSS
   ========================================================================== */

/* Product Grid Container - grid-template-columns set via inline style for dynamic columns */
.ggmc-products-grid {
    display: grid;
}

/* Product Grid Item */
.product-grid-item {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

/* Product Image */
.product-grid-item .product-image {
    position: relative;
    overflow: hidden;
    text-align: center;
}

.product-grid-item .product-image img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Image Hover Effects */
.product-image.hover-zoom:hover img,
.product-grid-item:hover .product-image.hover-zoom img {
    transform: scale(1.1);
}

.product-image.hover-slide:hover img,
.product-grid-item:hover .product-image.hover-slide img {
    transform: translateX(-10px);
}

/* Quick View Overlay */
.quick-view-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-grid-item:hover .quick-view-overlay {
    opacity: 1;
}

.quick-view-btn {
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Product Badges - Position */
.product-grid-item .product-badges {
    position: absolute;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.product-grid-item .badge {
    text-transform: uppercase;
}

/* Product Content Container */
.product-grid-item .product-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Component Ordering - Direct children of grid item */
.product-grid-item > .product-actions {
    margin-top: auto;
}

/* Product Categories */
.product-grid-item .product-categories {
    display: flex;
    flex-wrap: wrap;
}

/* Stars/Rating */
.product-grid-item .stars {
    display: flex;
    align-items: center;
}

/* Product Price */
.product-grid-item .product-price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

/* Product Actions */
.product-grid-item .product-actions {
    display: flex;
    align-items: center;
    margin-top: auto;
}

/* Button Icon Layout */
.product-grid-item .btn-icon {
    flex: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Masonry Grid */
.grid-style-masonry .product-grid-item {
    break-inside: avoid;
}

/* List Layouts (Single Column) */
.product-grid-item.list-layout-horizontal {
    display: flex;
    align-items: flex-start;
}

.product-grid-item.list-layout-horizontal.image-top {
    flex-direction: column;
}

.product-grid-item.list-layout-horizontal .product-image {
    flex-shrink: 0;
    aspect-ratio: 1;
}

.product-grid-item.list-layout-horizontal.image-top .product-image {
    width: 100%;
}

.product-grid-item.list-layout-horizontal .product-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-grid-item.list-layout-vertical {
    display: flex;
    flex-direction: column;
}

.product-grid-item.list-layout-vertical .product-image {
    width: 100%;
    aspect-ratio: 1;
}

.product-grid-item.list-layout-compact {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.product-grid-item.list-layout-compact .product-image {
    flex-shrink: 0;
    aspect-ratio: 1;
}

.product-grid-item.list-layout-compact .product-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-grid-item.list-layout-compact .product-description {
    display: none;
}

/* Pagination */
.product-grid-item ~ .ggmc-pagination,
.ggmc-product-grid-container .ggmc-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.pagination-prev,
.pagination-next,
.pagination-page,
.pagination-current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.pagination-page.current {
    cursor: default;
}

/* Product List Layout */
.ggmc-products-list .product-list-item {
    display: flex;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.ggmc-products-list .product-image {
    flex-shrink: 0;
}

.ggmc-products-list .product-content {
    flex: 1;
}

/* Product Table Layout */
.ggmc-product-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.ggmc-product-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
}

.ggmc-product-table th,
.ggmc-product-table td {
    text-align: left;
}

.ggmc-product-table .name-cell a {
    text-decoration: none;
    color: inherit;
}

.ggmc-product-table .badge-container {
    display: flex;
    flex-wrap: wrap;
}

.ggmc-product-table .badge {
    display: inline-block;
    white-space: nowrap;
}

/* Product Table - Sorting Controls */
.ggmc-product-table-wrapper .sorting-group {
    display: flex;
    align-items: center;
}

.ggmc-product-table-wrapper .sorting-group label {
    margin: 0;
}

.ggmc-product-table-wrapper .table-sort-select {
    cursor: pointer;
    transition: all 0.3s ease;
}

.ggmc-product-table-wrapper .table-sort-select:focus {
    outline: none;
}

/* Product Table - Column Header Sorting */
.ggmc-product-table th.sortable {
    cursor: pointer;
    user-select: none;
    position: relative;
    transition: background-color 0.2s ease;
}

.ggmc-product-table th.sortable .sort-arrows {
    display: inline-flex;
    flex-direction: column;
    opacity: 0.3;
    transition: opacity 0.2s ease;
}

.ggmc-product-table th.sortable:hover .sort-arrows {
    opacity: 0.6;
}

.ggmc-product-table th.sortable .sort-arrows i {
    line-height: 0.5;
}

.ggmc-product-table th.sortable.sort-asc .sort-arrows .eicon-arrow-up,
.ggmc-product-table th.sortable.sort-desc .sort-arrows .eicon-arrow-down {
    opacity: 1;
}

.ggmc-product-table th.sortable.sort-asc .sort-arrows,
.ggmc-product-table th.sortable.sort-desc .sort-arrows {
    opacity: 1;
}

/* Product Table - Image Wrapper */
.ggmc-product-table .product-image-wrapper {
    overflow: hidden;
    display: inline-block;
    position: relative;
}

.ggmc-product-table .product-image-wrapper img {
    transition: transform 0.3s ease;
    display: block;
}

/* Product Table - Quick View Overlay */
.ggmc-product-table .quick-view-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ggmc-product-table .product-image-wrapper:hover .quick-view-overlay {
    opacity: 1;
}

/* Product Table - Rating */
.ggmc-product-table .product-rating {
    display: flex;
    flex-direction: column;
}

.ggmc-product-table .rating-stars {
    display: flex;
}

.ggmc-product-table .rating-stars .star {
    display: inline-flex;
    transition: color 0.3s ease;
}

.ggmc-product-table .rating-text {
    display: flex;
    align-items: center;
}

/* Product Table - Action Buttons */
.ggmc-product-table .product-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.ggmc-product-table .wishlist-btn,
.ggmc-product-table .compare-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

/* Product Table - Categories */
.ggmc-product-table .product-categories {
    display: flex;
    flex-wrap: wrap;
}

.ggmc-product-table .product-category {
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Pagination - Shared across paginated widgets */
.ggmc-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.ggmc-pagination .page-link {
    text-decoration: none;
    transition: all 0.3s ease;
}

.ggmc-pagination .page-link.current {
    cursor: default;
}

/* Cart Display */
.cart-item {
    display: flex;
    align-items: center;
}

.cart-item-image {
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
}

.cart-total {
    text-align: right;
}

/* Loading States */
.ggmc-loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.ggmc-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .ggmc-products-list .product-list-item {
        flex-direction: column;
    }

    .cart-item {
        flex-direction: column;
    }
}

/* Filter Widget Styles */
.ggmc-product-filter .filter-form {
    display: flex;
}

.ggmc-filter-container input[type="text"],
.ggmc-filter-container input[type="number"],
.ggmc-filter-container select {
    width: 100%;
}

.ggmc-filter-container label {
    display: block;
}

.ggmc-filter-container .checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.ggmc-filter-container .price-range-inputs {
    display: flex;
    align-items: center;
}

.ggmc-filter-container .price-range-inputs input {
    flex: 1;
}

/* ==========================================================================
   RANGE SLIDER STYLES - Structural (Price & Attribute)
   ========================================================================== */

/* Slider containers */
.price-slider-container,
.attribute-slider-container {
    display: flex;
    flex-direction: column;
}

/* Base slider element - jQuery UI will add additional classes */
.price-slider,
.attribute-slider {
    width: 100%;
    position: relative;
}

/* Range display below sliders */
.price-display,
.attribute-range-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Price Min/Max Inputs Container */
.price-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-inputs input {
    flex: 1;
    min-width: 60px;
    max-width: none;
}

.price-inputs .input-separator {
    flex-shrink: 0;
}

.price-inputs .currency-label {
    flex-shrink: 0;
}

/* ==========================================================================
   ATTRIBUTE FILTER STYLES - Structural
   ========================================================================== */

/* Attribute filter group container */
.attribute-filter-group {
    display: flex;
    flex-direction: column;
}

/* Attribute filter label */
.attribute-filter-group .attribute-filter-label {
    display: flex;
    align-items: center;
    gap: 6px;
}

.attribute-filter-group .attribute-filter-label i,
.attribute-filter-group .attribute-filter-label svg {
    flex-shrink: 0;
}

.attribute-filter-group .attribute-filter-label .attr-label-text {
    flex: 1;
}

/* Checkbox list layout */
.attribute-checkboxes {
    display: flex;
    flex-direction: column;
}

.attribute-checkbox-item {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.attribute-checkbox-item input[type="checkbox"] {
    flex-shrink: 0;
}

.attribute-checkbox-item.no-results {
    opacity: 0.5;
}

/* Dropdown layout */
.attribute-dropdown {
    width: 100%;
}

/* Number range slider container */
.attribute-slider-container {
    display: flex;
    flex-direction: column;
}

.attribute-slider {
    width: 100%;
}

.attribute-range-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Number range inputs container */
.attribute-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
}

.attribute-inputs input {
    flex: 1;
    min-width: 60px;
    max-width: none;
}

.attribute-inputs .input-separator {
    flex-shrink: 0;
}

.attribute-inputs .unit-label {
    flex-shrink: 0;
}

/* Text search input */
.attribute-text-search {
    width: 100%;
}

/* Unit display */
.attribute-unit {
    display: inline;
}

/* Count display */
.attribute-count {
    display: inline;
}

/* ==========================================================================
   CART UPDATE OPTIMIZATION STYLES
   ========================================================================== */

/* Visual feedback for changed cart items */
.quantity-changed {
    position: relative;
}

/* Items that will be removed (quantity = 0) */
.will-be-removed {
    opacity: 0.5;
}

.will-be-removed td {
    text-decoration: line-through;
}

/* Update Cart button with changes indicator */
.ggmc-update-cart-btn.has-changes {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

/* ==========================================================================
   UNIFIED NOTIFICATION MESSAGES - Cart & Comparison
   ========================================================================== */

/* Cart notification message (same style as comparison messages) */
.ggmc-cart-message {
    position: fixed;
    top: 20px;
    right: 20px;
    max-width: 350px;
    padding: 14px 20px;
    background: var(--ggmc-notification-bg, #ffffff);
    border-radius: var(--ggmc-notification-radius, 8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.ggmc-cart-message.visible {
    opacity: 1;
    transform: translateX(0);
}

.ggmc-cart-message .message-icon {
    font-size: 20px;
}

.ggmc-cart-message.success .message-icon {
    color: #16a34a;
}

.ggmc-cart-message.warning .message-icon {
    color: #d97706;
}

.ggmc-cart-message.error .message-icon {
    color: #dc2626;
}

.ggmc-cart-message.info .message-icon {
    color: #2563eb;
}

.ggmc-cart-message .message-text {
    flex: 1;
    font-size: 14px;
    color: var(--ggmc-notification-text, #374151);
}

.ggmc-cart-message .message-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #9ca3af;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.ggmc-cart-message .message-close:hover {
    color: #374151;
}

/* Responsive */
@media (max-width: 768px) {
    .ggmc-cart-message {
        left: 20px;
        right: 20px;
        max-width: none;
    }
}

/* Position Variants for Notifications */
.ggmc-cart-message.position-top-right,
.ggmc-compare-message.position-top-right {
    top: 20px;
    right: 20px;
    bottom: auto;
    left: auto;
}

.ggmc-cart-message.position-top-left,
.ggmc-compare-message.position-top-left {
    top: 20px;
    left: 20px;
    bottom: auto;
    right: auto;
}

.ggmc-cart-message.position-bottom-right,
.ggmc-compare-message.position-bottom-right {
    bottom: 20px;
    right: 20px;
    top: auto;
    left: auto;
}

.ggmc-cart-message.position-bottom-left,
.ggmc-compare-message.position-bottom-left {
    bottom: 20px;
    left: 20px;
    top: auto;
    right: auto;
}

/* Adjust transform direction based on position */
.ggmc-cart-message.position-top-left,
.ggmc-compare-message.position-top-left,
.ggmc-cart-message.position-bottom-left,
.ggmc-compare-message.position-bottom-left {
    transform: translateX(-20px);
}

.ggmc-cart-message.position-top-left.visible,
.ggmc-compare-message.position-top-left.visible,
.ggmc-cart-message.position-bottom-left.visible,
.ggmc-compare-message.position-bottom-left.visible {
    transform: translateX(0);
}

/* Button disabled state */
.ggmc-update-cart-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ==========================================================================
   PRODUCT GALLERY - Structural CSS
   ========================================================================== */

/* Gallery Container - Default: thumbnails bottom (horizontal) */
.ggm-product-gallery-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Thumbnails Position: Top */
.ggm-product-gallery-container.thumbnails-pos-top {
    flex-direction: column-reverse;
}

/* Thumbnails Position: Left (vertical strip) */
.ggm-product-gallery-container.thumbnails-pos-left {
    flex-direction: row-reverse;
}

/* Thumbnails Position: Right (vertical strip) */
.ggm-product-gallery-container.thumbnails-pos-right {
    flex-direction: row;
}

/* Main Image Container */
.ggm-main-image {
    position: relative;
    overflow: hidden;
    flex: 1;
}

.ggm-main-image img {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
}

/* Zoom Container */
.ggm-main-image.ggm-zoom-container {
    overflow: hidden;
}

.ggm-main-image.ggm-zoom-container img {
    transition: transform 0.1s ease-out;
}

/* Thumbnails Wrapper - Contains nav buttons and thumbnail strip */
.ggm-gallery-thumbnails-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

/* Horizontal layout (top/bottom) */
.thumbnails-pos-bottom .ggm-gallery-thumbnails-wrapper,
.thumbnails-pos-top .ggm-gallery-thumbnails-wrapper {
    flex-direction: row;
}

/* Vertical layout (left/right) */
.thumbnails-pos-left .ggm-gallery-thumbnails-wrapper,
.thumbnails-pos-right .ggm-gallery-thumbnails-wrapper {
    flex-direction: column;
    width: auto;
}

/* Thumbnail Strip */
.ggm-gallery-thumbnails {
    display: flex;
    gap: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

/* Horizontal thumbnail strip */
.thumbnails-pos-bottom .ggm-gallery-thumbnails,
.thumbnails-pos-top .ggm-gallery-thumbnails {
    flex-direction: row;
    flex: 1;
}

/* Vertical thumbnail strip */
.thumbnails-pos-left .ggm-gallery-thumbnails,
.thumbnails-pos-right .ggm-gallery-thumbnails {
    flex-direction: column;
    max-height: 100%;
}

/* Individual Thumbnail */
.ggm-gallery-thumbnail {
    flex-shrink: 0;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    width: 80px;
    height: 80px;
}

.ggm-gallery-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Thumbnail visibility states (controlled by JavaScript) */
.ggm-gallery-thumbnail.hidden {
    display: none;
}

.ggm-gallery-thumbnail.visible {
    display: block;
}

/* Active thumbnail state */
.ggm-gallery-thumbnail.active {
    opacity: 1;
}

/* Disabled navigation buttons */
.ggm-gallery-nav.disabled {
    opacity: 0.3;
    pointer-events: none;
}

/* Navigation Buttons */
.ggm-gallery-nav {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    border: none;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.ggm-gallery-nav:hover {
    background: rgba(0, 0, 0, 0.7);
}

/* Horizontal navigation (prev/next for top/bottom position) */
.thumbnails-pos-bottom .ggm-gallery-prev,
.thumbnails-pos-top .ggm-gallery-prev {
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.thumbnails-pos-bottom .ggm-gallery-next,
.thumbnails-pos-top .ggm-gallery-next {
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* Vertical navigation (up/down for left/right position) */
.thumbnails-pos-left .ggm-gallery-prev,
.thumbnails-pos-right .ggm-gallery-prev {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.thumbnails-pos-left .ggm-gallery-next,
.thumbnails-pos-right .ggm-gallery-next {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Vertical nav icons should rotate */
.thumbnails-pos-left .ggm-gallery-prev .dashicons,
.thumbnails-pos-right .ggm-gallery-prev .dashicons {
    transform: rotate(90deg);
}

.thumbnails-pos-left .ggm-gallery-next .dashicons,
.thumbnails-pos-right .ggm-gallery-next .dashicons {
    transform: rotate(90deg);
}

/* Lightbox Structure */
.ggm-gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.9);
}

.ggm-lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.ggm-lightbox-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ggm-lightbox-image-container {
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ggm-lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.ggm-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    z-index: 10;
    transition: background 0.3s ease;
}

.ggm-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.ggm-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    z-index: 10;
    transition: background 0.3s ease;
}

.ggm-lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.ggm-lightbox-prev {
    left: 20px;
}

.ggm-lightbox-next {
    right: 20px;
}

.ggm-lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 14px;
}

.ggm-lightbox-product-info {
    position: absolute;
}

.ggm-lightbox-product-info.position-top {
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.ggm-lightbox-product-info.position-bottom {
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
}

.ggm-lightbox-product-info.position-left {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.ggm-lightbox-product-info.position-right {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

/* Empty state */
.ggm-product-gallery-empty {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ggm-product-gallery-empty img {
    max-width: 100%;
    height: auto;
}

/* Lazy loading placeholder */
.ggm-gallery-thumbnail.lazy-load img {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ggm-gallery-thumbnail.lazy-load.loaded img {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    /* On mobile, always use horizontal layout for thumbnails */
    .ggm-product-gallery-container.thumbnails-pos-left,
    .ggm-product-gallery-container.thumbnails-pos-right {
        flex-direction: column;
    }

    .thumbnails-pos-left .ggm-gallery-thumbnails-wrapper,
    .thumbnails-pos-right .ggm-gallery-thumbnails-wrapper {
        flex-direction: row;
    }

    .thumbnails-pos-left .ggm-gallery-thumbnails,
    .thumbnails-pos-right .ggm-gallery-thumbnails {
        flex-direction: row;
    }

    /* Reset nav button positions for mobile */
    .thumbnails-pos-left .ggm-gallery-prev,
    .thumbnails-pos-right .ggm-gallery-prev {
        left: 0;
        top: 50%;
        transform: translateY(-50%);
    }

    .thumbnails-pos-left .ggm-gallery-next,
    .thumbnails-pos-right .ggm-gallery-next {
        right: 0;
        bottom: auto;
        top: 50%;
        left: auto;
        transform: translateY(-50%);
    }

    .thumbnails-pos-left .ggm-gallery-prev .dashicons,
    .thumbnails-pos-right .ggm-gallery-prev .dashicons,
    .thumbnails-pos-left .ggm-gallery-next .dashicons,
    .thumbnails-pos-right .ggm-gallery-next .dashicons {
        transform: none;
    }
}

/* ==========================================================================
   PRODUCT GALLERY - Slider Layout
   ========================================================================== */

.ggm-gallery-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.ggm-slider-track {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
}

.ggm-gallery-slider.transition-fade .ggm-slider-track {
    transition: none;
}

.ggm-slider-slide {
    flex: 0 0 100%;
    width: 100%;
    position: relative;
}

.ggm-gallery-slider.transition-fade .ggm-slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.ggm-gallery-slider.transition-fade .ggm-slider-slide.active {
    position: relative;
    opacity: 1;
}

.ggm-slider-slide img {
    width: 100%;
    height: auto;
    display: block;
}

/* Slider Navigation Arrows */
.ggm-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.ggm-slider-nav:hover {
    background: rgba(0, 0, 0, 0.7);
}

.ggm-slider-prev {
    left: 15px;
}

.ggm-slider-next {
    right: 15px;
}

/* Slider Dots Navigation */
.ggm-slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.ggm-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.ggm-slider-dot:hover,
.ggm-slider-dot.active {
    background: rgba(255, 255, 255, 1);
}

/* ==========================================================================
   PRODUCT GALLERY - Grid Layout
   ========================================================================== */

.ggm-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.ggm-grid-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.ggm-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.ggm-grid-item:hover img {
    transform: scale(1.05);
}

/* Grid Aspect Ratios */
.ggm-gallery-grid.ratio-square .ggm-grid-item {
    aspect-ratio: 1 / 1;
}

.ggm-gallery-grid.ratio-landscape .ggm-grid-item {
    aspect-ratio: 4 / 3;
}

.ggm-gallery-grid.ratio-portrait .ggm-grid-item {
    aspect-ratio: 3 / 4;
}

.ggm-gallery-grid.ratio-original .ggm-grid-item {
    aspect-ratio: auto;
}

/* Featured First Image - 2x2 */
.ggm-gallery-grid.first-featured.featured-span-2x2 .ggm-grid-item.featured {
    grid-column: span 2;
    grid-row: span 2;
}

/* Featured First Image - 2x1 */
.ggm-gallery-grid.first-featured.featured-span-2x1 .ggm-grid-item.featured {
    grid-column: span 2;
}

/* Featured First Image - 1x2 */
.ggm-gallery-grid.first-featured.featured-span-1x2 .ggm-grid-item.featured {
    grid-row: span 2;
}

/* Grid Responsive */
@media (max-width: 768px) {
    .ggm-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ggm-gallery-grid.first-featured.featured-span-2x2 .ggm-grid-item.featured,
    .ggm-gallery-grid.first-featured.featured-span-2x1 .ggm-grid-item.featured {
        grid-column: span 2;
    }

    .ggm-slider-nav {
        width: 36px;
        height: 36px;
    }

    .ggm-slider-prev {
        left: 10px;
    }

    .ggm-slider-next {
        right: 10px;
    }
}

/* =================================================================
   REVIEW LIST WIDGET - Structural CSS
   ================================================================= */

/* Rating Summary Layout */
.ggmc-rating-summary {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.ggmc-summary-average {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
}

.ggmc-summary-distribution {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ggmc-distribution-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ggmc-distribution-label {
    min-width: 50px;
    flex-shrink: 0;
}

.ggmc-distribution-bar {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.ggmc-distribution-fill {
    position: absolute;
    left: 0;
    top: 0;
    transition: width 0.3s ease;
}

.ggmc-distribution-count {
    min-width: 40px;
    text-align: right;
    flex-shrink: 0;
}

/* Review Card Layout */
.ggmc-review-card {
    display: flex;
    flex-direction: column;
}

.ggmc-review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.ggmc-review-stars {
    display: flex;
    gap: 2px;
}

.ggmc-review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.ggmc-reviewer-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.ggmc-helpful-btn {
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Reviews Pagination */
.ggmc-reviews-pagination {
    display: flex;
    justify-content: center;
}

.ggmc-load-more-reviews {
    cursor: pointer;
    transition: all 0.2s ease;
}

/* Responsive */
@media (max-width: 640px) {
    .ggmc-rating-summary {
        flex-direction: column;
        align-items: stretch;
    }

    .ggmc-summary-average {
        flex-direction: row;
        justify-content: center;
        gap: 16px;
        min-width: auto;
    }
}

/* =================================================================
   PRODUCT RATING WIDGET - Structural CSS
   ================================================================= */

/* Rating Container */
.ggmc-product-rating {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

/* Stars Wrapper */
.ggmc-stars-wrapper {
    display: inline-flex;
    align-items: center;
}

/* Individual Star Icons */
.ggmc-stars-wrapper i,
.ggmc-stars-wrapper span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Rating Text */
.ggmc-rating-text {
    display: inline-block;
}

/* =================================================================
   REVIEW FORM WIDGET - Structural CSS
   ================================================================= */

/* Form Container */
.ggmc-review-form-wrapper {
    max-width: 100%;
}

.ggmc-review-form {
    display: flex;
    flex-direction: column;
}

/* Form Fields */
.ggmc-form-field {
    display: flex;
    flex-direction: column;
}

.ggmc-form-field label {
    display: block;
}

.ggmc-form-field input[type="text"],
.ggmc-form-field input[type="email"],
.ggmc-form-field textarea {
    width: 100%;
    box-sizing: border-box;
}

/* Star Rating Input */
.ggmc-star-rating-input {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.ggmc-star-rating-input .star {
    cursor: pointer;
    transition: color 0.15s ease, transform 0.15s ease;
}

/* Submit Button */
.ggmc-submit-review-btn {
    cursor: pointer;
    transition: all 0.3s ease;
}

.ggmc-submit-review-btn:disabled {
    cursor: not-allowed;
}

/* Messages */
.ggmc-review-messages {
    display: block;
}

/* Login Message */
.ggmc-review-login-message {
    text-align: center;
}

/* =================================================================
   CART DISPLAY WIDGET - Structural CSS
   ================================================================= */

/* Main Container */
.ggmc-cart-container {
    max-width: 100%;
}

/* Cart Table Structure */
.ggmc-cart-container .ggmc-cart-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
    overflow: hidden;
    display: table !important;
}

.ggmc-cart-container .ggmc-cart-table thead {
    display: table-header-group !important;
}

.ggmc-cart-container .ggmc-cart-table tbody {
    display: table-row-group !important;
}

.ggmc-cart-container .ggmc-cart-table tfoot {
    display: table-footer-group !important;
}

.ggmc-cart-container .ggmc-cart-table tr {
    display: table-row !important;
}

.ggmc-cart-container .ggmc-cart-table th,
.ggmc-cart-container .ggmc-cart-table td {
    display: table-cell !important;
    text-align: left;
    vertical-align: middle;
    box-sizing: border-box;
}

/* Column Width Definitions */
.ggmc-cart-container .ggmc-cart-table th:nth-child(1),
.ggmc-cart-container .ggmc-cart-table td:nth-child(1) {
    width: 50% !important;
    min-width: 250px !important;
    max-width: 50% !important;
}

.ggmc-cart-container .ggmc-cart-table th:nth-child(2),
.ggmc-cart-container .ggmc-cart-table td:nth-child(2) {
    width: 12% !important;
    min-width: 70px !important;
    max-width: 12% !important;
    text-align: center;
}

.ggmc-cart-container .ggmc-cart-table th:nth-child(3),
.ggmc-cart-container .ggmc-cart-table td:nth-child(3) {
    width: 18% !important;
    min-width: 100px !important;
    max-width: 18% !important;
    text-align: center;
}

.ggmc-cart-container .ggmc-cart-table th:nth-child(4),
.ggmc-cart-container .ggmc-cart-table td:nth-child(4) {
    width: 12% !important;
    min-width: 70px !important;
    max-width: 12% !important;
    text-align: center;
}

.ggmc-cart-container .ggmc-cart-table th:nth-child(5),
.ggmc-cart-container .ggmc-cart-table td:nth-child(5) {
    width: 8% !important;
    min-width: 50px !important;
    max-width: 8% !important;
    text-align: center;
}

/* Product Details Layout */
.ggmc-cart-container .product-details {
    display: flex;
    align-items: center;
    width: 100%;
}

.ggmc-cart-container .product-image {
    flex-shrink: 0;
}

.ggmc-cart-container .product-name {
    flex: 1;
    min-width: 0;
}

/* Quantity Controls */
.ggmc-cart-container .quantity-controls {
    display: flex;
    align-items: center;
    overflow: hidden;
    width: fit-content;
    margin: 0 auto;
}

.ggmc-cart-container .qty-minus,
.ggmc-cart-container .qty-plus {
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.ggmc-cart-container .qty-minus:hover,
.ggmc-cart-container .qty-plus:hover {
    transform: translateY(-1px);
}

.ggmc-cart-container .quantity-controls.input_only {
    margin: 0 auto;
}

.ggmc-cart-container .ggmc-cart-quantity {
    border: none;
    text-align: center;
    outline: none;
}

/* Remove Button */
.ggmc-cart-container .ggmc-remove-from-cart {
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.ggmc-cart-container .ggmc-remove-from-cart:hover {
    transform: translateY(-1px);
}

/* Cart Total */
.ggmc-cart-container .cart-total-value {
    text-align: center;
}

/* Cart Actions */
.ggmc-cart-container .ggmc-cart-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.ggmc-cart-container .ggmc-continue-shopping-btn,
.ggmc-cart-container .ggmc-proceed-checkout-btn {
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.ggmc-cart-container .ggmc-continue-shopping-btn:hover,
.ggmc-cart-container .ggmc-proceed-checkout-btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

/* Empty Cart */
.ggmc-cart-container .ggmc-empty-cart {
    text-align: center;
}

.ggmc-cart-container .ggmc-empty-cart .ggmc-continue-shopping-btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .ggmc-cart-container .ggmc-cart-table th:nth-child(1),
    .ggmc-cart-container .ggmc-cart-table td:nth-child(1) {
        width: 45% !important;
        min-width: 180px !important;
        max-width: 45% !important;
    }

    .ggmc-cart-container .product-details {
        flex-direction: column;
        align-items: flex-start;
    }

    .ggmc-cart-container .ggmc-cart-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .ggmc-cart-container .ggmc-continue-shopping-btn,
    .ggmc-cart-container .ggmc-proceed-checkout-btn {
        width: 100%;
        text-align: center;
    }
}

/* =================================================================
   CHECKOUT WIDGET - Structural CSS
   ================================================================= */

/* Main Container */
.ggmc-checkout-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Layout Grid */
.checkout-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    /* Don't use align-items: start - sidebar needs to stretch for sticky to work */
}

/* Sidebar - stretches to full height so sticky element has room to scroll */
.checkout-sidebar {
    /* No align-self or position - let it stretch naturally */
}

/* Form Row */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

/* Form Group */
.form-group {
    flex: 1;
}

.form-group.half {
    flex: 0 0 calc(50% - 10px);
}

.form-group.quarter {
    flex: 0 0 calc(25% - 15px);
}

.form-group label {
    display: block;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    box-sizing: border-box;
}

/* Required Field */
.required {
    color: #dc2626;
}

/* Ship to Different Address Checkbox */
.ship-different {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.ship-different input[type="checkbox"] {
    width: auto;
    margin: 0;
}

/* Order Items Container */
.order-items {
    margin-bottom: 25px;
}

/* Order Totals Container */
.order-totals {
    margin-bottom: 25px;
}

/* Checkout Actions */
.checkout-actions {
    margin-top: 0;
}

/* Order Confirmation */
.order-confirmation {
    text-align: center;
}

.confirmation-header {
    margin-bottom: 40px;
}

.confirmation-header svg {
    margin: 0 auto 20px;
}

.order-details {
    max-width: 500px;
    margin: 0 auto 40px;
    text-align: left;
}

.order-details > div {
    padding: 12px 0;
}

/* Status Badge */
.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Confirmation Actions */
.confirmation-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.confirmation-actions .btn {
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .checkout-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .form-row {
        flex-direction: column;
        gap: 15px;
    }

    .form-group.half,
    .form-group.quarter {
        flex: 1;
    }
}

/* Discount Code Section - Structural */
.ggmc-discount-section {
    margin-bottom: 15px;
    padding-bottom: 15px;
}

.discount-toggle-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 10px 0;
}

.discount-toggle-icon {
    transition: transform 0.2s ease;
}

.discount-toggle-label.expanded .discount-toggle-icon {
    transform: rotate(45deg);
}

.discount-form-container {
    margin-top: 12px;
}

.discount-form {
    display: flex;
    gap: 10px;
}

.discount-form .discount-input {
    flex: 1;
    min-width: 0;
}

.discount-message {
    margin-top: 10px;
}

.discount-applied {
    display: flex;
    align-items: center;
    gap: 12px;
}

.discount-savings {
    flex: 1;
}

.discount-remove-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
}

/* =================================================================
   MINI CART WIDGET - Structural CSS
   ================================================================= */

/* Main Container */
.ggmc-mini-cart-widget {
    position: relative;
    display: inline-block;
}

/* Cart Button - Trigger (can be div or anchor) */
.ggmc-mini-cart-widget .mini-cart-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

/* Cart Icon Wrapper - Contains icon and badge for proper positioning */
.ggmc-mini-cart-widget .mini-cart-icon-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

/* Cart Icon - i element for icon fonts */
.ggmc-mini-cart-widget .mini-cart-icon-wrapper i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

/* Cart Icon - SVG element */
.ggmc-mini-cart-widget .mini-cart-icon-wrapper svg {
    display: block;
    transition: fill 0.2s ease;
}

/* Cart Count Badge - Positioned absolutely on icon wrapper */
.ggmc-mini-cart-widget .cart-count {
    position: absolute;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
}

/* Cart Total Text */
.ggmc-mini-cart-widget .cart-total {
    display: inline-block;
}

/* Cart Text (text-only mode) */
.ggmc-mini-cart-widget .cart-text {
    display: inline-block;
}

/* Dropdown Container */
.ggmc-mini-cart-widget .mini-cart-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
}

/* Dropdown Header */
.ggmc-mini-cart-widget .mini-cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom-width: 1px;
    border-bottom-style: solid;
}

.ggmc-mini-cart-widget .mini-cart-header h4 {
    margin: 0;
}

/* Close Button */
.ggmc-mini-cart-widget .close-mini-cart {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

/* Cart Items Container */
.ggmc-mini-cart-widget .mini-cart-items {
    /* Padding controlled by Elementor */
}

/* Individual Cart Item */
.ggmc-mini-cart-widget .mini-cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom-width: 1px;
    border-bottom-style: solid;
}

.ggmc-mini-cart-widget .mini-cart-item:last-child {
    border-bottom: none;
}

/* Item Image */
.ggmc-mini-cart-widget .item-image {
    flex-shrink: 0;
}

.ggmc-mini-cart-widget .item-image img {
    object-fit: cover;
    display: block;
}

.ggmc-mini-cart-widget .placeholder-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Item Details */
.ggmc-mini-cart-widget .item-details {
    flex: 1;
    min-width: 0;
}

.ggmc-mini-cart-widget .item-details h5 {
    margin: 0 0 4px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ggmc-mini-cart-widget .item-price-qty {
    display: flex;
    justify-content: space-between;
}

/* Remove Item Button */
.ggmc-mini-cart-widget .remove-item {
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

/* Cart Footer */
.ggmc-mini-cart-widget .mini-cart-footer {
    border-top-width: 1px;
    border-top-style: solid;
}

/* Cart Total Display */
.ggmc-mini-cart-widget .cart-total-display {
    text-align: center;
    margin-bottom: 12px;
}

/* Cart Actions (Button Container) */
.ggmc-mini-cart-widget .cart-actions {
    display: flex;
    gap: 8px;
}

.ggmc-mini-cart-widget .cart-actions a {
    flex: 1;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border-width: 1px;
    border-style: solid;
}

/* Empty Cart Message */
.ggmc-mini-cart-widget .empty-cart {
    margin: 0;
}

/* ==========================================================================
   Recently Viewed Widget - Structural Styles
   ========================================================================== */

.ggmc-recently-viewed-widget {
    width: 100%;
}

.ggmc-recently-viewed-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.ggmc-recently-viewed-item {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.ggmc-recently-viewed-item-image {
    display: block;
    overflow: hidden;
}

.ggmc-recently-viewed-item-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hover Effects */
.ggmc-recently-viewed-item.ggmc-hover-zoom:hover .ggmc-recently-viewed-item-image img {
    transform: scale(1.05);
}

.ggmc-recently-viewed-item.ggmc-hover-fade:hover .ggmc-recently-viewed-item-image img {
    opacity: 0.8;
}

.ggmc-recently-viewed-item-content {
    display: flex;
    flex-direction: column;
}

.ggmc-recently-viewed-item-name {
    margin: 0;
}

.ggmc-recently-viewed-item-name a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

.ggmc-recently-viewed-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
}

.ggmc-recently-viewed-empty {
    margin: 0;
}

.ggmc-recently-viewed-add-to-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

/* ========================================
   Kit Contents Widget - Structural CSS
   ======================================== */

/* Title - Structural */
.ggmc-kit-contents-title {
    margin: 0;
    padding: 0;
}

/* List Layout - Structural */
.ggmc-components-list .ggmc-component-item {
    display: flex;
    align-items: center;
}

.ggmc-components-list .ggmc-component-details {
    display: flex;
    align-items: center;
    flex: 1;
}

.ggmc-components-list .ggmc-component-name {
    flex: 1;
}

/* Grid Layout - Structural */
.ggmc-components-grid {
    display: grid;
}

.ggmc-components-grid .ggmc-component-item {
    text-align: center;
}

.ggmc-components-grid .ggmc-component-details {
    display: flex;
    flex-direction: column;
}

/* Table Layout - Structural */
.ggmc-components-table {
    width: 100%;
    border-collapse: collapse;
}

.ggmc-components-table .col-qty,
.ggmc-components-table td.ggmc-component-qty {
    text-align: center;
}

.ggmc-components-table .col-price,
.ggmc-components-table td.ggmc-component-price {
    text-align: right;
}

/* Image - Structural */
.ggmc-component-image img {
    object-fit: cover;
}

/* Links - Structural */
.ggmc-component-name a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

/* ==========================================================================
   PRODUCT TAGS WIDGET - Structural
   ========================================================================== */

.ggmc-product-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.ggmc-tags-badges {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
}

.ggmc-tags-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ggmc-tag-link {
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease;
}

.ggmc-tag-icon {
    display: inline-flex;
    align-items: center;
}

/* ==========================================================================
   PRODUCT CATEGORIES WIDGET - Structural
   ========================================================================== */

.ggmc-product-categories {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.ggmc-categories-badges {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
}

.ggmc-categories-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ggmc-category-link {
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease;
}

.ggmc-category-image {
    object-fit: cover;
}

/* ==========================================================================
   PRODUCT STOCK WIDGET - Structural
   ========================================================================== */

.ggmc-product-stock {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ggmc-stock-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ggmc-stock-text {
    display: inline-block;
}

.restock-expected .ggmc-stock-text,
.product-stock.restock-expected,
.carousel-product-stock .restock-expected {
    font-style: italic;
}

/* ==========================================================================
   PRODUCT DESCRIPTION WIDGET - Structural
   ========================================================================== */

.ggmc-product-description {
    width: 100%;
}

.ggmc-description-excerpt,
.ggmc-description-full {
    display: block;
}

.ggmc-read-more,
.ggmc-read-less {
    display: inline;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ggmc-read-more:hover,
.ggmc-read-less:hover {
    text-decoration: underline;
}

/* ==========================================================================
   ORDER CONFIRMATION WIDGET - Structural
   ========================================================================== */

.ggmc-order-confirmation {
    width: 100%;
}

.ggmc-confirmation-header {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ggmc-success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ggmc-success-icon svg {
    display: block;
}

.ggmc-order-overview {
    display: flex;
    flex-wrap: wrap;
}

.ggmc-overview-item {
    display: flex;
    flex-direction: column;
}

.ggmc-order-section {
    display: block;
}

.ggmc-order-items-table {
    width: 100%;
    border-collapse: collapse;
}

.ggmc-order-totals {
    display: flex;
    flex-direction: column;
}

.ggmc-totals-row {
    display: flex;
    justify-content: space-between;
}

.ggmc-addresses {
    display: grid;
}

.ggmc-address-block {
    display: block;
}

.ggmc-confirmation-actions {
    display: flex;
    justify-content: center;
}

.ggmc-continue-shopping-btn {
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
}

/* Invalid Order State */
.ggmc-order-invalid {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ggmc-invalid-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ggmc-invalid-icon svg {
    display: block;
}

/* ==========================================================================
   QUICK VIEW POPUP - Structural CSS
   ========================================================================== */

/* Overlay - Full screen backdrop */
.ggmc-quick-view-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    background: rgba(0, 0, 0, 0.7);
}

.ggmc-quick-view-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Popup Container */
.ggmc-quick-view-popup {
    position: relative;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(0.95) translateY(20px);
    transition: transform 0.3s ease;
}

.ggmc-quick-view-overlay.active .ggmc-quick-view-popup {
    transform: scale(1) translateY(0);
}

/* Close Button */
.ggmc-quick-view-close {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #64748b;
}

.ggmc-quick-view-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #0f172a;
}

.ggmc-quick-view-close .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

/* Content Container */
.ggmc-quick-view-content {
    padding: 30px;
    min-height: 200px;
}

/* Loading State */
.ggmc-quick-view-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    gap: 16px;
}

.ggmc-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e2e8f0;
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: ggmc-spin 0.8s linear infinite;
}

@keyframes ggmc-spin {
    to {
        transform: rotate(360deg);
    }
}

.ggmc-quick-view-loading p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}

/* Error State */
.ggmc-quick-view-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    gap: 16px;
    text-align: center;
    padding: 40px;
}

.ggmc-error-icon {
    color: #dc2626;
}

.ggmc-error-icon .dashicons {
    font-size: 48px;
    width: 48px;
    height: 48px;
}

.ggmc-quick-view-error p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}

.ggmc-quick-view-close-btn {
    padding: 10px 24px;
    background: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s ease;
}

.ggmc-quick-view-close-btn:hover {
    background: #1d4ed8;
}

/* Prevent body scroll when popup is open */
body.ggmc-quick-view-open {
    overflow: hidden;
}

/* Quick View Button Loading State */
.quick-view-btn.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
    .ggmc-quick-view-popup {
        width: 95%;
        max-height: 95vh;
        margin: 10px;
    }

    .ggmc-quick-view-content {
        padding: 20px;
    }

    .ggmc-quick-view-close {
        top: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
    }
}

/* ==========================================================================
   PRODUCT DETAILS LINK WIDGET - Structural CSS
   ========================================================================== */

.ggmc-product-details-link-wrapper {
    display: block;
}

.ggmc-product-details-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}

/* Text link style */
.ggmc-product-details-link.ggmc-link-text {
    background: transparent;
    border: none;
    padding: 0;
}

.ggmc-product-details-link.ggmc-link-text:hover {
    text-decoration: underline;
}

/* Button style */
.ggmc-product-details-link.ggmc-link-button {
    padding: 10px 20px;
    border-radius: 6px;
}

/* Outline button style */
.ggmc-product-details-link.ggmc-link-outline {
    padding: 10px 20px;
    border-radius: 6px;
    background: transparent;
    border-width: 2px;
    border-style: solid;
}

/* ==========================================================================
   PRODUCT COMPARISON - Structural CSS
   ========================================================================== */

/* Comparison Wrapper - Structural */
.ggmc-comparison-wrapper {
    width: 100%;
}

.ggmc-comparison-title {
    display: flex;
    align-items: center;
}

/* Comparison Actions - Structural */
.ggmc-comparison-actions {
    display: flex;
    justify-content: flex-end;
}

.ggmc-compare-clear-btn {
    display: inline-flex;
    align-items: center;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

/* Comparison Table Wrapper - Structural */
.ggmc-comparison-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Sticky labels column for mobile - Structural */
.ggmc-comparison-wrapper.sticky-labels .ggmc-comparison-table-wrapper {
    overflow-x: auto;
}

.ggmc-comparison-wrapper.sticky-labels .ggmc-comparison-table .field-label {
    position: sticky;
    left: 0;
    z-index: 10;
}

/* Comparison Table - Structural */
.ggmc-comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.ggmc-comparison-table th,
.ggmc-comparison-table td {
    vertical-align: top;
    text-align: center;
}

.ggmc-comparison-table .field-label {
    text-align: left;
    white-space: nowrap;
}

/* Product Header Cell - Structural */
.ggmc-comparison-table thead th.ggmc-compare-product {
    position: relative;
}

/* Remove Button - Structural */
.ggmc-comparison-remove-btn {
    position: absolute;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, color 0.2s ease;
    padding: 0;
}

/* Comparison Image - Structural */
.ggmc-comparison-image {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ggmc-comparison-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Comparison Product Name - Structural */
.ggmc-comparison-product-name a {
    text-decoration: none;
    transition: color 0.2s ease;
}

/* Comparison Price - Structural */
.ggmc-comparison-price {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ggmc-comparison-price .original-price {
    text-decoration: line-through;
}

/* Comparison Stock Status - Structural */
.ggmc-stock-status {
    display: inline-flex;
    align-items: center;
}

/* Comparison Description - Structural */
.ggmc-comparison-description {
    text-align: left;
}

/* Comparison Rating - Structural */
.ggmc-comparison-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ggmc-comparison-rating .rating-stars {
    display: flex;
}

/* Custom Attributes List - Structural */
.ggmc-custom-attrs-list {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
}

/* Comparison Add to Cart - Structural */
.ggmc-comparison-add-to-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
    white-space: nowrap;
}

.ggmc-comparison-add-to-cart:disabled {
    cursor: not-allowed;
}

/* Comparison Empty State - Structural */
.ggmc-comparison-empty {
    text-align: center;
}

.ggmc-comparison-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* SVG icons need explicit sizing - they don't inherit font-size like icon fonts */
.ggmc-comparison-empty-icon svg {
    width: 1em;
    height: 1em;
    max-width: 64px;
    max-height: 64px;
}

.ggmc-comparison-cta-btn {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

/* Add More Products - Structural */
.ggmc-comparison-add-more {
    text-align: center;
}

.ggmc-comparison-add-more-btn {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

/* ==========================================================================
   FLOATING COMPARISON BAR - Structural CSS with Fallback Styling
   ========================================================================== */

.ggmc-compare-bar {
    position: fixed;
    bottom: -100px;
    left: 0;
    right: 0;
    z-index: 9999;
    transition: bottom 0.3s ease;
    background: linear-gradient(135deg, var(--ggmc-compare-bar-gradient-start, #1e40af) 0%, var(--ggmc-compare-bar-gradient-end, #3b82f6) 100%);
    color: var(--ggmc-compare-bar-text, #ffffff);
    border-radius: var(--ggmc-compare-bar-radius, 0);
    padding: 15px 20px;
}

.ggmc-compare-bar.visible {
    bottom: 0;
}

.ggmc-compare-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.ggmc-compare-bar-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ggmc-compare-bar .ggmc-compare-count {
    font-weight: 700;
    font-size: 18px;
}

.ggmc-compare-bar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ggmc-compare-bar-btn {
    cursor: pointer;
    transition: background-color 0.2s ease, opacity 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    border: none;
}

.ggmc-compare-bar .ggmc-compare-now-btn {
    background: var(--ggmc-compare-bar-btn-bg, #ffffff);
    color: var(--ggmc-compare-bar-btn-text, #1e40af);
}

.ggmc-compare-bar .ggmc-compare-now-btn:hover {
    opacity: 0.9;
}

.ggmc-compare-bar .ggmc-compare-clear-btn {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.ggmc-compare-bar .ggmc-compare-clear-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

.ggmc-compare-now-btn.disabled {
    cursor: not-allowed;
}

/* Compare Message Notification - Structural with Fallback Styling */
.ggmc-compare-message {
    position: fixed;
    top: 20px;
    right: 20px;
    max-width: 350px;
    padding: 14px 20px;
    background: var(--ggmc-notification-bg, #ffffff);
    border-radius: var(--ggmc-notification-radius, 8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.ggmc-compare-message.visible {
    opacity: 1;
    transform: translateX(0);
}

.ggmc-compare-message .message-text {
    flex: 1;
    font-size: 14px;
    color: var(--ggmc-notification-text, #374151);
}

.ggmc-compare-message .message-icon {
    font-size: 20px;
}

.ggmc-compare-message-success .message-icon {
    color: #16a34a;
}

.ggmc-compare-message-warning .message-icon {
    color: #d97706;
}

.ggmc-compare-message-error .message-icon {
    color: #dc2626;
}

.ggmc-compare-message-info .message-icon {
    color: #2563eb;
}

.ggmc-compare-message .message-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #9ca3af;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.ggmc-compare-message .message-close:hover {
    color: #374151;
}

/* Compare Button States - Structural */
.compare-btn.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Responsive - Structural */
@media (max-width: 768px) {
    .ggmc-compare-bar-inner {
        flex-direction: column;
    }

    .ggmc-compare-bar-info {
        text-align: center;
    }

    .ggmc-compare-bar-actions {
        width: 100%;
        justify-content: center;
    }

    .ggmc-compare-message {
        left: 20px;
        right: 20px;
        max-width: none;
    }
}

/* ==========================================================================
   WISHLIST MULTI-LIST - Structural CSS
   ========================================================================== */

/* Wishlist Modal - Structural */
.ggmc-wishlist-modal,
.ggmc-wishlist-share-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ggmc-wishlist-modal-content,
.ggmc-wishlist-share-modal-content {
    position: relative;
    width: 100%;
    max-width: 420px;
    max-height: 90vh;
    overflow-y: auto;
}

.ggmc-wishlist-modal-close,
.ggmc-share-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ggmc-wishlist-modal h3 {
    margin: 0 0 16px 0;
}

.ggmc-wishlist-form-group {
    margin-bottom: 16px;
}

.ggmc-wishlist-form-group label {
    display: block;
    margin-bottom: 6px;
}

.ggmc-wishlist-form-group input[type="text"],
.ggmc-wishlist-form-group select {
    width: 100%;
    height: 40px;
    box-sizing: border-box;
}

.ggmc-wishlist-form-group input[type="checkbox"] {
    margin-right: 8px;
}

.ggmc-wishlist-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
}

.ggmc-wishlist-modal-actions button {
    min-width: 80px;
    height: 40px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ggmc-wishlist-warning {
    margin: 12px 0;
}

/* Share Link Modal - Structural */
.ggmc-share-link-wrapper {
    display: flex;
    gap: 8px;
}

.ggmc-share-link-input {
    flex: 1;
    height: 40px;
    box-sizing: border-box;
}

.ggmc-copy-share-link {
    min-width: 70px;
    height: 40px;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* Wishlist Tabs - Structural */
.ggmc-wishlist-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 20px;
}

.ggmc-wishlist-tab-actions {
    display: none;
    align-items: center;
    gap: 8px;
    margin: 8px 0;
}

.ggmc-wishlist-tab-actions.active {
    display: flex;
}

.ggmc-wishlist-tab-actions button {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    border: none;
    background: none;
    transition: all 0.2s ease;
}

.ggmc-wishlist-tab-panel {
    display: none;
}

.ggmc-wishlist-tab-panel.active {
    display: block;
}

.ggmc-wishlist-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.ggmc-wishlist-tab .tab-name {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ggmc-wishlist-tab .tab-count {
    opacity: 0.7;
}

.ggmc-wishlist-tab-new {
    min-width: auto;
}

/* Wishlist Dropdown - Structural */
.ggmc-wishlist-dropdown-wrapper {
    margin-bottom: 20px;
}

.ggmc-wishlist-dropdown-header {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.ggmc-wishlist-dropdown-select {
    flex: 1;
    min-width: 200px;
    height: 44px;
    cursor: pointer;
}

.ggmc-wishlist-dropdown-actions {
    display: flex;
    gap: 4px;
    align-items: center;
}

.ggmc-wishlist-dropdown-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* Management Controls - Structural */
.ggmc-wishlist-management-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.ggmc-wishlist-management-controls button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ggmc-wishlist-management-controls button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.ggmc-wishlist-limit-info {
    display: inline-flex;
    align-items: center;
}

/* Bulk Actions - Structural */
.ggmc-wishlist-bulk-actions {
    display: none;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    align-items: center;
}

.ggmc-wishlist-bulk-actions.visible {
    display: flex;
}

.ggmc-wishlist-bulk-actions button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* Item Selection - Structural */
.ggmc-wishlist-item.selected {
    position: relative;
}

.ggmc-wishlist-item-select {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
}

/* Wishlist Content Container - Structural */
.ggmc-wishlist-content {
    position: relative;
}

/* Responsive - Structural */
@media (max-width: 768px) {
    .ggmc-wishlist-modal-content,
    .ggmc-wishlist-share-modal-content {
        margin: 16px;
        max-width: none;
    }

    .ggmc-wishlist-tabs-nav {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .ggmc-wishlist-tab {
        flex-shrink: 0;
    }

    .ggmc-share-link-wrapper {
        flex-direction: column;
    }

    .ggmc-copy-share-link {
        width: 100%;
    }

    .ggmc-wishlist-management-controls {
        justify-content: center;
    }
}

/* ==========================================================================
   WISHLIST SELECTOR POPOVER - Structural CSS
   ========================================================================== */

.ggmc-wishlist-selector-popover {
    position: absolute;
    z-index: 999999;
    width: 280px;
}

.ggmc-wishlist-popover-arrow {
    position: absolute;
    top: -8px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
}

.ggmc-wishlist-selector-popover.above .ggmc-wishlist-popover-arrow {
    top: auto;
    bottom: -8px;
    transform: rotate(180deg);
}

.ggmc-wishlist-popover-content {
    display: flex;
    flex-direction: column;
    max-height: 400px;
    overflow: hidden;
}

.ggmc-wishlist-popover-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.ggmc-wishlist-popover-close {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ggmc-wishlist-popover-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

.ggmc-wishlist-popover-list {
    display: flex;
    flex-direction: column;
}

.ggmc-wishlist-popover-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.ggmc-wishlist-popover-item input[type="radio"] {
    flex-shrink: 0;
    margin: 0;
}

.ggmc-wishlist-popover-item-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ggmc-wishlist-popover-item-count {
    flex-shrink: 0;
}

.ggmc-wishlist-popover-create {
    margin-top: auto;
}

.ggmc-wishlist-popover-create-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.ggmc-wishlist-popover-create-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ggmc-wishlist-popover-new-name {
    width: 100%;
    height: 36px;
    box-sizing: border-box;
}

.ggmc-wishlist-popover-create-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.ggmc-wishlist-popover-create-actions button {
    height: 32px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ggmc-wishlist-popover-footer {
    flex-shrink: 0;
}

.ggmc-wishlist-popover-add-btn {
    width: 100%;
    height: 40px;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.ggmc-wishlist-popover-add-btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.ggmc-wishlist-popover-empty {
    text-align: center;
}

/* Responsive - Popover */
@media (max-width: 480px) {
    .ggmc-wishlist-selector-popover {
        position: fixed;
        top: auto !important;
        bottom: 0;
        left: 0 !important;
        right: 0;
        width: 100%;
        max-width: none;
    }

    .ggmc-wishlist-popover-arrow {
        display: none;
    }

    .ggmc-wishlist-popover-content {
        max-height: 60vh;
    }
}

/* ============================================================
   Custom Attributes Widget - Structural CSS
   ============================================================ */
.ggmc-custom-attributes {
    overflow: hidden;
}
.ggmc-custom-attributes-title {
    margin: 0;
}
/* Table Layout */
.ggmc-custom-attributes.layout-table .ggmc-attr-row {
    display: flex;
}
.ggmc-custom-attributes.layout-table .ggmc-attr-name {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}
.ggmc-custom-attributes.layout-table .ggmc-attr-value {
    flex: 1;
}
/* List Layout */
.ggmc-custom-attributes.layout-list .ggmc-attr-name::after {
    content: ':';
}
/* Grid Layout */
.ggmc-custom-attributes.layout-grid .ggmc-attr-list {
    display: grid;
}
.ggmc-custom-attributes.layout-grid[data-columns="1"] .ggmc-attr-list {
    grid-template-columns: 1fr;
}
.ggmc-custom-attributes.layout-grid[data-columns="2"] .ggmc-attr-list {
    grid-template-columns: repeat(2, 1fr);
}
.ggmc-custom-attributes.layout-grid[data-columns="3"] .ggmc-attr-list {
    grid-template-columns: repeat(3, 1fr);
}
.ggmc-custom-attributes.layout-grid[data-columns="4"] .ggmc-attr-list {
    grid-template-columns: repeat(4, 1fr);
}
.ggmc-custom-attributes.layout-grid .ggmc-attr-name {
    display: flex;
    align-items: center;
}
.ggmc-custom-attributes.layout-grid .ggmc-attr-value {
    display: block;
}
/* Inline Layout */
.ggmc-custom-attributes.layout-inline .ggmc-attr-list {
    display: flex;
    flex-wrap: wrap;
}
.ggmc-custom-attributes.layout-inline .ggmc-attr-row {
    display: inline-flex;
    align-items: center;
}
.ggmc-custom-attributes.layout-inline .ggmc-attr-name::after {
    content: ':';
}
/* Icon styling */
.ggmc-attr-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ggmc-attr-icon i {
    line-height: 1;
}
/* Responsive */
@media (max-width: 768px) {
    .ggmc-custom-attributes.layout-grid[data-columns="3"] .ggmc-attr-list,
    .ggmc-custom-attributes.layout-grid[data-columns="4"] .ggmc-attr-list {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .ggmc-custom-attributes.layout-grid .ggmc-attr-list {
        grid-template-columns: 1fr !important;
    }
}

/* ============================================================
   Address Form Widget - Structural CSS
   ============================================================ */
.ggmc-address-form-wrapper {
    max-width: 100%;
}
.ggmc-form-row {
    display: flex;
    flex-wrap: wrap;
}
.ggmc-form-field-half {
    flex: 1;
    min-width: 200px;
}
.ggmc-form-field-third {
    flex: 1;
    min-width: 150px;
}
.ggmc-form-field input,
.ggmc-form-field select {
    width: 100%;
    box-sizing: border-box;
}
.ggmc-form-field label {
    display: block;
}
.ggmc-checkbox-label {
    display: flex;
    align-items: center;
}
.ggmc-checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}
.ggmc-form-buttons {
    display: flex;
}
.ggmc-form-button {
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
}

/* ============================================================
   Customer Account Widget - Structural CSS
   ============================================================ */
.ggmc-customer-account-widget {
    margin: 0 auto;
}
.ggmc-account-dashboard {
    overflow: hidden;
}
.account-welcome {
    text-align: center;
}
.account-welcome h2 {
    margin: 0;
}
.account-welcome p {
    margin: 0;
}
.tab-nav {
    display: flex;
}
.tab-link {
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}
.orders-table-responsive {
    overflow-x: auto;
}
.orders-table {
    width: 100%;
    border-collapse: collapse;
}
.orders-table th,
.orders-table td {
    text-align: left;
}
.order-status {
    display: inline-block;
    text-transform: uppercase;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.form-group label {
    display: block;
}
.form-group input,
.form-group select {
    width: 100%;
    transition: border-color 0.3s ease;
}
.form-group input:focus,
.form-group select:focus {
    outline: none;
}
.addresses-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.address-section h4 {
    margin: 0;
}
.btn-update-profile,
.btn-update-address,
.btn-view-order,
.btn-login,
.btn-register {
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-update-profile:hover,
.btn-update-address:hover,
.btn-view-order:hover,
.btn-login:hover,
.btn-register:hover {
    transform: translateY(-1px);
}
.btn-logout {
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}
.btn-logout:hover {
    text-decoration: none;
    transform: translateY(-1px);
}
.account-actions {
    text-align: center;
}
.auth-forms-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 800px;
    margin: 0 auto;
}
.login-form-container h3,
.register-form-container h3 {
    margin: 0;
    text-align: center;
}
.no-orders {
    text-align: center;
}
/* Orders Header */
.orders-header,
.downloads-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.orders-header h3,
.downloads-header h3 {
    margin: 0;
}
/* Orders Pagination */
.orders-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
}
.pagination-link {
    text-decoration: none;
    transition: all 0.2s;
}
.pagination-link.disabled {
    cursor: not-allowed;
}
/* Address Management */
.address-type-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.address-type-header h4 {
    margin: 0;
}
.btn-add-address {
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}
.address-list {
    display: grid;
}
.address-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.address-card-header h5 {
    margin: 0;
    display: flex;
    align-items: center;
}
.address-actions {
    display: flex;
}
.btn-edit-address,
.btn-delete-address {
    background: none;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-set-default {
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}
.no-addresses {
    text-align: center;
}
/* Business Settings */
.exemption-status {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.status-badge {
    display: inline-block;
    text-transform: uppercase;
}
.validation-notice {
    display: flex;
    align-items: center;
}
.radio-group {
    display: flex;
    flex-direction: column;
}
.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s;
}
.radio-label input[type="radio"] {
    width: auto;
    margin: 0;
}
.btn-update-business,
.btn-update-preference {
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-update-business:disabled,
.btn-update-preference:disabled {
    cursor: not-allowed;
}
/* Account Type Selector */
.account-type-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.account-type-option {
    display: block;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}
.account-type-option input[type="radio"] {
    display: none;
}
.option-content {
    display: flex;
    flex-direction: column;
}
/* Wishlists Tab */
.wishlists-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.wishlists-header h3 {
    margin: 0;
}
.btn-create-wishlist {
    display: inline-flex;
    align-items: center;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}
.wishlists-empty {
    text-align: center;
}
.wishlists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.wishlist-card {
    transition: box-shadow 0.2s, border-color 0.2s;
}
.wishlist-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.wishlist-card-name {
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.wishlist-card-actions {
    display: flex;
}
.wishlist-card-actions button {
    background: none;
    cursor: pointer;
    transition: all 0.2s;
}
.wishlist-card-body {
    display: flex;
    flex-direction: column;
}
.wishlist-card-footer {
    display: flex;
    flex-wrap: wrap;
}
.wishlist-card-footer button {
    flex: 1;
    min-width: 100px;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-view-wishlist {
    border: none;
}
/* Wishlist Detail View */
.wishlist-detail-header {
    display: flex;
    align-items: center;
}
.btn-back-to-wishlists {
    display: inline-flex;
    align-items: center;
    background: none;
    cursor: pointer;
    transition: all 0.2s;
}
.wishlist-detail-title {
    margin: 0;
}
.wishlist-detail-content {
    min-height: 200px;
}
.wishlist-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.wishlist-item-card {
    overflow: hidden;
    transition: box-shadow 0.2s;
}
.wishlist-item-image {
    aspect-ratio: 1;
    overflow: hidden;
}
.wishlist-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.wishlist-item-name a {
    text-decoration: none;
}
.wishlist-item-actions {
    display: flex;
}
.wishlist-item-actions button {
    flex: 1;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-add-to-cart-from-wishlist {
    /* Structural only - design handled by professional-defaults.css */
}
.wishlist-empty-message {
    text-align: center;
}
/* Wishlist Table Layout (Account View) */
.ggmc-wishlist-empty {
    text-align: center;
}
.ggmc-wishlist-empty i {
    display: block;
}
.ggmc-account-wishlist-table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
}
.ggmc-account-wishlist-table th {
    text-align: left;
    text-transform: uppercase;
}
.ggmc-account-wishlist-table td {
    vertical-align: middle;
}
.ggmc-account-wishlist-table .wishlist-col-remove {
    width: 40px;
    text-align: center;
}
.ggmc-account-wishlist-table .wishlist-col-remove button {
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
}
.ggmc-account-wishlist-table .wishlist-col-image {
    width: 80px;
}
.ggmc-account-wishlist-table .wishlist-product-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
}
.ggmc-account-wishlist-table .wishlist-no-image {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ggmc-account-wishlist-table .wishlist-product-name {
    text-decoration: none;
    display: block;
}
.ggmc-account-wishlist-table .wishlist-product-sku {
    display: block;
}
.ggmc-account-wishlist-table .wishlist-original-price {
    display: block;
}
.ggmc-account-wishlist-table .wishlist-stock-badge {
    display: inline-block;
}
.ggmc-account-wishlist-table .wishlist-col-actions {
    width: 140px;
    text-align: right;
}
.ggmc-account-wishlist-table .ggmc-add-to-cart-btn {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s;
}
.ggmc-account-wishlist-table .ggmc-add-to-cart-btn:disabled {
    cursor: not-allowed;
}
.wishlist-loading {
    display: flex;
    align-items: center;
    justify-content: center;
}
.wishlist-loading .spinner {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
/* Wishlist Modals */
.ggmc-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ggmc-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.ggmc-modal-content {
    position: relative;
    width: 100%;
    max-width: 400px;
}
.ggmc-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ggmc-modal-header h4 {
    margin: 0;
}
.ggmc-modal-close {
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
}
.ggmc-modal-body input[type="text"] {
    width: 100%;
}
.ggmc-modal-body input[type="text"]:focus {
    outline: none;
}
.ggmc-modal-footer {
    display: flex;
    justify-content: flex-end;
}
.ggmc-modal-footer button {
    cursor: pointer;
    transition: all 0.2s;
}
/* Customer Account Responsive */
@media (max-width: 768px) {
    .form-row,
    .addresses-container,
    .auth-forms-container {
        grid-template-columns: 1fr;
    }
    .tab-nav {
        flex-direction: column;
    }
    .modal-content {
        max-width: 100%;
        max-height: 100vh;
    }
    .ggmc-modal {
        padding: 0;
    }
    .address-type-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .btn-add-address {
        width: 100%;
    }
    .exemption-status {
        flex-direction: column;
        align-items: flex-start;
    }
    .account-type-options {
        grid-template-columns: 1fr;
    }
    .wishlists-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .wishlists-header .btn-create-wishlist {
        width: 100%;
        justify-content: center;
    }
    .wishlists-grid {
        grid-template-columns: 1fr;
    }
    .wishlist-card-footer {
        flex-direction: column;
    }
    .wishlist-card-footer button {
        width: 100%;
    }
    .wishlist-detail-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .wishlist-items-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ggmc-account-wishlist-table {
        display: block;
    }
    .ggmc-account-wishlist-table thead {
        display: none;
    }
    .ggmc-account-wishlist-table tbody,
    .ggmc-account-wishlist-table tr {
        display: block;
    }
    .ggmc-account-wishlist-table td {
        display: flex;
        align-items: center;
    }
    .ggmc-account-wishlist-table .wishlist-col-remove {
        position: absolute;
        right: 12px;
        top: 12px;
        width: auto;
    }
    .ggmc-account-wishlist-table .wishlist-col-image {
        width: auto;
    }
    .ggmc-account-wishlist-table .wishlist-col-actions {
        width: 100%;
        text-align: left;
    }
    .ggmc-account-wishlist-table .ggmc-add-to-cart-btn {
        width: 100%;
        justify-content: center;
    }
}
@media (max-width: 480px) {
    .wishlist-items-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   Taxonomy Header Widget - Structural CSS
   ============================================================ */
.ggmc-taxonomy-header {
    display: flex;
    flex-direction: column;
}
.ggmc-taxonomy-header--image-left,
.ggmc-taxonomy-header--image-right {
    flex-direction: row;
    align-items: center;
}
.ggmc-taxonomy-header--image-right {
    flex-direction: row-reverse;
}
.ggmc-taxonomy-header--background {
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ggmc-taxonomy-header--background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}
.ggmc-taxonomy-header--background .ggmc-taxonomy-content {
    position: relative;
    z-index: 1;
}
.ggmc-taxonomy-content {
    flex: 1;
}
.ggmc-taxonomy-image img {
    display: block;
}
.ggmc-taxonomy-title {
    margin: 0;
}
.ggmc-taxonomy-description {
    margin: 0;
}
.ggmc-taxonomy-count {
    display: inline-block;
}

/* ============================================================
   Product Barcode Widget - Structural CSS
   ============================================================ */
.ggmc-product-barcode.layout-inline .ggmc-barcode-item {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.ggmc-product-barcode.layout-stacked .ggmc-barcode-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.ggmc-product-barcode.layout-table .ggmc-barcode-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
}
.ggmc-barcode-type {
    display: inline-block;
    text-transform: uppercase;
}

/* ============================================================
   Discount Code Input Widget - Structural CSS
   ============================================================ */
.ggmc-discount-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.ggmc-discount-form {
    display: flex;
}
.ggmc-discount-input {
    flex: 1;
    text-transform: uppercase;
}
.ggmc-discount-apply-btn {
    cursor: pointer;
    white-space: nowrap;
}
.ggmc-discount-apply-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
.ggmc-applied-discount {
    display: flex;
    align-items: center;
}
.ggmc-discount-remove-btn {
    background: none;
    border: none;
    cursor: pointer;
}

/* ============================================================
   Applied Discount Widget - Structural CSS
   ============================================================ */
.ggmc-applied-discount-wrapper {
    display: flex;
    align-items: center;
}
.ggmc-applied-discount-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.ggmc-discount-remove-link {
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: underline;
}

/* ============================================================
   Checkout Widget - Payment Methods - Structural CSS
   ============================================================ */
.ggmc-payment-methods {
    display: flex;
    flex-direction: column;
}
.ggmc-payment-method {
    overflow: hidden;
    transition: border-color 0.2s;
}
.ggmc-payment-method-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}
.ggmc-payment-method-label input[type="radio"] {
    margin: 0;
    width: 18px;
    height: 18px;
}
.ggmc-payment-method-info {
    display: flex;
    align-items: center;
}
.ggmc-payment-method-icon {
    height: 24px;
    width: auto;
    max-width: 60px;
}
#ggmc-stripe-payment-element,
#ggmc-paypal-button-container {
    min-height: 45px;
}

/* ============================================================
   Checkout Widget - Shipping Methods - Structural CSS
   ============================================================ */
.shipping-methods-list {
    display: flex;
    flex-direction: column;
}
.shipping-method-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s;
}
.shipping-method-option input[type="radio"] {
    margin: 0;
    width: 16px;
    height: 16px;
}
.shipping-method-option .method-name {
    flex: 1;
}

/* ============================================================
   Subscription Management Widget - Structural CSS
   ============================================================ */
.ggmc-subscription-list {
    display: flex;
    flex-direction: column;
}
.ggmc-subscription-card {
    overflow: hidden;
    transition: box-shadow 0.2s;
}
.ggmc-subscription-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.ggmc-subscription-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.ggmc-subscription-badge {
    display: inline-flex;
    align-items: center;
}
.ggmc-subscription-card-body {
    display: flex;
    flex-direction: column;
}
.ggmc-subscription-detail {
    display: flex;
    flex-wrap: wrap;
}
.ggmc-subscription-actions {
    display: flex;
    flex-wrap: wrap;
}
.ggmc-subscription-action-btn {
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
}
.ggmc-subscription-login-required,
.ggmc-subscription-empty {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================================
   Cart Widget - Subscription Badge - Structural CSS
   ============================================================ */
.ggmc-subscription-frequency-badge {
    display: inline-flex;
    align-items: center;
}
.ggmc-recurring-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ggmc-trial-info {
    display: flex;
    align-items: center;
}

/* ============================================================
   Customer Account - Subscriptions Tab - Structural CSS
   ============================================================ */
.ggmc-account-subscriptions-list {
    display: flex;
    flex-direction: column;
}
.ggmc-account-sub-card {
    overflow: hidden;
}
.ggmc-account-sub-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.ggmc-account-sub-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.ggmc-account-sub-badge {
    display: inline-flex;
    align-items: center;
}
.ggmc-account-sub-details {
    display: flex;
    flex-direction: column;
}
.ggmc-account-sub-detail {
    display: flex;
    flex-wrap: wrap;
}
.ggmc-account-sub-actions {
    display: flex;
    flex-wrap: wrap;
}
.ggmc-account-sub-action {
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
}
.ggmc-account-sub-action:disabled {
    cursor: not-allowed;
}

/* ==========================================================================
   PRODUCT IMAGE GRID
   ========================================================================== */

.ggmc-image-grid {
    width: 100%;
    overflow: hidden;
}

/* --- Standard Grid Layout --- */
.ggmc-image-grid--standard .ggmc-image-grid__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

/* --- Featured Grid Layout --- */
.ggmc-image-grid--featured .ggmc-image-grid__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.ggmc-image-grid--featured.featured-span-2x2 .ggmc-image-grid__item--featured {
    grid-column: span 2;
    grid-row: span 2;
}

.ggmc-image-grid--featured.featured-span-2x1 .ggmc-image-grid__item--featured {
    grid-column: span 2;
}

.ggmc-image-grid--featured.featured-span-1x2 .ggmc-image-grid__item--featured {
    grid-row: span 2;
}

/* --- Masonry Layout --- */
.ggmc-image-grid--masonry .ggmc-image-grid__grid {
    column-count: 3;
    column-gap: 10px;
}

.ggmc-image-grid--masonry .ggmc-image-grid__item {
    break-inside: avoid;
    margin-bottom: 10px;
}

/* --- Alternating Rows Layout --- */
.ggmc-image-grid--alternating .ggmc-image-grid__grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ggmc-image-grid__row {
    display: grid;
    gap: inherit;
}

/* --- Shared Image Styles --- */
.ggmc-image-grid__item {
    overflow: hidden;
    position: relative;
}

.ggmc-image-grid .ggmc-image-grid__item img {
    display: block;
    width: 100%;
    height: 100%;
}

/* Masonry images keep natural height */
.ggmc-image-grid--masonry .ggmc-image-grid__item img {
    height: auto;
}

/* Aspect Ratios (not applied to masonry) */
.ggmc-image-grid.ratio-1-1 .ggmc-image-grid__item {
    aspect-ratio: 1 / 1;
}

.ggmc-image-grid.ratio-4-3 .ggmc-image-grid__item {
    aspect-ratio: 4 / 3;
}

.ggmc-image-grid.ratio-3-2 .ggmc-image-grid__item {
    aspect-ratio: 3 / 2;
}

.ggmc-image-grid.ratio-16-9 .ggmc-image-grid__item {
    aspect-ratio: 16 / 9;
}

.ggmc-image-grid.ratio-original .ggmc-image-grid__item img {
    height: auto;
}

/* Lightbox clickable cursor */
.ggmc-image-grid[data-lightbox="true"] .ggmc-image-grid__item {
    cursor: pointer;
}

/* --- Load More --- */
.ggmc-image-grid__item--hidden {
    display: none;
}

.ggmc-image-grid__row--hidden {
    display: none;
}

.ggmc-image-grid__load-more {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.ggmc-image-grid__load-more .ggmc-load-more-icon {
    display: inline-flex;
    align-items: center;
}

/* --- Lightbox --- */
.ggmc-image-grid-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100000;
    align-items: center;
    justify-content: center;
}

.ggmc-image-grid-lightbox__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ggmc-image-grid-lightbox__container {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ggmc-image-grid-lightbox__image {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    display: block;
}

.ggmc-image-grid-lightbox__close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2;
}

.ggmc-image-grid-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2;
}

.ggmc-image-grid-lightbox__prev {
    left: -50px;
}

.ggmc-image-grid-lightbox__next {
    right: -50px;
}

.ggmc-image-grid-lightbox__counter {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
}

/* --- Empty State --- */
.ggmc-image-grid--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .ggmc-image-grid-lightbox__prev {
        left: 10px;
    }

    .ggmc-image-grid-lightbox__next {
        right: 10px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   Product Carousel Widget — Structural Layer
   ═══════════════════════════════════════════════════════════════ */

/* Container */
.ggmc-product-carousel {
    position: relative;
    width: 100%;
    overflow: visible;
}

/* Viewport — clips overflow, padding creates peek */
.ggmc-carousel-viewport {
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
    touch-action: pan-y;
}

/* Track — flex row, translated by JS */
.ggmc-carousel-track {
    display: flex;
    will-change: transform;
}

/* Slides */
.ggmc-carousel-slide {
    flex-shrink: 0;
    box-sizing: border-box;
    transition: opacity 0.3s ease, transform 0.3s ease, filter 0.3s ease;
    display: flex;
}

/* ── Card layouts ───────────────────────────────────────────── */

/* Base card */
.ggmc-carousel-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Vertical: image on top, content below (default) */
.ggmc-carousel-card.layout-vertical {
    flex-direction: column;
}

/* Horizontal: image beside content */
.ggmc-carousel-card.layout-horizontal {
    flex-direction: row;
}

.ggmc-carousel-card.layout-horizontal.image-right {
    flex-direction: row-reverse;
}

.ggmc-carousel-card.layout-horizontal .carousel-card-image {
    flex-shrink: 0;
}

.ggmc-carousel-card.layout-horizontal .carousel-card-content {
    flex: 1;
    min-width: 0;
}

/* Overlay: content positioned over image */
.ggmc-carousel-card.layout-overlay {
    position: relative;
}

.ggmc-carousel-card.layout-overlay .carousel-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ggmc-carousel-card.layout-overlay .carousel-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ggmc-carousel-card.layout-overlay .carousel-card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.ggmc-carousel-card.layout-overlay.overlay-bottom .carousel-card-content {
    margin-top: auto;
    justify-content: flex-end;
}

.ggmc-carousel-card.layout-overlay.overlay-center .carousel-card-content {
    justify-content: center;
    align-items: center;
    height: 100%;
}

.ggmc-carousel-card.layout-overlay.overlay-full .carousel-card-content {
    height: 100%;
    justify-content: flex-end;
}

/* ── Image section ──────────────────────────────────────────── */

.carousel-card-image {
    overflow: hidden;
    position: relative;
    line-height: 0;
}

.carousel-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.carousel-card-image.hover-zoom:hover img {
    transform: scale(1.05);
}

.carousel-card-image.hover-fade:hover img {
    opacity: 0.85;
}

.carousel-card-image .placeholder-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 150px;
}

/* ── Content section ────────────────────────────────────────── */

.carousel-card-content {
    display: flex;
    flex-direction: column;
}

/* ── Component elements ─────────────────────────────────────── */

.carousel-product-badges {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.carousel-product-title {
    margin: 0;
}

.carousel-product-title a {
    text-decoration: none;
    color: inherit;
}

.carousel-product-rating {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-wrap: wrap;
}

.carousel-product-price {
    display: inline-block;
}

/* Carousel Attributes */
.carousel-product-attributes {
    display: flex;
    flex-wrap: wrap;
}

.carousel-attributes-inline {
    flex-direction: row;
    gap: 4px 12px;
}

.carousel-attributes-inline .carousel-attr-item {
    display: inline-flex;
    gap: 4px;
}

.carousel-attributes-list {
    flex-direction: column;
    gap: 4px;
}

.carousel-attributes-list .carousel-attr-item {
    display: flex;
    gap: 6px;
}

.carousel-attributes-table {
    flex-direction: column;
    gap: 0;
}

.carousel-attributes-table .carousel-attr-item {
    display: flex;
    justify-content: space-between;
}

.carousel-product-details-link {
    display: flex;
    align-items: center;
}

.carousel-product-details-link .details-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.carousel-product-details-link .details-link-icon {
    display: inline-flex;
    align-items: center;
}

.carousel-product-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: auto;
}

/* ── Navigation Arrows ──────────────────────────────────────── */

.ggmc-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    outline: none;
    line-height: 1;
    transition: all 0.3s ease;
}

.ggmc-carousel-prev {
    left: 15px;
}

.ggmc-carousel-next {
    right: 15px;
}

/* ── Dot Indicators ─────────────────────────────────────────── */

.ggmc-carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
}

.ggmc-carousel-dots.position-below {
    position: relative;
}

.ggmc-carousel-dots.position-overlaid {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.ggmc-carousel-dots .ggmc-carousel-dot {
    width: 10px;
    height: 10px;
    min-width: 0;
    min-height: 0;
    border: none;
    padding: 0 !important;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    background: var(--ggmc-border, rgba(0, 0, 0, 0.3));
    line-height: 0;
    font-size: 0;
    box-sizing: content-box;
}

.ggmc-carousel-dots .ggmc-carousel-dot.active {
    background: var(--ggmc-primary, #2563eb);
}

/* Dot shapes */
.ggmc-carousel-dots.shape-circle .ggmc-carousel-dot {
    border-radius: 50%;
}

.ggmc-carousel-dots.shape-square .ggmc-carousel-dot {
    border-radius: 0;
}

.ggmc-carousel-dots.shape-pill .ggmc-carousel-dot {
    border-radius: 100px;
}

/* ── Empty state ────────────────────────────────────────────── */

.ggmc-carousel-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

/* ── Responsive ─────────────────────────────────────────────── */

@media (max-width: 767px) {
    .ggmc-carousel-nav {
        width: 36px;
        height: 36px;
    }
}