/* single-product.css */

/* ============================================
   PRODUCT PAGE - MR. ROBERTS CUSTOM STYLING
   ============================================ */

body.single-product {
    background-color: #ffffff;
}

.product-page-wrapper {
    background-color: #ffffff;
    min-height: calc(100vh - 200px);
}

.woocommerce div.product {
    background-color: transparent;
}

/* ============================================
   EXTRA TOP PADDING
   ============================================ */

.product-page-wrapper .container > .grid {
    padding-top: 6rem !important;
    padding-bottom: 3rem !important;
}

@media (max-width: 1024px) {
    .product-page-wrapper .container > .grid {
        padding-top: 4rem !important;
        padding-bottom: 2rem !important;
    }
}

/* ============================================
   LEFT COLUMN - PRODUCT GALLERY
   ============================================ */

.product-images-column {
    width: 100%;
}

.main-image-container {
    position: relative;
    background-color: #f3f4f6;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    aspect-ratio: 1/1;
    margin-bottom: 1rem;
}

.main-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnails-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.thumbnail-item {
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.2s;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    aspect-ratio: 1/1;
}

.thumbnail-item:hover,
.thumbnail-item.active {
    border-color: #111827;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transform: scale(1.02);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s;
}

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

.image-zoom-container {
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
}

.image-zoom-container img {
    transition: transform 0.3s ease-out;
    will-change: transform;
}

/* ============================================
   RIGHT COLUMN - PRODUCT SUMMARY
   ============================================ */

.woocommerce div.product .product_title,
.woocommerce div.product .product-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #111827;
}

.woocommerce .star-rating {
    color: #eab308;
}

.woocommerce div.product .woocommerce-product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.woocommerce div.product .woocommerce-review-link {
    font-size: 0.875rem;
    color: #6b7280;
    text-decoration: none;
}

.woocommerce div.product .woocommerce-review-link:hover {
    color: #111827;
}

.woocommerce div.product p.price {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #111827;
}

.woocommerce div.product .woocommerce-product-details__short-description {
    color: #374151;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================
   HIDE DEFAULT VARIATIONS & QUANTITY
   ============================================ */

.woocommerce div.product form.cart .variations,
.woocommerce div.product form.cart .quantity,
.woocommerce div.product form.cart .reset_variations,
.woocommerce div.product form.cart .single_variation_wrap {
    display: none !important;
}

/* ============================================
   BULK PRICING OPTIONS - DESIGN MATCH
   ============================================ */

.bulk-pricing-options {
    margin-bottom: 1.5rem;
}

.bulk-pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.bulk-option {
    position: relative;
    padding: 1rem;
    border: 2px solid #d1d5db;
    border-radius: 0.75rem;
    transition: all 0.2s;
    text-align: center;
    background-color: #ffffff;
    cursor: pointer;
}

.bulk-option:hover {
    border-color: #111827;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.bulk-option.active {
    border-color: #111827;
    background-color: #f9fafb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.bulk-label {
    display: block;
    font-weight: 700;
    font-size: 0.875rem;
    color: #111827;
    margin-bottom: 0.25rem;
}

.bulk-price-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.bulk-price-old {
    font-size: 1rem;
    color: #9ca3af;
    text-decoration: line-through;
}

.bulk-price-new {
    font-size: 1.25rem;
    font-weight: 700;
    color: #dc2626;
}

.bulk-price-single {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
}

/* ============================================
   BULK VARIATIONS - COMPACT CARDS
   ============================================ */

.bulk-variations-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.bulk-variation-item {
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1rem;
    background-color: #ffffff;
    transition: all 0.2s;
}

.bulk-variation-item.expanded {
    border-color: #111827;
    background-color: #f9fafb;
}

.bulk-variation-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

.bulk-variation-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    min-width: 2rem;
}

.bulk-variation-thumb {
    width: 4rem;
    height: 4rem;
    border-radius: 0.5rem;
    overflow: hidden;
    background-color: #f3f4f6;
    flex-shrink: 0;
}

.bulk-variation-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bulk-variation-info {
    flex: 1;
}

.bulk-variation-title {
    font-weight: 700;
    font-size: 1rem;
    color: #111827;
    margin-bottom: 0.5rem;
}

.bulk-variation-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.variation-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    background-color: #f3f4f6;
    border: 1px solid #d1d5db;
}

.variation-badge.color-badge {
    align-items: center;
}

.color-circle {
    width: 1rem;
    height: 1rem;
    border-radius: 9999px;
    border: 1px solid #d1d5db;
}

.bulk-variation-toggle {
    color: #9ca3af;
    transition: color 0.2s;
}

.bulk-variation-toggle:hover {
    color: #111827;
}

.bulk-variation-toggle svg {
    width: 1.5rem;
    height: 1.5rem;
    transform: rotate(0deg);
    transition: transform 0.2s;
}

.bulk-variation-item.expanded .bulk-variation-toggle svg {
    transform: rotate(180deg);
}

/* Expanded Selectors */
.bulk-variation-selects {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
    display: none;
}

.bulk-variation-item.expanded .bulk-variation-selects {
    display: block;
}

.bulk-variation-select-group {
    margin-bottom: 1rem;
}

.bulk-variation-select-group:last-child {
    margin-bottom: 0;
}

.bulk-variation-select-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: #111827;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

/* Color Selector */
.color-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.color-option {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    border: 3px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.color-option:hover {
    transform: scale(1.1);
}

.color-option.selected {
    border-color: #111827;
    box-shadow: 0 0 0 2px white, 0 0 0 4px #111827;
}

/* Size Selector */
.size-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.size-option {
    padding: 0.5rem 1rem;
    border: 2px solid #d1d5db;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
    background-color: #ffffff;
}

.size-option:hover {
    border-color: #111827;
}

.size-option.selected {
    border-color: #111827;
    background-color: #111827;
    color: #ffffff;
}

/* ============================================
   ADD TO CART BUTTON
   ============================================ */

.woocommerce div.product form.cart {
    margin-bottom: 0;
}

.custom-add-to-cart-wrapper {
    margin-top: 1.5rem;
}

.custom-add-to-cart-btn {
    width: 100%;
    background-color: #16a34a;
    color: #ffffff;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
}

.custom-add-to-cart-btn:hover {
    background-color: #15803d;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.custom-add-to-cart-btn:disabled {
    background-color: #9ca3af;
    cursor: not-allowed;
}

.custom-add-to-cart-btn.loading {
    opacity: 0.75;
}

/* ============================================
   PRODUCT META - HIDDEN
   ============================================ */

.woocommerce div.product .product_meta {
    display: none;
}

/* ============================================
   SIDEBAR TABS
   ============================================ */

.product-tabs-sidebar {
    margin-top: 2rem;
}

.woocommerce-tabs-sidebar .tab-item {
    margin-bottom: 0.75rem;
}

.tab-toggle {
    width: 100%;
    text-align: left;
    padding: 0.75rem 1rem;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.tab-toggle:hover {
    background-color: #f9fafb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.tab-toggle svg {
    width: 1.25rem;
    height: 1.25rem;
    transform: rotate(0deg);
    transition: transform 0.2s;
}

.tab-toggle svg.rotate-180 {
    transform: rotate(180deg);
}

.tab-content {
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    margin-top: 0.5rem;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    display: none;
}

.tab-content h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #111827;
}

.tab-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.tab-content p {
    margin-bottom: 0.75rem;
    color: #374151;
    font-size: 0.875rem;
    line-height: 1.5;
}

.tab-content ul {
    list-style: disc;
    padding-left: 1.25rem;
    margin-bottom: 0.75rem;
    color: #374151;
}

.tab-content ul li {
    margin-bottom: 0.25rem;
}

.woocommerce table.shop_attributes {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-collapse: collapse;
}

.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes td {
    border: 1px solid #e5e7eb;
    padding: 0.75rem 1rem;
}

.woocommerce table.shop_attributes th {
    background-color: #f9fafb;
    font-weight: 700;
    text-align: left;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    width: 33.333333%;
    color: #111827;
}

.woocommerce table.shop_attributes td {
    color: #374151;
}

/* ============================================
   RELATED PRODUCTS
   ============================================ */

.related-products-section {
    background-color: #ffffff;
    margin-top: 2rem;
}

.woocommerce .related.products {
    padding-top: 2rem;
}

.woocommerce .related.products h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #111827;
}

.woocommerce .related.products ul.products {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .woocommerce .related.products ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .woocommerce .related.products ul.products {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.woocommerce div.product .woocommerce-tabs.wc-tabs-wrapper {
    display: none;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 640px) {
    .thumbnails-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem;
    }
    
    .bulk-pricing-grid {
        gap: 0.5rem;
    }
    
    .bulk-option {
        padding: 0.75rem;
    }
    
    .bulk-label {
        font-size: 0.75rem;
    }
    
    .bulk-price-old {
        font-size: 0.875rem;
    }
    
    .bulk-price-new,
    .bulk-price-single {
        font-size: 1.125rem;
    }
    
    .bulk-variation-thumb {
        width: 3rem;
        height: 3rem;
    }
    
    .bulk-variation-number {
        font-size: 1.25rem;
    }
    
    .bulk-variation-title {
        font-size: 0.875rem;
    }
}

/* ============================================
   ENGRAVING SECTION
   ============================================ */

.engraving-section {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
}

.engraving-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.engraving-checkbox {
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
    accent-color: #111827;
}

.engraving-toggle label {
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    margin: 0;
}

.engraving-input-wrapper {
    display: none;
}

.engraving-input-wrapper.active {
    display: block;
}

.engraving-input-wrapper label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.engraving-input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.engraving-input:focus {
    outline: none;
    border-color: #111827;
    box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.1);
}

.engraving-counter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: #6b7280;
}

.engraving-counter.warning {
    color: #dc2626;
    font-weight: 600;
}

.engraving-item-input {
    margin-bottom: 0.75rem;
    padding: 0.75rem;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
}

.engraving-item-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================
   BULK VARIATION ENGRAVING
   ============================================ */

.bulk-variation-engraving {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

/* ============================================
   SELECTION REQUIREMENT INDICATOR
   ============================================ */

.selection-required {
    border-color: #dc2626 !important;
    animation: shake 0.4s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.selection-indicator {
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    background-color: #dc2626;
    margin-left: 0.5rem;
}

.selection-indicator.complete {
    background-color: #16a34a;
}

/* ========================================
   BUNDLE BUILDER STYLES
   ======================================== */

/* Bundle Options Grid */
.bundle-selection-options {
    margin-bottom: 2rem;
}

.bundle-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.bundle-option {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.bundle-option:hover {
    border-color: #10b981;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.1);
}

.bundle-option.active {
    border-color: #10b981;
    background: #f0fdf4;
}

.bundle-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.25rem;
}

.bundle-price {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
}

.bundle-price-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bundle-price-old {
    font-size: 0.875rem;
    color: #9ca3af;
    text-decoration: line-through;
}

.bundle-price-new {
    font-size: 1.125rem;
    font-weight: 700;
    color: #10b981;
}

/* Bundle Products Container */
.bundle-products-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Bundle Variation Item */
.bundle-variation-item {
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    background: white;
    overflow: hidden;
    transition: all 0.2s ease;
}

.bundle-variation-item.selection-required {
    border-color: #ef4444;
    animation: shake 0.3s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.bundle-variation-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.bundle-variation-header:hover {
    background: #f9fafb;
}

.bundle-variation-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    background: #10b981;
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.bundle-variation-thumb {
    width: 60px;
    height: 60px;
    border-radius: 0.375rem;
    overflow: hidden;
    flex-shrink: 0;
}

.bundle-variation-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bundle-variation-info {
    flex: 1;
    min-width: 0;
}

.bundle-variation-title {
    font-weight: 600;
    font-size: 0.875rem;
    color: #111827;
    margin-bottom: 0.25rem;
}

.bundle-variation-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.variation-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.125rem 0.5rem;
    background: #f3f4f6;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
}

.variation-badge.color-badge {
    background: white;
    border: 1px solid #e5e7eb;
}

.color-circle {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.1);
}

.bundle-variation-toggle {
    width: 1.5rem;
    height: 1.5rem;
    color: #9ca3af;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.bundle-variation-item.expanded .bundle-variation-toggle {
    transform: rotate(180deg);
}

.bundle-variation-toggle svg {
    width: 100%;
    height: 100%;
}

/* Bundle Variation Selects */
.bundle-variation-selects {
    padding: 1rem;
    border-top: 1px solid #e5e7eb;
    background: #fafafa;
    display: none;
}

.bundle-variation-item.expanded .bundle-variation-selects {
    display: block;
}

.bundle-variation-select-group {
    margin-bottom: 1rem;
}

.bundle-variation-select-group:last-child {
    margin-bottom: 0;
}

.bundle-variation-select-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

/* Color Selector */
.color-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.color-option {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.color-option:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.color-option.selected {
    border-color: #111827;
    box-shadow: 0 0 0 2px white, 0 0 0 4px #111827;
}

/* Size Selector */
.size-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.size-option {
    padding: 0.5rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.375rem;
    background: white;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    transition: all 0.2s ease;
}

.size-option:hover {
    border-color: #10b981;
    background: #f0fdf4;
}

.size-option.selected {
    border-color: #10b981;
    background: #10b981;
    color: white;
}

/* Engraving Section */
.bundle-variation-engraving {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.engraving-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.engraving-checkbox {
    width: 1.125rem;
    height: 1.125rem;
    cursor: pointer;
}

.engraving-toggle label {
    margin: 0;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
}

.engraving-item-input {
    display: none;
    animation: slideDown 0.2s ease;
}

.engraving-item-input.active {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.engraving-item-label {
    display: block;
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.engraving-input {
    width: 100%;
    padding: 0.625rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    transition: border-color 0.2s ease;
}

.engraving-input:focus {
    outline: none;
    border-color: #10b981;
}

.engraving-counter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: #6b7280;
}

.engraving-counter.warning {
    color: #ef4444;
}

/* Add to Cart Button */
.custom-add-to-cart-wrapper {
    margin-top: 2rem;
}

.custom-add-to-cart-btn {
    width: 100%;
    padding: 1rem;
    background: #10b981;
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.025em;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.custom-add-to-cart-btn:hover {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

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

.custom-add-to-cart-btn.loading {
    position: relative;
    color: transparent;
}

.custom-add-to-cart-btn.loading::after {
    content: "";
    position: absolute;
    width: 1.25rem;
    height: 1.25rem;
    top: 50%;
    left: 50%;
    margin-left: -0.625rem;
    margin-top: -0.625rem;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.6s linear infinite;
}

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

/* Responsive */
@media (max-width: 640px) {
    .bundle-options-grid {
        grid-template-columns: 1fr;
    }
    
    .bundle-variation-header {
        padding: 0.75rem;
    }
    
    .bundle-variation-number {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.75rem;
    }
    
    .bundle-variation-thumb {
        width: 50px;
        height: 50px;
    }
}

