*{box-sizing:border-box}.px-rafyzo-product-page{margin:0!important;background:#f7f7fa;color:#1e1b29}.px-product-page{min-height:100vh;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#1e1b29;background:var(--px-product-bg,#f7f7fa)}.px-product-page a{text-decoration:none}.px-product-page button,.px-product-page input{font:inherit}.px-product-page svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.px-product-header{position:relative;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:78px;padding:12px max(24px,calc((100vw - 1240px)/2));background:var(--px-product-header);color:var(--px-product-header-text);border-bottom:1px solid rgba(41,34,58,.1)}.px-product-store-brand{display:flex;align-items:center;gap:12px;min-width:0;color:inherit}.px-product-store-brand img{width:52px;height:52px;border-radius:16px;object-fit:cover;background:#fff;border:1px solid rgba(30,24,45,.1)}.px-product-store-brand span{min-width:0}.px-product-store-brand small{display:block;margin-bottom:2px;font-size:10px;font-weight:800;letter-spacing:.13em;text-transform:uppercase;opacity:.62}.px-product-store-brand strong{display:block;max-width:320px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:17px}.px-product-header-actions{display:flex;align-items:center;gap:10px}.px-product-icon-button,.px-product-back-store{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:44px;border:1px solid rgba(45,37,65,.14);border-radius:13px;background:transparent;color:inherit;cursor:pointer}.px-product-icon-button{width:44px;padding:0}.px-product-icon-button svg{width:20px}.px-product-back-store{padding:0 16px;font-weight:800}.px-product-back-store svg{width:18px}.px-product-main{width:min(1240px,calc(100% - 40px));margin:0 auto;padding:28px 0 70px}.px-product-breadcrumb{display:flex;align-items:center;gap:8px;margin:0 0 24px;color:#7b7584;font-size:13px;white-space:nowrap;overflow:hidden}.px-product-breadcrumb a{color:inherit}.px-product-breadcrumb strong{overflow:hidden;text-overflow:ellipsis;color:#393344}.px-product-hero{display:grid;grid-template-columns:minmax(0,1.03fr) minmax(380px,.97fr);gap:48px;align-items:start;padding:30px;border:1px solid rgba(52,44,72,.08);border-radius:28px;background:#fff;box-shadow:0 22px 60px rgba(37,30,55,.08)}.px-product-gallery{min-width:0}.px-product-main-image{position:relative;display:grid;place-items:center;aspect-ratio:1/1;overflow:hidden;border-radius:22px;background:#f4f3f7}.px-product-main-image>img{width:100%;height:100%;object-fit:contain;transition:opacity .16s ease,transform .2s ease}.px-product-main-image>img.is-changing{opacity:.3;transform:scale(.985)}.px-product-sale-badge{position:absolute;top:16px;left:16px;z-index:2;padding:9px 12px;border-radius:999px;background:var(--px-product-primary);color:#fff;font-size:12px;font-weight:900}.px-product-thumbnails{display:flex;gap:10px;margin-top:12px;overflow-x:auto;padding-bottom:4px}.px-product-thumbnail{flex:0 0 76px;width:76px;height:76px;padding:4px;border:2px solid transparent;border-radius:14px;background:#f5f4f7;cursor:pointer}.px-product-thumbnail.is-active{border-color:var(--px-product-primary)}.px-product-thumbnail img{width:100%;height:100%;border-radius:9px;object-fit:cover}.px-product-summary{position:sticky;top:22px;padding:8px 4px}.px-product-category-labels{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:15px}.px-product-category-labels a{padding:7px 11px;border-radius:999px;background:color-mix(in srgb,var(--px-product-primary) 10%,#fff);color:var(--px-product-primary);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}.px-product-summary h1{margin:0 0 14px;font-size:clamp(30px,4vw,50px);line-height:1.08;letter-spacing:-.035em;color:#1e1a28}.px-product-short-description{color:#696372;font-size:15px;line-height:1.75}.px-product-short-description p{margin:0}.px-product-status-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:22px 0 16px;padding-bottom:18px;border-bottom:1px solid #eeeaf1;font-size:12px}.px-stock-status{display:inline-flex;align-items:center;gap:7px;font-weight:900}.px-stock-status i{width:8px;height:8px;border-radius:50%;background:currentColor}.px-stock-status.is-in-stock{color:#169356}.px-stock-status.is-out-of-stock{color:#cf3f45}.px-product-code{color:#8a8390}.px-product-price{display:flex;align-items:center;gap:12px;margin:12px 0 24px;color:var(--px-product-primary);font-size:34px;font-weight:950}.px-product-price del{color:#a19ba8;font-size:17px;font-weight:700}.px-product-price ins{text-decoration:none}.px-product-price.is-hidden-price{font-size:23px}.px-product-options{display:grid;gap:18px}.px-product-option{margin:0;padding:0;border:0}.px-product-option legend{display:flex;align-items:center;justify-content:space-between;width:100%;margin-bottom:10px;font-size:14px;font-weight:900;color:#302a3a}.px-product-option legend em{font-size:11px;font-style:normal;font-weight:700;color:#8c8493}.px-product-option-values{display:flex;flex-wrap:wrap;gap:9px}.px-product-option-values label{cursor:pointer}.px-product-option-values input{position:absolute;opacity:0;pointer-events:none}.px-product-option-values span{display:inline-flex;align-items:center;justify-content:center;min-width:52px;min-height:42px;padding:8px 14px;border:1.5px solid #ddd7e3;border-radius:12px;background:#fff;color:#4b4455;font-size:13px;font-weight:800;transition:.18s ease}.px-product-option-values input:checked+span{border-color:var(--px-product-primary);background:var(--px-product-primary);color:#fff;box-shadow:0 7px 18px color-mix(in srgb,var(--px-product-primary) 24%,transparent)}.px-product-option.has-error .px-product-option-values{padding:5px;border-radius:14px;box-shadow:0 0 0 2px rgba(212,55,66,.18)}.px-product-form-error{margin-top:16px;padding:12px 14px;border:1px solid #f0c3c7;border-radius:12px;background:#fff2f3;color:#aa2932;font-size:13px;font-weight:800}.px-product-purchase-row{display:grid;grid-template-columns:118px minmax(0,1fr);gap:12px;margin-top:24px}.px-product-quantity{display:grid;grid-template-columns:36px 1fr 36px;align-items:center;height:54px;border:1px solid #ddd7e3;border-radius:15px;background:#fff;overflow:hidden}.px-product-quantity button{height:100%;padding:0;border:0;background:transparent;color:#494151;font-size:21px;cursor:pointer}.px-product-quantity input{width:100%;height:100%;padding:0;border:0;outline:0;text-align:center;font-weight:900;-moz-appearance:textfield}.px-product-quantity input::-webkit-inner-spin-button{display:none}.px-product-primary-action{display:flex;align-items:center;justify-content:center;gap:10px;min-height:54px;padding:12px 20px;border:0;border-radius:15px;background:var(--px-product-primary);color:#fff;font-weight:950;cursor:pointer;box-shadow:0 12px 26px color-mix(in srgb,var(--px-product-primary) 24%,transparent);transition:transform .18s ease,filter .18s ease}.px-product-primary-action:hover{transform:translateY(-2px);filter:brightness(.96)}.px-product-primary-action svg{width:22px}.px-product-primary-action.is-whatsapp{background:#19a961;box-shadow:0 12px 26px rgba(25,169,97,.22)}.px-product-primary-action.is-disabled{background:#aaa4af;box-shadow:none;cursor:not-allowed}.px-product-trust-list{display:flex;flex-wrap:wrap;gap:15px;margin-top:18px;color:#77717e;font-size:11px;font-weight:700}.px-product-trust-list span{display:inline-flex;align-items:center;gap:6px}.px-product-trust-list svg{width:17px;color:var(--px-product-primary)}.px-product-details-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:24px;margin-top:28px}.px-product-description-card,.px-product-store-card{padding:32px;border:1px solid rgba(52,44,72,.08);border-radius:24px;background:#fff}.px-product-section-kicker{display:block;margin-bottom:7px;color:var(--px-product-primary);font-size:11px;font-weight:950;letter-spacing:.12em;text-transform:uppercase}.px-product-description-card h2,.px-related-products h2{margin:0 0 20px;font-size:28px;letter-spacing:-.025em}.px-product-description-content{color:#625c69;line-height:1.85}.px-product-description-content p:first-child{margin-top:0}.px-product-store-card{text-align:center}.px-product-store-card>img{width:78px;height:78px;margin-bottom:14px;border-radius:22px;object-fit:cover;border:1px solid #ece8f0}.px-product-store-card>span{display:block;color:#8a8390;font-size:11px;font-weight:800}.px-product-store-card h3{margin:5px 0 10px;font-size:22px}.px-product-store-card p{margin:0 0 18px;color:#756e7c;font-size:13px;line-height:1.65}.px-product-store-card a{display:inline-flex;align-items:center;gap:7px;color:var(--px-product-primary);font-weight:900}.px-product-store-card a svg{width:17px}.px-related-products{margin-top:50px}.px-related-products-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:20px}.px-related-products-head h2{margin:0}.px-related-products-head>a{color:var(--px-product-primary);font-size:13px;font-weight:900}.px-related-products-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.px-related-product{display:flex;flex-direction:column;gap:7px;padding:12px;border-radius:19px;background:#fff;color:#272230;border:1px solid rgba(52,44,72,.08);transition:transform .18s ease,box-shadow .18s ease}.px-related-product:hover{transform:translateY(-4px);box-shadow:0 16px 34px rgba(38,30,58,.1)}.px-related-product-image{display:block;aspect-ratio:1/1;overflow:hidden;border-radius:14px;background:#f4f3f7}.px-related-product-image img{width:100%;height:100%;object-fit:cover}.px-related-product strong{padding:5px 4px 0;font-size:14px}.px-related-product>span:last-child{padding:0 4px 6px;color:var(--px-product-primary);font-size:14px;font-weight:900}.px-related-product del{color:#999;font-size:11px}.px-related-product ins{text-decoration:none}.px-product-footer{display:flex;justify-content:center;gap:5px;padding:22px;background:#201b2c;color:#cfc9d8;font-size:12px}.px-product-footer a{color:var(--px-product-accent);font-weight:950}.px-product-notices .woocommerce-message,.px-product-notices .woocommerce-error{margin:0 0 20px;padding:15px 18px;border-radius:14px;background:#fff;border:1px solid #e4dfea;list-style:none}.px-product-notices .woocommerce-error{border-color:#efc7ca;color:#a92b34}
/* Ready design: restaurant */.px-product-template-restaurant{--px-product-bg:#f4f0ea}.px-product-template-restaurant .px-product-hero,.px-product-template-restaurant .px-product-description-card,.px-product-template-restaurant .px-product-store-card,.px-product-template-restaurant .px-related-product{border-radius:12px}.px-product-template-restaurant .px-product-summary h1,.px-product-template-restaurant .px-product-description-card h2{font-family:Georgia,"Times New Roman",serif}.px-product-template-restaurant .px-product-main-image{background:#ece4d9;border-radius:10px}.px-product-template-restaurant .px-product-primary-action{border-radius:8px}.px-product-template-restaurant .px-product-sale-badge{border-radius:6px;background:#a63d2d}
/* Ready design: fashion */.px-product-template-fashion{--px-product-bg:#fbfafc}.px-product-template-fashion .px-product-hero{grid-template-columns:minmax(0,1.12fr) minmax(380px,.88fr);border:0;border-radius:0;box-shadow:none}.px-product-template-fashion .px-product-main-image{border-radius:0;background:#f0eef2}.px-product-template-fashion .px-product-summary h1{font-weight:500;text-transform:uppercase;letter-spacing:.01em}.px-product-template-fashion .px-product-option-values span,.px-product-template-fashion .px-product-primary-action{border-radius:0}.px-product-template-fashion .px-product-category-labels a{border-radius:0;background:transparent;border-bottom:1px solid currentColor}
/* Ready design: phones */.px-product-template-phones{--px-product-bg:#0d1020;color:#f5f6ff}.px-product-template-phones .px-product-header{background:#11152a;color:#fff;border-color:rgba(255,255,255,.08)}.px-product-template-phones .px-product-hero,.px-product-template-phones .px-product-description-card,.px-product-template-phones .px-product-store-card,.px-product-template-phones .px-related-product{background:#15192d;border-color:rgba(255,255,255,.08);color:#fff}.px-product-template-phones .px-product-main-image{background:radial-gradient(circle at 50% 25%,#29325e,#0e1225)}.px-product-template-phones .px-product-summary h1,.px-product-template-phones .px-product-description-card h2,.px-product-template-phones .px-related-products h2,.px-product-template-phones .px-product-store-card h3{color:#fff}.px-product-template-phones .px-product-short-description,.px-product-template-phones .px-product-description-content,.px-product-template-phones .px-product-store-card p,.px-product-template-phones .px-product-breadcrumb,.px-product-template-phones .px-product-code,.px-product-template-phones .px-product-trust-list{color:#aab0c7}.px-product-template-phones .px-product-option-values span,.px-product-template-phones .px-product-quantity{background:#101426;border-color:#353b57;color:#dfe4ff}.px-product-template-phones .px-product-option legend{color:#fff}.px-product-template-phones .px-related-product{color:#fff}.px-product-template-phones .px-related-product-image{background:#0f1325}
/* Ready design: gifts */.px-product-template-gifts{--px-product-bg:#fff5fa}.px-product-template-gifts .px-product-hero,.px-product-template-gifts .px-product-description-card,.px-product-template-gifts .px-product-store-card{border-color:#f2dce9;box-shadow:0 22px 60px rgba(130,63,106,.09)}.px-product-template-gifts .px-product-main-image{background:linear-gradient(145deg,#fff8fc,#f8e9f2)}.px-product-template-gifts .px-product-sale-badge{background:#e5549c}.px-product-template-gifts .px-product-primary-action{border-radius:999px}.px-product-template-gifts .px-product-option-values span{border-radius:999px}
/* Ready design: electric */.px-product-template-electric{--px-product-bg:#f2f5f8}.px-product-template-electric .px-product-hero,.px-product-template-electric .px-product-description-card,.px-product-template-electric .px-product-store-card,.px-product-template-electric .px-related-product{border-radius:8px;border-color:#dce3e9}.px-product-template-electric .px-product-main-image{border-radius:5px;background:#eef1f3}.px-product-template-electric .px-product-primary-action,.px-product-template-electric .px-product-option-values span,.px-product-template-electric .px-product-quantity{border-radius:5px}.px-product-template-electric .px-product-sale-badge{border-radius:3px;background:#f0a400;color:#1d1b16}.px-product-template-electric .px-product-category-labels a{border-radius:4px}
@media(max-width:980px){.px-product-hero{grid-template-columns:1fr;gap:28px}.px-product-summary{position:static}.px-product-details-grid{grid-template-columns:1fr}.px-related-products-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.px-product-template-fashion .px-product-hero{grid-template-columns:1fr}}
@media(max-width:620px){.px-product-header{min-height:68px;padding:9px 14px}.px-product-store-brand img{width:46px;height:46px;border-radius:13px}.px-product-store-brand small{display:none}.px-product-store-brand strong{max-width:150px;font-size:14px}.px-product-back-store{width:44px;padding:0}.px-product-back-store span{display:none}.px-product-main{width:min(100% - 24px,1240px);padding-top:18px}.px-product-breadcrumb{margin-bottom:14px;font-size:11px}.px-product-hero{padding:12px;border-radius:18px}.px-product-main-image{border-radius:15px}.px-product-summary{padding:10px 4px 4px}.px-product-summary h1{font-size:31px}.px-product-price{font-size:27px}.px-product-status-row{align-items:flex-start;flex-direction:column;gap:8px}.px-product-purchase-row{grid-template-columns:1fr}.px-product-quantity{width:132px}.px-product-primary-action{width:100%}.px-product-details-grid{margin-top:16px}.px-product-description-card,.px-product-store-card{padding:22px;border-radius:18px}.px-related-products{margin-top:38px}.px-related-products-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.px-related-product{padding:8px}.px-related-products-head>a{display:none}.px-product-trust-list{flex-direction:column;gap:8px}.px-product-template-fashion .px-product-hero{padding:0}.px-product-template-phones .px-product-hero{padding:12px}}

/* RAFYZO storefront product page layout isolation.
 * project-x.css also uses .px-product-page for the dashboard product form.
 * Keep the public product template in normal vertical document flow.
 */
body.px-rafyzo-product-page .px-product-page {
    display: block !important;
    width: 100% !important;
    min-height: 100vh;
    padding: 0 !important;
    margin: 0 !important;
    background: var(--px-product-bg, #f7f7fa) !important;
}

/* RAFYZO product settings */
.px-product-page{font-family:var(--px-store-font,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif)!important}.px-product-store-closed{display:flex;align-items:center;justify-content:center;gap:10px;margin:0 0 18px;padding:14px 18px;border:1px solid #f0d39b;border-radius:14px;background:#fff8e8;color:#76510b;text-align:center}.px-product-store-closed strong{font-weight:900}.px-product-store-closed span{font-size:13px}@media(max-width:620px){.px-product-store-closed{align-items:flex-start;flex-direction:column;text-align:left}}

/* =========================================================
   RAFYZO — Product page images always fit without cropping
   ========================================================= */
.px-product-main-image > img,
.px-product-thumbnail img,
.px-related-product-image img {
    object-fit: contain !important;
    object-position: center !important;
}

.px-product-main-image > img {
    padding: 12px;
}

.px-product-thumbnail img {
    padding: 3px;
    background: #fff;
}

.px-related-product-image {
    border: 1px solid rgba(52,44,72,.07);
}

.px-related-product-image img {
    padding: 7px;
    background: #faf9fb;
}

.px-related-product > span:last-child {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.px-related-product del {
    font-size: 10px !important;
    line-height: 1.1;
}

.px-related-product ins {
    font-size: 15px;
    line-height: 1.15;
}

/* WooCommerce reviews inside the RAFYZO product template. */
.px-product-reviews{margin-top:28px;padding:30px;border:1px solid rgba(52,44,72,.08);border-radius:24px;background:#fff}.px-product-reviews #reviews{margin:0}.px-product-reviews #comments h2,.px-product-reviews #review_form_wrapper h3{margin:0 0 18px;color:#292332}.px-product-reviews .commentlist{margin:0 0 24px;padding:0;list-style:none}.px-product-reviews .commentlist li{margin:0 0 14px;padding:16px;border:1px solid #ece8f0;border-radius:15px}.px-product-reviews .comment-text{margin:0!important}.px-product-reviews .stars a{color:var(--px-product-primary)}.px-product-reviews textarea,.px-product-reviews input[type="text"],.px-product-reviews input[type="email"]{width:100%;padding:12px 14px;border:1px solid #dcd6e2;border-radius:12px}.px-product-reviews input[type="submit"]{padding:12px 18px;border:0;border-radius:12px;background:var(--px-product-primary);color:#fff;font-weight:900;cursor:pointer}@media(max-width:620px){.px-product-reviews{padding:20px;border-radius:18px}}

/* RAFYZO — mobile single-product width containment */
@media (max-width: 620px) {
    body.px-rafyzo-product-page {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .px-product-page {
        width: 100%;
        max-width: 100%;
        overflow-x: clip;
    }

    .px-product-header,
    .px-product-main,
    .px-product-hero,
    .px-product-gallery,
    .px-product-summary,
    .px-product-details-grid,
    .px-product-description-card,
    .px-product-store-card,
    .px-related-products,
    .px-related-products-grid,
    .px-product-footer {
        min-width: 0;
        max-width: 100%;
    }

    .px-product-header {
        width: 100%;
    }

    .px-product-store-brand {
        flex: 1 1 auto;
        max-width: calc(100% - 98px);
    }

    .px-product-header-actions {
        flex: 0 0 auto;
        min-width: 0;
    }

    .px-product-main {
        width: calc(100% - 24px);
    }

    .px-product-hero,
    .px-product-main-image,
    .px-product-thumbnails,
    .px-product-purchase-row,
    .px-product-primary-action {
        width: 100%;
    }

    .px-product-thumbnails {
        overscroll-behavior-inline: contain;
    }

    .px-product-summary h1,
    .px-product-short-description,
    .px-product-description-content,
    .px-product-store-card,
    .px-product-option-values span,
    .px-product-code {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .px-product-price,
    .px-product-footer {
        flex-wrap: wrap;
    }

    .px-product-page img,
    .px-product-page iframe,
    .px-product-page video,
    .px-product-page table {
        max-width: 100%;
    }
}

/* =========================================================
   RAFYZO — Single product desktop composition
   Keeps mobile/tablet rules untouched while constraining the
   desktop gallery and improving long product titles.
   ========================================================= */
@media (min-width: 981px) {
    .px-product-main {
        width: min(1180px, calc(100% - 64px));
    }

    .px-product-hero,
    .px-product-template-fashion .px-product-hero {
        grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
        gap: clamp(34px, 3vw, 48px);
        align-items: start;
        padding: 28px;
    }

    .px-product-gallery {
        width: 100%;
        max-width: 520px;
    }

    .px-product-main-image {
        width: 100%;
        max-height: 560px;
        aspect-ratio: 1 / 1;
    }

    .px-product-main-image > img {
        padding: 10px;
    }

    .px-product-summary {
        min-width: 0;
        padding: 8px 0;
    }

    .px-product-summary h1 {
        max-width: 100%;
        font-size: clamp(32px, 3vw, 42px);
        line-height: 1.12;
        letter-spacing: -0.025em;
        overflow-wrap: anywhere;
        word-break: normal;
        hyphens: auto;
    }

    .px-product-short-description,
    .px-product-description-content {
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .px-product-price {
        font-size: clamp(30px, 2.4vw, 38px);
    }
}
