.wrap
{
    padding: 15px 10px;
}
.sam-settings-title {
    background-color: white;
    font-size: 28px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    margin-left: 20px;
    padding: 10px 10px !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid #3498db;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.sam-settings-form {
    background: #ffffff;
    padding: 10px 40px 10px 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.sam-settings-table {
    width: 100%;
    max-width: 600px;
}

.sam-settings-table th {
    font-weight: 500;
    color: #34495e;
    padding: 10px 0;
}

.sam-settings-table td {
    padding: 10px 0;
}

.sam-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #bdc3c7;
    border-radius: 4px;
    font-size: 14px;
    color: #2c3e50;
    transition: border-color 0.3s ease;
}

.sam-input:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
}

.sam-description {
    font-size: 13px;
    color: #7f8c8d;
    margin-top: 5px;
}

.sam-submit-button {
    background-color: #3498db;
    border: none;
    color: #ffffff;
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.sam-submit-button:hover {
    background-color: #2980b9;
}

.sam-submit-button:active {
    background-color: #1c5980;
}

.menu-item.cart-button {
    margin-left: auto;
    list-style: none;
}

.menu-item.cart-button a.btn {
    background-color: #0077ff;
    color: #fff;
    border-radius: 5px;
    padding: 8px 15px;
    text-decoration: none;
    font-weight: bold;
}

.menu-item.cart-button a.btn:hover {
    background-color: #0056b3;
    color: #fff;
}

.menu-item.cart-button i {
    margin-right: 5px;
}

.menu-item.cart-button {
    margin-left: auto;
    list-style: none;
}

.logout-btn {
    background-color: #28a745 !important;
    color: #fff !important;
    border-radius: 5px;
    text-decoration: none !important;
    font-weight: bold !important;
    margin-left: 10px !important;
}

.qty-input
{
    color: #666;
    padding: .75em;
    height: auto;
    border-width: 1px;
    border-style: solid;
    border-color: #dddddd;
    border-radius: 2px;
    background: #FFF;
    box-shadow: none;
    box-sizing: border-box;
    transition: all .2s linear;
    max-height: 10% !important;
    width: 20%;
}

.add-cart-btn, .wp-block-pages-list__item a[href*="/cart/"] {
    background: linear-gradient(150deg, #667eea 0%, #764ba4 100%) !important;
    border-style: solid;
    border-top-width: 0;
    border-right-width: 0;
    border-left-width: 0;
    border-bottom-width: 0;
    color: #ffff !important;
    border-color: #5511F8;;
    font-family: inherit;
    font-weight: 600;
    font-size: 14px;
    line-height: 2em;
    text-transform: uppercase;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}

.add-cart-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: left 0.5s;
}

.add-cart-btn:hover::before {
    left: 100%;
}

.add-cart-btn:hover {
    transform: translateY(0px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
    color: white;
}

.add-cart-danger-btn{
    border-style: solid;
    border-top-width: 0;
    border-right-width: 0;
    border-left-width: 0;
    border-bottom-width: 0;
    color: #FFF;
    border-color: #ff2e64;;
    background-color: #ff2e64;
    padding-top: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    font-family: inherit;
    font-weight: 600;
    font-size: 14px;
    font-size: 0.875rem;
    line-height: 1em;
    text-transform: uppercase;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}
.add-cart-danger-btn:hover{
    color: #FFF;
    border-color: #ff2e64;;
    background-color: #ff2e64;
}
.add-cart-danger-btn:focus{
    color: #FFF;
    border-color: #ff2e64;;
    background-color: #ff2e64;
}

.add-cart-info-btn{
    border-style: solid;
    border-top-width: 0;
    border-right-width: 0;
    border-left-width: 0;
    border-bottom-width: 0;
    color: #ffff !important;
    border-color: #006cfb;;
    background-color: #006cfb;
    padding-top: 12px;
    padding-right: 10px;
    padding-bottom: 12px;
    padding-left: 10px;
    font-family: inherit;
    font-weight: 600;
    font-size: 14px;
    font-size: 0.875rem;
    line-height: 1em;
    text-transform: uppercase;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}
.add-cart-info-btn:hover{
    color: #FFF;
    border-color: #006cfb;;
    background-color: #006cfb;
}
.add-cart-info-btn:focus{
    color: #FFF;
    border-color: #006cfb;;
    background-color: #006cfb;
}

.pd-l-0{
    padding-left: 0px !important;
}
.pd-r-0{
    padding-right: 0px !important;
}
.border-zero{
    border: none !important;
}
.text-middle
{
    vertical-align: middle !important;
}

.wd-100
{
    width: 100% !important;
}

.fixed-image {
    width: 100%;
    height: 200px; /* Adjust height as needed */
    object-fit: cover; /* Ensures images maintain aspect ratio while filling the container */
}
.login_btn{
    border-style: solid;
    border-top-width: 0;
    border-right-width: 0;
    border-left-width: 0;
    border-bottom-width: 0;
    color: #FFF;
    border-color: #c75964;
    background-color: #c75964;
    padding-top: 17px;
    padding-right: 34px;
    padding-bottom: 17px;
    padding-left: 34px;
    font-family: inherit;
    font-weight: 600;
    font-size: 14px;
    font-size: 0.875rem;
    line-height: 1em;
    text-transform: uppercase;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    margin-left: 10px;
}

.login_btn:hover{
    color: #FFF;
    border-color: #c75964;
    background-color: #c75964;
}
.login_btn:focus{
    color: #FFF;
    border-color: #c75964;
    background-color: #c75964;
}

.login_btn{
    border-style: solid;
    border-top-width: 0;
    border-right-width: 0;
    border-left-width: 0;
    border-bottom-width: 0;
    color: #FFF;
    border-color: #46aa5d;
    background-color: #46aa5d;
    padding-top: 17px;
    padding-right: 34px;
    padding-bottom: 17px;
    padding-left: 34px;
    font-family: inherit;
    font-weight: 600;
    font-size: 14px;
    font-size: 0.875rem;
    line-height: 1em;
    text-transform: uppercase;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    margin-left: 10px;
}

.login_btn:hover{
    color: #FFF;
    border-color: #46aa5d;
    background-color: #46aa5d;
}
.login_btn:focus{
    color: #FFF;
    border-color: #46aa5d;
    background-color: #46aa5d;
}

.updated, .error {
    margin: 15px auto;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 500;
}

.updated {
    background-color: #d1f7d6;
    color: #0a7223;
}

.error {
    background-color: #fdd;
    color: #a00;
}


.view-cart-menu a {
    font-weight: bold;
    color: #0073aa;
}

.view-cart-menu a:hover {
    color: #005177;
}

.sam-settings-form .postbox {
    margin-bottom: 20px;
}
.sam-settings-form .postbox h2 {
    padding: 12px;
    background: #f1f1f1;
    border-bottom: 1px solid #ddd;
}
.sam-settings-form .inside {
    padding: 20px;
}
.notice.inline {
    margin: 5px 0 15px 0;
}
#apiTabMenu
{
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
.artwork-card-clickable, .edition-card-clickable
{
    cursor: pointer !important;
    transition: transform 0.2s ease;
}


.checkout-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.form-label {
    font-weight: 600;
    margin-bottom: 5px;
}

.form-control, .form-select {
    border-radius: 5px;
    border: 1px solid #ddd;
    padding: 10px 15px;
    font-size: 14px;
}

.form-control:focus, .form-select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f093fb 0%, #f5576c 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #ddd;
    padding: 15px 20px;
}

.list-group-item {
    border: none;
    border-bottom: 1px solid #eee;
    padding: 15px 20px;
}

.list-group-item:last-child {
    border-bottom: none;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    padding: 12px 25px;
    font-weight: 600;
}

.btn-outline-secondary {
    padding: 12px 25px;
    font-weight: 600;
}

.custom-control-label {
    font-size: 14px;
    line-height: 1.5;
}

.text-danger {
    color: #dc3545 !important;
}

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

.was-validated .form-control:invalid ~ .invalid-feedback {
    display: block;
}

hr {
    border-top: 1px solid #dee2e6;
    margin: 2rem 0;
}

#credit-card-fields {
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .checkout-container {
        padding: 10px;
    }

    .col-6 .btn {
        font-size: 12px;
        padding: 8px 12px;
    }
}


#order-details-section {
    margin-top: 20px;
}
.order-summary {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}
.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    border-bottom: 1px solid #dee2e6;
}
.order-item:last-of-type {
    border-bottom: none;
}
.order-total {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #dee2e6;
    font-size: 1.2em;
}
.form-actions {
    border-top: 1px solid #dee2e6;
    padding-top: 20px;
}
.pull-right {
    float: right;
}




.tab-header {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    padding: 0;
    position: relative;
    overflow: hidden;
}

.tab-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 100%);
    pointer-events: none;
}

.nav-tabs {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    border: none;
    position: relative;
    z-index: 2;
}

.nav-item {
    flex: 1;
}

.nav-link {
    display: block !important;
    padding: 20px 15px !important;
    text-decoration: none !important;
    color: rgba(255, 255, 255, 0.8) !important;
    text-align: center !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    border: none !important;
    background: transparent !important;
    overflow: hidden !important;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.nav-link:hover::before {
    transform: translateY(0);
}

.nav-link:hover {
    color: white;
    transform: translateY(-2px);
}

.nav-link.active {
    color: white !important;
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px) !important;
}

.nav-link.active::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 40px !important;
    height: 4px !important;
    background: white !important;
    border-radius: 2px !important;
    animation: slideIn 0.3s ease !important;
}

@keyframes slideIn {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 40px;
        opacity: 1;
    }
}

.tab-content {
    padding: 45px 0px;
    min-height: 500px;
}

.tab-pane {
    display: none;
    animation: fadeInUp 0.5s ease forwards;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.content-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px !important;
    padding: 25px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f093fb 0%, #f5576c 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.content-card:hover::before {
    transform: scaleX(1);
}

.content-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 24px;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 10px;
}

.card-subtitle {
    font-size: 13px;
    color: #a0aec0;
    margin-bottom: 12px;
    font-weight: 500;
}

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
    margin: 15px 0;
}

.card-description {
    color: #718096;
    line-height: 1.5;
    font-size: 14px;
    margin-bottom: 15px;
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.status-available {
    background: rgba(72, 187, 120, 0.1);
    color: #38a169;
}

.status-primary {
    background: rgba(49, 130, 206, 0.1);
    color: #3182ce;
}

.status-unavailable {
    background: rgba(245, 101, 101, 0.1);
    color: #e53e3e;
}

.status-published {
    background: rgba(66, 153, 225, 0.1);
    color: #3182ce;
}

.price-tag {
    font-size: 20px;
    font-weight: 700 !important;
    color: #2d3748;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.no-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a0aec0;
    font-size: 68px;
}

.add-to-cart-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 20px 20px;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.add-to-cart-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.add-to-cart-btn:hover::before {
    left: 100%;
}

.add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
    color: white;
}

.add-to-cart-btn:disabled {
    background: #e2e8f0;
    color: white;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.add-to-cart-btn:disabled::before {
    display: none;
}

.load-more-container {
    text-align: center;
    margin-top: 30px;
}

.load-more-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.load-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.load-more-btn:hover::before {
    left: 100%;
}

.load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

.load-more-btn:active {
    transform: translateY(0);
}

.icon {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.load-more-btn:hover .icon {
    transform: rotate(180deg);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .container {
        border-radius: 16px;
        margin: 0 auto;
    }

    .nav-link {
        padding: 16px 10px;
        font-size: 14px;
    }

    .tab-content {
        padding: 20px 20px;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .content-card {
        padding: 20px;
    }

    .card-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .card-title {
        font-size: 16px;
    }

    .load-more-btn {
        padding: 12px 30px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .nav-link {
        padding: 14px 8px;
        font-size: 13px;
    }

    .tab-content {
        padding: 20px 15px;
    }

    .content-card {
        padding: 18px;
    }
}

/* Loading animation */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading .icon {
    animation: spin 1s linear infinite;
}

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

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float 15s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Main product card */
.product-hero {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 0;
    margin: 40px 0;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    position: relative;
    z-index: 10;
    transform: translateY(50px);
    opacity: 0;
    animation: slideInUp 1s ease-out 0.2s forwards;
}

@keyframes slideInUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.product-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 400px;
}

.image-section {
    position: relative;
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    overflow: hidden;
}

.image-container {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.image-container:hover {
    transform: scale(1.05) rotate(2deg);
}

.product-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-container:hover .product-image {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 107, 107, 0.3), rgba(78, 205, 196, 0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-container:hover .image-overlay {
    opacity: 1;
}

.details-section {
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}
.product-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    position: relative;
    transform: translateX(-50px);
    opacity: 0;
    animation: slideInRight 1s ease-out 0.4s forwards;
}

.product-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
    border-radius: 2px;
}

@keyframes slideInRight {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.product-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
    transform: translateX(-50px);
    opacity: 0;
    animation: slideInRight 1s ease-out 0.6s forwards;
}

.product-meta {
    /*display: flex;*/
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.meta-item {
    /*display: flex;*/
    align-items: center;
    gap: 10px;
    padding: 12px 0px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transform: translateY(30px);
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

.meta-item:nth-child(1) { animation-delay: 0.8s; }
.meta-item:nth-child(2) { animation-delay: 1s; }
.meta-item:nth-child(3) { animation-delay: 1.2s; }

@keyframes fadeInUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.meta-label {
    font-weight: 600;
    color: #2c3e50;
}

.meta-value {
    color: #666;
}

a.back-button {
    position: absolute;
    top: 30px;
    left: 30px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    color: #2c3e50 !important;
    transition: all 0.3s ease;
    z-index: 20;
    transform: translateX(-100px);
    animation: slideInRight 1s ease-out 0.2s forwards;
    font-size: 14px;
}

a.back-button:hover {
    background: white;
    color: #2c3e50 !important;
    transform: translateX(5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
.variations-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 40px;
    margin: 30px 0;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
    transform: translateY(50px);
    opacity: 0;
    animation: slideInUp 1s ease-out 1.6s forwards;
}

.variations-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
}

.variations-grid {
    display: grid;
    gap: 20px;
}

.variation-card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    padding: 25px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.variation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.variation-card:hover::before {
    left: 100%;
}

.variation-card:hover {
    border-color: #4ecdc4;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.variation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.variation-size {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
}

.variation-price {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.variation-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.variation-detail {
    text-align: left;
}

.variation-detail-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.variation-detail-value {
    font-weight: 600;
    color: #2c3e50;
}

.variation-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
}

.quantity-input {
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    padding: 10px 15px;
    width: 80px;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.quantity-input:focus {
    outline: none;
    border-color: #4ecdc4;
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1);
}

@media (max-width: 768px) {
    .product-content {
        grid-template-columns: 1fr;
    }

    .image-section {
        padding: 30px;
    }

    .details-section {
        padding: 40px 30px;
    }

    .product-title {
        font-size: 2rem;
    }

    .variations-section {
        padding: 25px;
    }

    .variation-details {
        grid-template-columns: 1fr;
    }
}

/* Loading animation */

.header {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 30px;
    text-align: center;
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 10px;
}

.progress-bar {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 20px;
}

.progress-step {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 25px;
    background: rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.progress-step.active {
    background: rgba(255,255,255,0.2);
    transform: scale(1.05);
}


.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
    font-size: 1.2rem;
    color: #666;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #4ecdc4;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 15px;
}

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


.product-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.product-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.product-details label {
    font-size: 1rem !important;
    color: #2c3e50 !important;
}

.product-catalog {
    font-size: 0.8rem;
    color: #7f8c8d;
    background: #ecf0f1;
    padding: 2px 6px;
    border-radius: 12px;
    display: inline-block;
}

.type-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: capitalize;
}

.type-product { background: #e3f2fd; color: #1976d2; }
.type-artwork { background: #f3e5f5; color: #7b1fa2; }
.type-edition { background: #e8f5e8; color: #388e3c; }

.price {
    font-size: 1.2rem;
    font-weight: 600;
    color: #f8f9fa;
}

.quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-badge {
    background: #f8f9fa;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
}

.delete-btn {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border: none;
    color: white !important;
    padding: 8px 10px !important;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 45px !important;
    height: 45px !important;
    align-items: center;
    justify-content: center;
    font-size: 20px !important;
}

.delete-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
    color: white !important;
}

.grand-total-row {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
}

.grand-total-row td {
    border: none;
}

.cart-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

.order-details-section {
    display: none;
    animation: fadeInUp 0.6s ease;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #2c3e50;
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.form-section {
    background: #f8f9ff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.form-section h4 {
    color: #2c3e50 !important;
    margin-bottom: 25px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 600;
}

.required {
    color: #e74c3c;
}

.form-control {
    width: 100%;
    padding: 15px !important;
    border: 2px solid #ecf0f1;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    color: black !important;
}

.form-control-select
{
    padding-top: 15px !important;
    padding-bottom: 15px !important;
    color: black !important;
    background: white !important;
    transition: all 0.3s ease;
    border: 2px solid #ecf0f1;
    border-radius: 10px;
    width: 100%;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.order-summary {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #ecf0f1;
}

.order-item:last-child {
    border-bottom: none;
}

.item-details {
    flex: 1;
}

.item-name {
    font-weight: 600;
    color: #2c3e50;
    display: block;
}

.item-meta {
    font-size: 0.9rem;
    color: #7f8c8d;
}

.item-price {
    font-weight: 600;
    color: #27ae60;
    font-size: 1.1rem;
}

.order-total {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 20px;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 2px solid #ecf0f1;
}

.empty-cart {
    text-align: center;
    padding: 60px 20px;
    color: #7f8c8d;
}

.empty-cart i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #bdc3c7;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cart-table {
        font-size: 0.9rem;
    }

    .cart-table th,
    .cart-table td {
        padding: 10px;
    }

    .cart-actions,
    .form-actions {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

.cart-section {
    animation: fadeInUp 0.6s ease;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.cart-table thead {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.cart-table th,
.cart-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

.cart-table th {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cart-table tbody tr {
    transition: all 0.3s ease;
}

.cart-table tbody tr:hover {
    background: #f8f9ff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-secondary {
    background: #95a5a6;
    color: white;
    font-size: 16px;
}

.cart-table-text {
    font-weight: 700;
    color: #2c3e50;
    font-size: 1.1rem;
}

.wp-block-pages-list__item a[href*="/cart/"]
{
    padding: 0px 10px !important;
}