.codlp {
    --codlp-primary: #ff6b35;
    --codlp-red: #ff4757;
    --codlp-soft: #fff5f0;
    --codlp-text: #1a1a1a;
    --codlp-muted: #777;
    --codlp-border: #e8e8e8;
    color: var(--codlp-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC", "Microsoft JhengHei", Arial, sans-serif;
}

.codlp *,
.codlp *::before,
.codlp *::after {
    box-sizing: border-box;
}

.codlp button,
.codlp input,
.codlp select,
.codlp textarea {
    font: inherit;
}

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

.codlp-product-wrapper {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.codlp-product-images {
    position: sticky;
    top: 0;
    flex: 0 0 45%;
    max-width: 500px;
    min-width: 300px;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.codlp-main-image {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    background: #fafafa;
}

.codlp-product-image,
.codlp-main-image img {
    display: block;
    width: 100%;
    height: auto;
}

.codlp-image-placeholder {
    display: flex;
    min-height: 360px;
    align-items: center;
    justify-content: center;
    color: var(--codlp-muted);
    background: #f7f7f7;
}

.codlp-product-info-wrap {
    flex: 1;
    min-width: 280px;
    max-width: 600px;
}

.codlp-product-info {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.codlp-product-title {
    margin: 0 0 15px;
    color: var(--codlp-text);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0;
}

.codlp-sales-rank {
    display: inline-flex;
    max-width: 100%;
    align-items: center;
    gap: 8px;
    margin: -2px 0 16px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 107, 53, 0.38);
    border-radius: 9px;
    background: #fff8f4;
    color: #e54e1b;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.35;
}

.codlp-sales-rank-icon {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    fill: currentColor;
}

.codlp-product-price {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
    margin-bottom: 20px;
}

.codlp-current-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px;
    color: var(--codlp-primary);
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
}

.codlp-current-price del {
    color: #999;
    font-size: 0.58em;
    font-weight: 600;
    text-decoration-thickness: 2px;
}

.codlp-current-price ins {
    color: var(--codlp-primary);
    text-decoration: none;
}

.codlp-price-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 11px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
}

.codlp-price-tag.is-promo {
    background: #ff6338;
    box-shadow: 0 5px 14px rgba(255, 99, 56, 0.22);
    color: #fff;
}

.codlp-price-tag.is-standard {
    border: 1px solid #f1dfd6;
    background: #fff8f4;
    color: #d94a17;
}

.codlp-short-description {
    margin: -4px 0 20px;
    padding: 14px 16px;
    border: 1px solid #f0dfd8;
    border-radius: 10px;
    background: #fffaf8;
}

.codlp-short-description-title {
    margin: 0 0 7px;
    color: var(--codlp-text);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.4;
}

.codlp-short-description-content {
    color: #545a63;
    font-size: 14px;
    line-height: 1.65;
}

.codlp-short-description-content > :first-child {
    margin-top: 0;
}

.codlp-short-description-content > :last-child {
    margin-bottom: 0;
}

.codlp-short-description-content p {
    margin: 0 0 6px;
}

.codlp-short-description-content ul,
.codlp-short-description-content ol {
    margin: 0;
    padding-left: 1.35em;
}

.codlp-short-description-content li + li {
    margin-top: 3px;
}

.codlp-service-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: 10px;
    background: #f9f9f9;
}

.codlp-service-item {
    display: flex;
    flex: 1 1 0;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
    line-height: 1.35;
    white-space: nowrap;
}

.codlp-service-icon {
    display: inline-flex;
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--codlp-primary);
    color: #fff;
}

.codlp-service-icon svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
}

.codlp-spec-section {
    margin-bottom: 20px;
}

.codlp-spec-title {
    position: relative;
    margin-bottom: 12px;
    padding-left: 8px;
    color: #333;
    font-size: 14px;
    font-weight: 700;
}

.codlp-spec-title::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 3px;
    height: 14px;
    border-radius: 2px;
    transform: translateY(-50%);
    background: linear-gradient(180deg, var(--codlp-primary), #ff8c5a);
}

.codlp-attribute-groups {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.codlp-attribute-group {
    padding: 14px;
    border: 1px solid var(--codlp-border);
    border-radius: 10px;
    background: #fafafa;
}

.codlp-attribute-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #333;
    font-size: 14px;
    font-weight: 700;
}

.codlp-step-number {
    display: inline-flex;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--codlp-primary);
    color: #fff;
    font-size: 12px;
}

.codlp-attribute-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
    gap: 8px;
}

.codlp-attribute-option {
    position: relative;
    min-width: 0;
    min-height: 44px;
    padding: 9px 12px;
    cursor: pointer;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    color: #444;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.35;
    overflow-wrap: anywhere;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.codlp-attribute-option-label {
    display: block;
}

.codlp-attribute-option.has-popular-tag {
    padding-top: 15px;
}

.codlp-popular-tag {
    position: absolute;
    top: -10px;
    right: 8px;
    z-index: 2;
    padding: 3px 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff6b35, #f04b27);
    box-shadow: 0 3px 8px rgba(229, 78, 27, 0.22);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: 0.02em;
    text-decoration: none;
    white-space: nowrap;
}

.codlp-attribute-option:hover:not(:disabled),
.codlp-attribute-option:focus-visible {
    border-color: var(--codlp-primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.12);
    outline: 0;
}

.codlp-attribute-option.is-active {
    border-color: var(--codlp-primary);
    background: var(--codlp-soft);
    color: #d94a17;
    box-shadow: inset 0 0 0 1px var(--codlp-primary);
}

.codlp-attribute-option:disabled {
    cursor: not-allowed;
    border-color: #eee;
    background: #f3f3f3;
    color: #aaa;
    text-decoration: line-through;
    opacity: 0.7;
}

.codlp-mini-card {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 25px;
    padding: 15px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.codlp-mini-image {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #f7f7f7;
}

.codlp-mini-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.codlp-mini-info {
    min-width: 0;
    flex: 1;
}

.codlp-selection-status {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 4px;
    color: #238636;
    font-size: 12px;
    font-weight: 700;
}

.codlp-selection-status span {
    display: inline-flex;
    width: 17px;
    height: 17px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #238636;
    color: #fff;
    font-size: 11px;
}

.codlp-mini-info h3 {
    display: -webkit-box;
    margin: 0 0 18px;
    overflow: hidden;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.codlp-mini-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.codlp-mini-bottom > span[data-role="package-units"] {
    padding: 4px 10px;
    border-radius: 4px;
    background: #f5f5f5;
    color: #999;
    font-size: 12px;
}

.codlp-mini-bottom strong {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: flex-end;
    gap: 6px;
    color: var(--codlp-primary);
    font-size: 18px;
}

.codlp-mini-bottom strong del {
    color: #999;
    font-size: 13px;
    font-weight: 500;
    text-decoration-thickness: 1.5px;
}

.codlp-mini-bottom strong ins {
    color: var(--codlp-primary);
    text-decoration: none;
}

.codlp-mini-bottom strong del .woocommerce-Price-amount {
    color: #999;
}

.codlp-mini-bottom strong ins .woocommerce-Price-amount {
    color: var(--codlp-primary);
}

.codlp-form {
    margin-bottom: 25px;
    padding: 20px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.codlp-form-title {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    color: var(--codlp-text);
    font-size: 16px;
    font-weight: 700;
}

.codlp-form-section,
.codlp-form-group {
    margin-bottom: 15px;
}

.codlp-form-label {
    display: block;
    margin-bottom: 10px;
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

.codlp-required {
    color: var(--codlp-primary);
}

.codlp-form-row {
    display: flex;
    gap: 15px;
}

.codlp-form-row .codlp-form-group {
    flex: 1;
}

.codlp-input,
.codlp-select,
.codlp-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    color: #333;
    font-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.codlp-input:focus,
.codlp-select:focus,
.codlp-textarea:focus {
    outline: 0;
    border-color: var(--codlp-primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.12);
}

.codlp-input[aria-invalid="true"],
.codlp-select[aria-invalid="true"],
.codlp-textarea[aria-invalid="true"] {
    border-color: #c62828;
    background: #fffafa;
    box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.1);
}

.codlp-textarea {
    min-height: 80px;
    resize: vertical;
}

.codlp-select:disabled {
    cursor: not-allowed;
    background: #f7f7f7;
    color: #777;
}

.codlp-field-status {
    min-height: 20px;
    margin: 6px 0 0;
    color: #777;
    font-size: 12px;
}

.codlp-field-status.is-error {
    color: #b42318;
}

.codlp-field-error {
    margin: 7px 0 0;
    color: #b42318;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}

.codlp-delivery-options {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 2px solid #ddd;
    border-radius: 12px;
}

.codlp-delivery-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    background: #fff;
    transition: background 0.2s ease;
}

.codlp-delivery-option:last-child {
    border-bottom: 0;
}

.codlp-delivery-option:hover,
.codlp-delivery-option.is-active {
    background: #fff9f7;
}

.codlp-delivery-option.is-disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.codlp-delivery-option.is-disabled:hover {
    background: #fff;
}

.codlp-delivery-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.codlp-radio {
    display: inline-flex;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border: 2px solid #ddd;
    border-radius: 50%;
}

.codlp-radio span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: transparent;
    transform: scale(0);
    transition: transform 0.2s ease, background 0.2s ease;
}

.codlp-delivery-option.is-active .codlp-radio {
    border-color: var(--codlp-primary);
}

.codlp-delivery-option.is-active .codlp-radio span {
    background: var(--codlp-primary);
    transform: scale(1);
}

.codlp-delivery-icon {
    display: inline-flex;
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: var(--codlp-soft);
    color: var(--codlp-primary);
    font-weight: 800;
}

.codlp-delivery-text {
    flex: 1;
    color: #333;
    font-size: 15px;
    font-weight: 600;
}

.codlp-delivery-tag {
    padding: 4px 12px;
    border-radius: 20px;
    background: #e8f5e9;
    color: #2e7d32;
    font-size: 12px;
    font-weight: 700;
}

.codlp-price-hint {
    margin: 4px 0 10px;
    color: #999;
    font-size: 12px;
    line-height: 1.4;
    text-align: center;
}

.codlp-checkout-assurances {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 12px;
}

.codlp-checkout-assurance {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 8px;
    border: 1px solid #f1dfd6;
    border-radius: 9px;
    background: #fff8f4;
    color: #4b3a32;
    text-align: center;
}

.codlp-checkout-assurance span {
    display: inline-flex;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--codlp-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.codlp-checkout-assurance strong {
    min-width: 0;
    color: #333;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
}

.codlp-buy-button,
.codlp-go-order {
    display: flex;
    width: 100%;
    min-height: 56px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 25px;
    overflow: hidden;
    cursor: pointer;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--codlp-primary) 0%, var(--codlp-red) 50%, var(--codlp-primary) 100%);
    background-size: 200% 200%;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4), 0 4px 10px rgba(255, 71, 87, 0.3);
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    animation: codlpGradient 3s ease infinite, codlpPulse 2s ease-in-out infinite;
}

.codlp-buy-button:hover,
.codlp-go-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 107, 53, 0.48), 0 6px 16px rgba(255, 71, 87, 0.36);
}

.codlp-buy-button[disabled] {
    cursor: wait;
    opacity: 0.65;
}

.codlp-buy-button {
    justify-content: center;
}

.codlp-buy-button span {
    min-width: 0;
    text-align: center;
}

.codlp-message {
    display: none;
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
}

.codlp-message.is-visible {
    display: block;
}

.codlp-message.is-error {
    background: #fff0f0;
    color: #c62828;
}

.codlp-message.is-success {
    background: #edf8ef;
    color: #226b31;
}

.codlp-active-order-overlay[hidden] {
    display: none;
}

.codlp-active-order-overlay {
    position: fixed;
    z-index: 100001;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
}

.codlp-active-order-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(25, 18, 16, 0.62);
    backdrop-filter: blur(4px);
}

.codlp-active-order-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 440px);
    padding: 34px 30px 28px;
    border: 1px solid rgba(255, 107, 53, 0.25);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(31, 15, 10, 0.32);
    text-align: center;
    animation: codlp-active-order-dialog-in 0.24s ease-out both;
}

.codlp-active-order-close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    border: 0;
    border-radius: 50%;
    background: #fff1ec;
    color: #ad3d20;
    font-size: 28px;
    line-height: 1;
}

.codlp-active-order-icon {
    display: inline-flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--codlp-primary), var(--codlp-red));
    box-shadow: 0 10px 24px rgba(255, 92, 62, 0.3);
    color: #fff;
    font-size: 34px;
    font-weight: 900;
    line-height: 1;
}

.codlp-active-order-kicker {
    margin: 0;
    color: #cc4a2a;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.codlp-active-order-dialog h2 {
    margin: 7px 0 12px;
    color: var(--codlp-text);
    font-size: 25px;
    line-height: 1.3;
}

.codlp-active-order-copy {
    margin: 0;
    color: #3d302c;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.7;
}

.codlp-active-order-note {
    margin: 15px 0 0;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fff5f0;
    color: #9a4a35;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.55;
}

.codlp-active-order-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 23px;
}

.codlp-active-order-actions a,
.codlp-active-order-actions button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    cursor: pointer;
    border-radius: 11px;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.codlp-active-order-actions a {
    background: linear-gradient(135deg, var(--codlp-primary), var(--codlp-red));
    box-shadow: 0 8px 18px rgba(255, 92, 62, 0.27);
    color: #fff;
}

.codlp-active-order-actions button {
    border: 1px solid #e9c7bc;
    background: #fff;
    color: #aa4429;
}

.codlp-active-order-close:hover,
.codlp-active-order-actions a:hover,
.codlp-active-order-actions button:hover {
    transform: translateY(-1px);
}

.codlp-active-order-actions a:hover {
    box-shadow: 0 11px 22px rgba(255, 92, 62, 0.34);
}

.codlp-active-order-close:focus-visible,
.codlp-active-order-actions a:focus-visible,
.codlp-active-order-actions button:focus-visible {
    outline: 3px solid #242424;
    outline-offset: 3px;
}

body.codlp-active-order-modal-open {
    overflow: hidden;
}

@keyframes codlp-active-order-dialog-in {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 480px) {
    .codlp-active-order-overlay {
        padding: 16px;
    }

    .codlp-active-order-dialog {
        padding: 30px 20px 20px;
        border-radius: 18px;
    }

    .codlp-active-order-dialog h2 {
        font-size: 23px;
    }

    .codlp-active-order-copy {
        font-size: 16px;
    }

    .codlp-active-order-actions {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .codlp-active-order-dialog,
    .codlp-active-order-close,
    .codlp-active-order-actions a,
    .codlp-active-order-actions button {
        animation: none;
        transition: none;
    }
}

.codlp-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.codlp-details {
    margin-top: 20px;
    padding: 25px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.codlp-details h2 {
    margin: 0 0 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    color: var(--codlp-text);
    font-size: 18px;
    font-weight: 700;
}

.codlp-details-content {
    color: #666;
    font-size: 14px;
    line-height: 2;
}

.codlp-details-content img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    content-visibility: auto;
    contain-intrinsic-size: auto 800px;
}

.codlp-go-order {
    position: sticky;
    bottom: 0;
    z-index: 90;
    display: none;
    justify-content: center;
    margin-top: 20px;
}

.codlp-go-order.is-visible {
    display: flex;
}

.codlp-back-top {
    position: fixed;
    right: 25px;
    bottom: 150px;
    z-index: 998;
    display: flex;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 0;
    border-radius: 50%;
    opacity: 0;
    visibility: hidden;
    background: linear-gradient(135deg, var(--codlp-red), var(--codlp-primary));
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.codlp-back-top.is-visible {
    opacity: 1;
    visibility: visible;
}

.codlp-notice {
    max-width: 760px;
    margin: 24px auto;
    padding: 14px 16px;
    border-left: 4px solid #ff6b35;
    background: #fff8f5;
    color: #333;
}

@keyframes codlpGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes codlpPulse {
    0%, 100% { box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4), 0 4px 10px rgba(255, 71, 87, 0.3); }
    50% { box-shadow: 0 12px 35px rgba(255, 107, 53, 0.58), 0 6px 15px rgba(255, 71, 87, 0.45); }
}

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

    .codlp-product-wrapper {
        flex-direction: column;
        gap: 15px;
    }

    .codlp-product-images,
    .codlp-product-info-wrap,
    .codlp-product-info {
        width: 100%;
        max-width: none;
        min-width: 0;
    }

    .codlp-product-images {
        position: static;
        border-radius: 0;
    }

    .codlp-product-info {
        padding: 16px;
        border-radius: 0;
    }

    .codlp-product-title {
        font-size: 20px;
    }

    .codlp-current-price {
        font-size: 28px;
    }

    .codlp-short-description {
        margin-bottom: 16px;
        padding: 13px 14px;
    }

    .codlp-service-info {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        margin-bottom: 16px;
        padding: 12px;
    }

    .codlp-service-item {
        min-width: 0;
        gap: 6px;
        font-size: 13px;
    }

    .codlp-spec-title,
    .codlp-attribute-label,
    .codlp-form-title,
    .codlp-form-label,
    .codlp-delivery-text {
        font-size: 16px;
    }

    .codlp-attribute-options {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .codlp-attribute-option {
        min-height: 52px;
        padding: 13px 14px;
        font-size: 16px;
        line-height: 1.45;
    }

    .codlp-attribute-group {
        padding: 12px;
    }

    .codlp-form-row {
        flex-direction: column;
        gap: 0;
    }

    .codlp-form {
        padding: 15px;
    }

    .codlp-input,
    .codlp-select,
    .codlp-textarea {
        min-height: 50px;
        font-size: 16px;
    }

    .codlp-field-status,
    .codlp-price-hint,
    .codlp-field-error,
    .codlp-message {
        font-size: 15px;
    }

    .codlp-checkout-assurances {
        grid-template-columns: 1fr;
    }

    .codlp-checkout-assurance {
        justify-content: flex-start;
        padding: 12px 14px;
    }

    .codlp-checkout-assurance strong {
        font-size: 16px;
    }

    .codlp-buy-button,
    .codlp-go-order {
        min-height: 62px;
        padding: 0 18px;
        font-size: 18px;
    }

    .codlp-mini-card {
        padding: 12px;
    }

    .codlp-mini-image {
        width: 80px;
        height: 80px;
    }

    .codlp-go-order.is-visible {
        position: fixed;
        right: 20px;
        bottom: 86px;
        left: 20px;
        width: auto;
    }
}

@media (max-width: 580px) {
    .codlp-product-title {
        font-size: 20px;
    }

    .codlp-current-price {
        font-size: 24px;
    }

    .codlp-sales-rank {
        padding: 7px 10px;
        font-size: 14px;
    }

    .codlp-delivery-option {
        padding: 14px 12px;
        gap: 10px;
    }

    .codlp-delivery-text {
        font-size: 16px;
    }

    .codlp-delivery-tag {
        padding: 3px 8px;
        font-size: 14px;
    }

    .codlp-service-info {
        gap: 4px;
        padding: 10px 6px;
    }

    .codlp-service-item {
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        font-size: 12px;
        text-align: center;
        white-space: normal;
    }
}

/* Trust-building content */
.codlp-after-order,
.codlp-real-gallery {
    margin-top: 20px;
    padding: 25px;
    border: 1px solid #f0e7e2;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.codlp-trust-heading span {
    color: var(--codlp-primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
}

.codlp-trust-heading h2 {
    margin: 4px 0 18px;
    color: var(--codlp-text);
    font-size: 20px;
    line-height: 1.4;
}

.codlp-order-steps,
.codtl-thankyou-timeline {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.codlp-order-steps > div,
.codtl-thankyou-timeline > div {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 5px;
    padding: 14px;
    border-radius: 10px;
    background: #fff8f4;
}

.codlp-order-steps b,
.codtl-thankyou-timeline b {
    display: inline-flex;
    width: 27px;
    height: 27px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--codlp-primary, #ef4b2f);
    color: #fff;
    font-size: 12px;
}

.codlp-order-steps strong,
.codtl-thankyou-timeline strong { color: #292929; font-size: 14px; }
.codlp-order-steps span,
.codtl-thankyou-timeline span { color: #777; font-size: 12px; line-height: 1.55; }
.codlp-order-lookup-link { display: inline-flex; gap: 8px; margin-top: 16px; color: #d94a17; font-size: 13px; font-weight: 700; }

.codlp-gallery-shell { position: relative; }
.codlp-gallery-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.codlp-gallery-track::-webkit-scrollbar { display: none; }
.codlp-gallery-slide {
    position: relative;
    min-width: min(78%, 350px);
    aspect-ratio: 1 / 1;
    padding: 0;
    overflow: hidden;
    cursor: zoom-in;
    border: 0;
    border-radius: 10px;
    background: #f4f4f4;
    scroll-snap-align: start;
}
.codlp-gallery-slide img { width: 100%; height: 100%; object-fit: cover; }
.codlp-gallery-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 38px;
    height: 38px;
    padding: 0;
    cursor: pointer;
    border: 1px solid #eee;
    border-radius: 50%;
    background: rgba(255,255,255,.94);
    box-shadow: 0 3px 12px rgba(0,0,0,.12);
    color: #333;
    font-size: 28px;
    line-height: 1;
    transform: translateY(-50%);
}
.codlp-gallery-arrow.is-prev { left: 8px; }
.codlp-gallery-arrow.is-next { right: 8px; }
.codlp-gallery-dots { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
.codlp-gallery-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: #ddd; }
.codlp-gallery-dots button.is-active { width: 20px; border-radius: 8px; background: var(--codlp-primary); }

.codlp-details.codlp-tabs { padding-top: 0; }
.codlp-tab-list { display: grid; grid-template-columns: 1fr 1fr; margin: 0 -25px 24px; border-bottom: 1px solid #eee; }
.codlp-tab {
    position: relative;
    padding: 18px 12px;
    cursor: pointer;
    border: 0;
    background: transparent;
    color: #888;
    font-size: 15px;
    font-weight: 750;
}
.codlp-tab.is-active { color: var(--codlp-primary); }
.codlp-tab.is-active::after { position: absolute; right: 20%; bottom: -1px; left: 20%; height: 3px; border-radius: 3px 3px 0 0; background: var(--codlp-primary); content: ""; }
.codlp-tab span { display: inline-flex; min-width: 20px; justify-content: center; padding: 1px 6px; border-radius: 12px; background: #f2f2f2; font-size: 11px; }
.codlp-tab-panel[hidden] { display: none; }
.codlp-return-note { margin-top: 24px; padding: 16px; border-left: 4px solid var(--codlp-primary); border-radius: 6px; background: #fff8f4; }
.codlp-return-note p { margin: 6px 0; color: #666; font-size: 13px; line-height: 1.7; }
.codlp-return-note a { color: #d94a17; font-size: 13px; font-weight: 700; }

.codlp-review-summary { display: flex; align-items: center; gap: 18px; padding: 18px; border-radius: 10px; background: #fff8f4; }
.codlp-review-summary > strong { color: var(--codlp-primary); font-size: 42px; line-height: 1; }
.codlp-review-summary p { margin: 2px 0 0; color: #777; font-size: 12px; }
.codlp-stars { color: #ffad1f; font-size: 16px; letter-spacing: .08em; }
.codlp-review-list { display: grid; gap: 14px; margin-top: 16px; }
.codlp-review-card { padding: 16px 0; border-bottom: 1px solid #eee; }
.codlp-review-card header { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.codlp-review-card header > div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.codlp-review-card time { color: #999; font-size: 12px; }
.codlp-verified { padding: 2px 7px; border-radius: 10px; background: #e9f6ef; color: #16835f; font-size: 10px; }
.codlp-review-card p { margin: 9px 0; color: #555; font-size: 14px; line-height: 1.75; }
.codlp-review-images { display: flex; flex-wrap: wrap; gap: 8px; }
.codlp-review-images button { width: 76px; height: 76px; padding: 0; overflow: hidden; cursor: zoom-in; border: 0; border-radius: 7px; background: #f4f4f4; }
.codlp-review-images img { width: 100%; height: 100%; object-fit: cover; }
.codlp-review-empty { display: flex; min-height: 160px; align-items: center; justify-content: center; flex-direction: column; gap: 6px; color: #999; text-align: center; }
.codlp-review-empty strong { color: #555; }

.codlp-lightbox[hidden] { display: none; }
.codlp-lightbox { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 30px; background: rgba(0,0,0,.9); }
.codlp-lightbox img { max-width: min(100%, 1100px); max-height: 90vh; object-fit: contain; }
.codlp-lightbox button { position: absolute; top: 16px; right: 18px; width: 44px; height: 44px; padding: 0; cursor: pointer; border: 0; background: transparent; color: #fff; font-size: 38px; }
body.codlp-lightbox-open { overflow: hidden; }

/* WooCommerce order-received trust panel */
.codtl-thankyou-panel { max-width: 920px; margin: 30px auto; padding: 30px; border: 1px solid #e9e9e9; border-radius: 16px; background: #fff; box-shadow: 0 10px 40px rgba(0,0,0,.07); text-align: center; }
.codtl-thankyou-check { display: inline-flex; width: 58px; height: 58px; align-items: center; justify-content: center; border-radius: 50%; background: #16835f; color: #fff; font-size: 30px; }
.codtl-thankyou-kicker { margin: 12px 0 0; color: #16835f; font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.codtl-thankyou-panel h2 { margin: 4px 0 16px; font-size: 28px; }
.codtl-thankyou-number { display: inline-flex; align-items: baseline; gap: 10px; margin-bottom: 24px; padding: 8px 16px; border-radius: 20px; background: #f6f6f6; }
.codtl-thankyou-number span { color: #777; font-size: 13px; }
.codtl-thankyou-number strong { font-size: 18px; }
.codtl-thankyou-timeline { text-align: left; }
.codtl-thankyou-alert { margin-top: 20px; padding: 12px 15px; border-radius: 8px; background: #fff8e6; color: #72530a; font-size: 13px; }
.codtl-thankyou-actions { display: flex; justify-content: center; gap: 10px; margin-top: 20px; }
.codtl-thankyou-actions .button { padding: 10px 20px; border-radius: 8px; background: #ef4b2f; color: #fff; font-weight: 700; text-decoration: none; }
.codtl-thankyou-actions .button.alt { background: #333; }

@media (max-width: 768px) {
    .codlp-after-order,
    .codlp-real-gallery { padding: 18px 16px; border-radius: 0; }
    .codlp-order-steps,
    .codtl-thankyou-timeline { grid-template-columns: 1fr 1fr; }
    .codlp-gallery-arrow { display: none; }
    .codlp-tab-list { margin-right: -16px; margin-left: -16px; }
    .codtl-thankyou-panel { margin: 18px 12px; padding: 22px 16px; }
}

@media (max-width: 480px) {
    .codlp-order-steps,
    .codtl-thankyou-timeline { grid-template-columns: 1fr; }
    .codlp-gallery-slide { min-width: 86%; }
    .codtl-thankyou-panel h2 { font-size: 23px; }
    .codtl-thankyou-actions { flex-direction: column; }
}
