/* =========================================================
   SHINA HOME — PRODUCT EXPERIENCE 2.0
   ========================================================= */

@property --sp-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

body.shina-pe {
    --sp-paper: #F7F4EE;
    --sp-ink: #1F1E1A;
    --sp-muted: rgba(31, 30, 26, .66);
    --sp-line: rgba(31, 30, 26, .12);
    --sp-sand: #C2AA86;
    --sp-sand-deep: #94794F;
    --sp-red: #D8362B;
    --sp-red-deep: #B3231A;
    --sp-grad: linear-gradient(135deg, #E3D2B1 0%, #C2AA86 52%, #AE9468 100%);
    --sp-red-grad: linear-gradient(135deg, #EE5A4B 0%, #D8362B 55%, #B3231A 100%);
    --sp-ease: cubic-bezier(.2, .7, .2, 1);
    --sp-font: 'Inter', 'Noto Sans Georgian', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --sp-fit: contain;

    /* Theme (Blocksy) colour variables → no more blue */
    --theme-palette-color-1: #94794F;
    --theme-palette-color-2: #7B6340;
    --theme-link-initial-color: #1F1E1A;
    --theme-link-hover-color: #94794F;
    --theme-form-field-border-focus-color: #94794F;
    --theme-button-background-initial-color: #C2AA86;
    --theme-button-background-hover-color: #1F1E1A;
    --theme-button-text-initial-color: #1F1E1A;
    --theme-button-text-hover-color: #F7F4EE;

    background: var(--sp-paper) !important;
    color: var(--sp-ink);
    font-family: var(--sp-font);
    -webkit-font-smoothing: antialiased;
}
body.shina-pe button,
body.shina-pe input,
body.shina-pe select,
body.shina-pe textarea { font-family: inherit; }
body.shina-pe ::selection { background: rgba(194, 170, 134, .45); }

body.shina-pe #main,
body.shina-pe .site-main,
body.shina-pe .ct-container,
body.shina-pe .ct-container-full { background-color: transparent; }
body.shina-pe #header.ct-header,
body.shina-pe #header.ct-header [data-row] { background: var(--sp-paper) !important; }

/* Aurora light drifting behind the page */
body.shina-pe::before,
body.shina-pe::after {
    content: "";
    position: fixed;
    z-index: -1;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(70px);
}
body.shina-pe::before {
    width: 60vw; height: 60vw;
    top: -25vw; left: -15vw;
    background: radial-gradient(circle, rgba(255, 255, 255, .95), transparent 65%);
    animation: spDrift 22s ease-in-out infinite alternate;
}
body.shina-pe::after {
    width: 52vw; height: 52vw;
    bottom: -22vw; right: -12vw;
    background: radial-gradient(circle, rgba(194, 170, 134, .32), transparent 65%);
    animation: spDrift 26s ease-in-out infinite alternate-reverse;
}
@keyframes spDrift {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to   { transform: translate3d(4vw, 3vw, 0) scale(1.15); }
}

/* Reading progress */
.shina-pe-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 100%;
    z-index: 999995;
    transform-origin: left;
    transform: scaleX(0);
    background: linear-gradient(90deg, #E3D2B1, #C2AA86, #94794F);
    pointer-events: none;
}

/* Breadcrumbs */
body.shina-pe .woocommerce-breadcrumb,
body.shina-pe .ct-breadcrumbs {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
    color: var(--sp-muted);
}

/* =========================================================
   PAGE LAYOUT
   ========================================================= */

body.shina-pe .product-entry-wrapper,
body.shina-pe div.product:not(:has(> .product-entry-wrapper)) {
    display: grid !important;
    grid-template-columns: minmax(0, 540px) minmax(0, 1fr);
    column-gap: clamp(36px, 5vw, 84px);
    row-gap: 32px;
    align-items: start;
    max-width: 1240px;
    margin-inline: auto;
    padding-block: clamp(8px, 2vw, 24px);
}
body.shina-pe .product-entry-wrapper > .woocommerce-product-gallery,
body.shina-pe .product-entry-wrapper > .entry-summary,
body.shina-pe div.product > .woocommerce-product-gallery,
body.shina-pe div.product > .entry-summary {
    width: 100% !important;
    max-width: none !important;
    float: none !important;
    margin: 0 !important;
}
body.shina-pe div.product:not(:has(> .product-entry-wrapper)) > .woocommerce-tabs,
body.shina-pe div.product:not(:has(> .product-entry-wrapper)) > .related,
body.shina-pe div.product:not(:has(> .product-entry-wrapper)) > .upsells {
    grid-column: 1 / -1;
}
body.shina-pe .woocommerce-tabs,
body.shina-pe .related,
body.shina-pe .upsells {
    max-width: 1240px;
    margin-inline: auto;
}

/* =========================================================
   GALLERY (square, compact, sticky, 3D tilt)
   ========================================================= */

body.shina-pe .woocommerce-product-gallery {
    position: sticky;
    top: 112px;
    isolation: isolate;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, .8);
    background:
        radial-gradient(ellipse at 15% 12%, rgba(255, 255, 255, .98), transparent 46%),
        radial-gradient(ellipse at 88% 90%, rgba(194, 170, 134, .26), transparent 50%),
        linear-gradient(135deg, #F8F5EF 0%, #ECE5D8 56%, #FAF7F1 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, .9) inset,
        0 30px 70px -30px rgba(70, 55, 30, .35),
        0 2px 6px rgba(70, 55, 30, .06);
    transform: perspective(1200px) rotateX(var(--sp-ry, 0deg)) rotateY(var(--sp-rx, 0deg));
    transition: transform .5s var(--sp-ease), box-shadow .5s ease;
    will-change: transform;
}
body.shina-pe .woocommerce-product-gallery.is-tilting { transition: transform .08s linear; }

body.shina-pe .woocommerce-product-gallery::before {
    content: "";
    position: absolute; inset: 0; z-index: 3;
    pointer-events: none;
    background: radial-gradient(circle 280px at var(--sp-x, 50%) var(--sp-y, 40%), rgba(255, 255, 255, .6), transparent 70%);
    opacity: 0;
    transition: opacity .5s ease;
    mix-blend-mode: soft-light;
}
body.shina-pe .woocommerce-product-gallery:hover::before { opacity: 1; }

body.shina-pe .woocommerce-product-gallery::after {
    content: "";
    position: absolute; inset: -35% -60%; z-index: 4;
    pointer-events: none;
    background: linear-gradient(112deg, transparent 38%, rgba(255, 255, 255, .05) 44%, rgba(255, 255, 255, .45) 50%, rgba(255, 255, 255, .06) 56%, transparent 63%);
    transform: translateX(-75%);
    opacity: 0;
}
body.shina-pe .woocommerce-product-gallery:hover::after {
    opacity: 1;
    animation: spSweep 2.1s var(--sp-ease) both;
}
@keyframes spSweep { from { transform: translateX(-75%); } to { transform: translateX(75%); } }

/* Square 1:1 */
body.shina-pe .woocommerce-product-gallery .woocommerce-product-gallery__image,
body.shina-pe .woocommerce-product-gallery .ct-media-container,
body.shina-pe .woocommerce-product-gallery .flexy-item {
    aspect-ratio: 1 / 1;
    --aspect-ratio: 1;
    height: auto;
    overflow: hidden;
}
body.shina-pe .woocommerce-product-gallery .woocommerce-product-gallery__image a { display: block; width: 100%; height: 100%; }
body.shina-pe .woocommerce-product-gallery .woocommerce-product-gallery__image img,
body.shina-pe .woocommerce-product-gallery .ct-media-container img,
body.shina-pe .woocommerce-product-gallery .flexy-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: var(--sp-fit);
    object-position: center;
    padding: clamp(14px, 3vw, 36px);
    box-sizing: border-box;
    filter: drop-shadow(0 20px 24px rgba(41, 41, 35, .13));
    transition: transform 1.1s var(--sp-ease);
}
body.shina-pe .woocommerce-product-gallery:hover .flex-active-slide img,
body.shina-pe .woocommerce-product-gallery:hover .ct-media-container img { transform: scale(1.04); }

/* Thumbnails */
body.shina-pe .flex-control-thumbs,
body.shina-pe .ct-product-gallery-thumbs {
    position: relative; z-index: 5;
    gap: 8px;
    padding: 0 14px 14px;
}
body.shina-pe .flex-control-thumbs img,
body.shina-pe .ct-product-gallery-thumbs img,
body.shina-pe .flexy-pills img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
    opacity: .55;
    border: 1px solid transparent;
    transition: opacity .3s ease, border-color .3s ease, transform .3s var(--sp-ease);
}
body.shina-pe .flex-control-thumbs img:hover,
body.shina-pe .flex-control-thumbs img.flex-active,
body.shina-pe .ct-product-gallery-thumbs img:hover {
    opacity: 1;
    border-color: var(--sp-ink);
    transform: translateY(-2px);
}

body.shina-pe .woocommerce-product-gallery__trigger {
    z-index: 9;
    bottom: 16px; right: 16px; top: auto;
    background: rgba(255, 255, 255, .85);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    transition: transform .3s var(--sp-ease);
}
body.shina-pe .woocommerce-product-gallery__trigger:hover { transform: scale(1.1); }

/* ---------- Discount badge (red, shows the percentage) ---------- */
body.shina-pe span.onsale,
body.shina-pe .ct-woo-badge-sale {
    position: absolute;
    z-index: 8;
    top: 18px; right: 18px; left: auto;
    overflow: hidden;
    min-width: 0; min-height: 0;
    padding: 9px 16px;
    border: 0;
    border-radius: 999px;
    background: var(--sp-red-grad);
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.01em;
    box-shadow: 0 12px 30px rgba(216, 54, 43, .45), inset 0 1px 0 rgba(255, 255, 255, .35);
    animation: spPulse 2.8s ease-in-out infinite;
}
body.shina-pe span.onsale::before {
    content: "";
    position: absolute;
    width: 40px; height: 120px;
    top: -30px; left: -70px;
    background: rgba(255, 255, 255, .5);
    transform: rotate(25deg);
    animation: spBadge 3.2s ease-in-out infinite;
}
@keyframes spBadge { 0% { transform: translateX(0) rotate(25deg); } 55%, 100% { transform: translateX(200px) rotate(25deg); } }
@keyframes spPulse { 0%, 100% { box-shadow: 0 12px 30px rgba(216, 54, 43, .42), 0 0 0 0 rgba(216, 54, 43, .35), inset 0 1px 0 rgba(255,255,255,.35); } 50% { box-shadow: 0 12px 30px rgba(216, 54, 43, .42), 0 0 0 10px rgba(216, 54, 43, 0), inset 0 1px 0 rgba(255,255,255,.35); } }
body.shina-pe ul.products span.onsale { font-size: 13px; padding: 7px 11px; top: 12px; right: 12px; animation: none; }

/* ---------- Origin chip in the gallery ---------- */
.shina-pe-origin {
    position: absolute;
    z-index: 8;
    top: 18px; left: 18px;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 8px 15px 8px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(255, 255, 255, .9);
    backdrop-filter: blur(14px) saturate(1.4);
    -webkit-backdrop-filter: blur(14px) saturate(1.4);
    box-shadow: 0 10px 28px rgba(41, 41, 35, .14);
}
.shina-pe-origin .shina-pe-flag {
    display: block;
    width: 36px; height: 24px;
    border-radius: 6px;
    box-shadow: 0 0 0 1px rgba(31, 30, 26, .14), 0 3px 8px rgba(31, 30, 26, .2);
}
.shina-pe-origin-text { display: flex; flex-direction: column; line-height: 1.1; }
.shina-pe-origin-text small {
    font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
    color: var(--sp-muted);
}
.shina-pe-origin-text b {
    margin-top: 3px;
    font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
    color: var(--sp-ink);
}

/* =========================================================
   SUMMARY
   ========================================================= */

body.shina-pe .entry-summary { max-width: 620px !important; }

.shina-pe-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--sp-sand-deep);
}
.shina-pe-eyebrow::before {
    content: "";
    width: 28px; height: 2px;
    border-radius: 2px;
    background: var(--sp-grad);
}

body.shina-pe .product_title,
body.shina-pe .entry-summary h1.entry-title {
    margin: 0 0 18px;
    font-size: clamp(28px, 2.7vw, 42px);
    line-height: 1.12;
    letter-spacing: -.02em;
    font-weight: 650;
    color: var(--sp-ink);
}

body.shina-pe .entry-summary .price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 14px;
    margin: 0 0 12px;
    font-size: clamp(34px, 3.2vw, 48px);
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -.035em;
    color: var(--sp-ink);
}
body.shina-pe .entry-summary .price del {
    order: 2;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -.01em;
    color: rgba(31, 30, 26, .4);
}
body.shina-pe .entry-summary .price ins {
    order: 1;
    text-decoration: none;
    color: var(--sp-red);
}

.shina-pe-save {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
    margin: 0 0 24px;
}
.shina-pe-save-pill {
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--sp-red-grad);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 8px 20px rgba(216, 54, 43, .32);
}
.shina-pe-save-text {
    font-size: 15px;
    font-weight: 600;
    color: var(--sp-red-deep);
}

body.shina-pe .woocommerce-product-details__short-description {
    margin: 0 0 24px;
    font-size: 16px;
    line-height: 1.75;
    color: var(--sp-muted);
}

/* ---------- Quick facts ---------- */
.shina-pe-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin: 0 0 24px;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid var(--sp-line);
    background: var(--sp-line);
}
.shina-pe-fact {
    padding: 15px 18px 16px;
    background: rgba(255, 255, 255, .72);
    transition: background .35s ease;
}
.shina-pe-fact:hover { background: #fff; }
.shina-pe-fact small {
    display: block;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--sp-muted);
}
.shina-pe-fact b {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 600;
    color: var(--sp-ink);
    word-break: break-word;
}
.shina-pe-fact .shina-pe-flag { width: 24px; height: 16px; border-radius: 4px; box-shadow: 0 0 0 1px rgba(31, 30, 26, .15); flex: 0 0 auto; }
.shina-pe-fact.is-ok b::before,
.shina-pe-fact.is-no b::before {
    content: "";
    width: 9px; height: 9px;
    border-radius: 50%;
    background: #3FA66B;
    box-shadow: 0 0 0 4px rgba(63, 166, 107, .2);
    animation: spLive 2.4s ease-in-out infinite;
}
.shina-pe-fact.is-no b::before { background: var(--sp-red); box-shadow: 0 0 0 4px rgba(216, 54, 43, .2); animation: none; }
@keyframes spLive { 50% { box-shadow: 0 0 0 7px rgba(63, 166, 107, 0); } }

/* ---------- Purchase card ---------- */
body.shina-pe form.cart {
    position: relative;
    isolation: isolate;
    margin: 0 0 22px;
    padding: 22px;
    border-radius: 26px;
    background: rgba(255, 255, 255, .66);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 30px 60px -30px rgba(70, 55, 30, .35), 0 1px 0 rgba(255, 255, 255, .9) inset;
}
body.shina-pe form.cart::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1.5px;
    border-radius: inherit;
    background: conic-gradient(from var(--sp-angle), rgba(194, 170, 134, .25) 0%, rgba(194, 170, 134, .25) 62%, #F0E2C6 80%, #C2AA86 90%, rgba(194, 170, 134, .25) 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    pointer-events: none;
    animation: spAngle 6s linear infinite;
}
@keyframes spAngle { to { --sp-angle: 360deg; } }

body.shina-pe form.cart:not(.variations_form),
body.shina-pe form.cart .woocommerce-variation-add-to-cart {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 12px;
}
body.shina-pe form.cart .woocommerce-variation-price .price { font-size: 26px; margin: 0 0 14px; }

body.shina-pe .variations { margin-bottom: 16px; border: 0; }
body.shina-pe .variations th,
body.shina-pe .variations td { padding: 6px 0; border: 0; }
body.shina-pe .variations label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}
body.shina-pe .variations select {
    min-height: 50px;
    border: 1px solid var(--sp-line);
    border-radius: 14px;
    background-color: #fff;
    font-size: 15px;
    transition: border-color .3s ease, box-shadow .3s ease;
}
body.shina-pe .variations select:focus {
    border-color: var(--sp-sand-deep);
    box-shadow: 0 0 0 4px rgba(194, 170, 134, .3);
    outline: 0;
}

body.shina-pe .quantity {
    display: inline-flex;
    align-items: center;
    min-height: 56px;
    border: 1px solid var(--sp-line) !important;
    border-radius: 999px !important;
    background: #fff;
    overflow: hidden;
}
body.shina-pe .quantity input.qty {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 16px;
    font-weight: 700;
    color: var(--sp-ink);
}
body.shina-pe .quantity .ct-increase,
body.shina-pe .quantity .ct-decrease,
body.shina-pe .quantity .plus,
body.shina-pe .quantity .minus { color: var(--sp-ink); background: transparent; transition: background .25s ease; }
body.shina-pe .quantity .ct-increase:hover,
body.shina-pe .quantity .ct-decrease:hover { background: rgba(194, 170, 134, .3); }

/* ---------- Buttons ---------- */
body.shina-pe .single_add_to_cart_button,
body.shina-pe #review_form #submit,
body.shina-pe #respond input#submit,
body.shina-pe .shina-pe-sticky-btn,
body.shina-pe .shina-pe-toast-btn {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 56px;
    padding: 0 34px;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--sp-grad) !important;
    color: var(--sp-ink) !important;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 14px 34px rgba(169, 143, 104, .4), inset 0 1px 0 rgba(255, 255, 255, .55);
    transition: transform .35s var(--sp-ease), box-shadow .35s ease, filter .35s ease;
}
body.shina-pe .single_add_to_cart_button { flex: 1 1 220px; }
body.shina-pe .single_add_to_cart_button::after {
    content: "→";
    font-size: 17px;
    letter-spacing: 0;
    transition: transform .35s var(--sp-ease);
}
body.shina-pe .single_add_to_cart_button::before,
body.shina-pe #review_form #submit::before,
body.shina-pe .shina-pe-sticky-btn::before,
body.shina-pe .shina-pe-toast-btn::before {
    content: "";
    position: absolute; z-index: -1; inset: 0;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .65) 50%, transparent 70%);
    transform: translateX(-120%);
}
body.shina-pe .single_add_to_cart_button:hover,
body.shina-pe #review_form #submit:hover,
body.shina-pe .shina-pe-sticky-btn:hover,
body.shina-pe .shina-pe-toast-btn:hover {
    transform: translateY(-3px);
    filter: saturate(1.1) brightness(1.03);
    color: var(--sp-ink) !important;
    box-shadow: 0 22px 46px rgba(169, 143, 104, .52), 0 0 0 6px rgba(194, 170, 134, .2), inset 0 1px 0 rgba(255, 255, 255, .6);
}
body.shina-pe .single_add_to_cart_button:hover::before,
body.shina-pe #review_form #submit:hover::before,
body.shina-pe .shina-pe-sticky-btn:hover::before,
body.shina-pe .shina-pe-toast-btn:hover::before { animation: spBtnShine 1s var(--sp-ease); }
@keyframes spBtnShine { to { transform: translateX(120%); } }
body.shina-pe .single_add_to_cart_button:hover::after { transform: translateX(5px); }
body.shina-pe .single_add_to_cart_button:active,
body.shina-pe #review_form #submit:active { transform: translateY(-1px) scale(.985); }
body.shina-pe .single_add_to_cart_button.disabled,
body.shina-pe .single_add_to_cart_button:disabled { opacity: .45; transform: none; box-shadow: none; cursor: not-allowed; }
body.shina-pe .single_add_to_cart_button.is-loading { pointer-events: none; opacity: .85; }
body.shina-pe .single_add_to_cart_button.is-loading::after {
    content: "";
    width: 16px; height: 16px;
    border: 2px solid rgba(31, 30, 26, .3);
    border-top-color: var(--sp-ink);
    border-radius: 50%;
    animation: spSpin .7s linear infinite;
}
@keyframes spSpin { to { transform: rotate(360deg); } }
body.shina-pe .shina-pe-sticky-btn { min-height: 46px; padding: 0 26px; font-size: 12px; }

/* ---------- Meta + trust ---------- */
body.shina-pe .product_meta {
    margin: 0 0 6px;
    font-size: 13px;
    line-height: 1.8;
    color: var(--sp-muted);
}
body.shina-pe .product_meta > span { display: block; }
body.shina-pe .product_meta a { color: var(--sp-ink); text-decoration: none; border-bottom: 1px solid var(--sp-line); transition: border-color .3s ease; }
body.shina-pe .product_meta a:hover { border-color: var(--sp-ink); }

.shina-pe-trust {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    border-top: 1px solid var(--sp-line);
}
.shina-pe-trust li {
    position: relative;
    display: block;
    padding: 15px 0 15px 40px;
    border-bottom: 1px solid var(--sp-line);
    transition: padding-left .4s var(--sp-ease), background .4s ease;
}
.shina-pe-trust li::before {
    content: "✓";
    position: absolute;
    left: 0; top: 15px;
    width: 26px; height: 26px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--sp-grad);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 6px 14px rgba(169, 143, 104, .4);
}
.shina-pe-trust li:hover { padding-left: 48px; background: linear-gradient(90deg, rgba(194, 170, 134, .16), transparent); }
.shina-pe-trust li:hover::before { left: 8px; }
.shina-pe-trust b { display: block; font-size: 15px; font-weight: 700; margin-bottom: 2px; }
.shina-pe-trust span { display: block; font-size: 14px; line-height: 1.55; color: var(--sp-muted); }

/* =========================================================
   TABS (pill switcher)
   ========================================================= */

body.shina-pe .woocommerce-tabs { margin-top: clamp(40px, 6vw, 80px); }
body.shina-pe .woocommerce-tabs ul.tabs {
    display: inline-flex;
    gap: 4px;
    max-width: 100%;
    margin: 0 0 26px;
    padding: 5px;
    border: 0;
    border-radius: 999px;
    background: rgba(31, 30, 26, .06);
    list-style: none;
    overflow-x: auto;
    scrollbar-width: none;
}
body.shina-pe .woocommerce-tabs ul.tabs::-webkit-scrollbar { display: none; }
body.shina-pe .woocommerce-tabs ul.tabs::before,
body.shina-pe .woocommerce-tabs ul.tabs::after,
body.shina-pe .woocommerce-tabs ul.tabs li::before,
body.shina-pe .woocommerce-tabs ul.tabs li::after { display: none !important; }
body.shina-pe .woocommerce-tabs ul.tabs li { margin: 0; padding: 0; border: 0; background: none !important; flex: 0 0 auto; }
body.shina-pe .woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 12px 24px;
    border: 0 !important;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--sp-muted) !important;
    white-space: nowrap;
    transition: background .3s ease, color .3s ease, box-shadow .3s ease;
}
body.shina-pe .woocommerce-tabs ul.tabs li a:hover { color: var(--sp-ink) !important; }
body.shina-pe .woocommerce-tabs ul.tabs li.active a {
    background: #fff;
    color: var(--sp-ink) !important;
    box-shadow: 0 6px 18px rgba(70, 55, 30, .16);
}
body.shina-pe .woocommerce-Tabs-panel {
    padding: clamp(22px, 3.5vw, 44px);
    border-radius: 28px;
    background: rgba(255, 255, 255, .62);
    border: 1px solid rgba(255, 255, 255, .85);
    box-shadow: 0 30px 60px -36px rgba(70, 55, 30, .3);
    font-size: 16px;
    line-height: 1.8;
    color: var(--sp-muted);
}
body.shina-pe .woocommerce-Tabs-panel > h2:first-child { display: none; }
body.shina-pe .woocommerce-Tabs-panel h2,
body.shina-pe #reply-title,
body.shina-pe #review_form .comment-reply-title {
    font-size: 20px;
    font-weight: 650;
    letter-spacing: -.01em;
    color: var(--sp-ink);
}
body.shina-pe table.woocommerce-product-attributes { border: 0; }
body.shina-pe table.woocommerce-product-attributes th {
    width: 200px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--sp-ink);
}
body.shina-pe table.woocommerce-product-attributes td { font-size: 15px; }

/* Reviews */
body.shina-pe .star-rating span::before,
body.shina-pe p.stars a,
body.shina-pe p.stars a::before { color: var(--sp-sand-deep) !important; }
body.shina-pe #review_form input[type=text],
body.shina-pe #review_form input[type=email],
body.shina-pe #review_form textarea {
    border: 1px solid var(--sp-line);
    border-radius: 16px;
    background: #fff;
    font-size: 15px;
    transition: border-color .3s ease, box-shadow .3s ease;
}
body.shina-pe #review_form input:focus,
body.shina-pe #review_form textarea:focus {
    outline: 0;
    border-color: var(--sp-sand-deep) !important;
    box-shadow: 0 0 0 4px rgba(194, 170, 134, .3) !important;
}
body.shina-pe #review_form input[type=checkbox] { accent-color: var(--sp-sand-deep); }

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

body.shina-pe .related > h2,
body.shina-pe .upsells > h2 {
    margin: clamp(56px, 7vw, 96px) 0 28px;
    font-size: clamp(26px, 3vw, 40px);
    line-height: 1.1;
    letter-spacing: -.02em;
    font-weight: 650;
}
body.shina-pe .related ul.products li.product,
body.shina-pe .upsells ul.products li.product {
    padding: 12px 12px 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, .62);
    border: 1px solid rgba(255, 255, 255, .85);
    box-shadow: 0 24px 50px -34px rgba(70, 55, 30, .35);
    transition: transform .5s var(--sp-ease), box-shadow .5s ease;
}
body.shina-pe .related ul.products li.product:hover,
body.shina-pe .upsells ul.products li.product:hover {
    transform: translateY(-8px);
    box-shadow: 0 36px 60px -30px rgba(70, 55, 30, .4);
}
body.shina-pe ul.products li.product img {
    aspect-ratio: 1 / 1;
    width: 100%;
    object-fit: cover;
    border-radius: 16px;
    transition: transform .9s var(--sp-ease);
}
body.shina-pe ul.products li.product:hover img { transform: scale(1.05); }
body.shina-pe ul.products li.product .woocommerce-loop-product__title {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 600;
    letter-spacing: -.005em;
}
body.shina-pe ul.products li.product .price { font-size: 15px; font-weight: 700; }
body.shina-pe ul.products li.product .price ins { color: var(--sp-red); text-decoration: none; }
body.shina-pe ul.products li.product .button {
    border: 1px solid var(--sp-line) !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: var(--sp-ink) !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: background .3s ease, border-color .3s ease, transform .3s var(--sp-ease);
}
body.shina-pe ul.products li.product .button:hover { background: var(--sp-grad) !important; border-color: transparent !important; transform: translateY(-2px); }

/* WooCommerce notices (fallback when the page reloads) */
body.shina-pe .woocommerce-message,
body.shina-pe .woocommerce-info {
    border: 1px solid var(--sp-line);
    border-left: 4px solid var(--sp-sand);
    border-radius: 16px;
    background: rgba(255, 255, 255, .8);
    color: var(--sp-ink);
}
body.shina-pe .woocommerce-message::before,
body.shina-pe .woocommerce-info::before { color: var(--sp-sand-deep) !important; }
body.shina-pe .woocommerce-message .button { border-radius: 999px !important; background: var(--sp-grad) !important; color: var(--sp-ink) !important; font-weight: 800; }
body.shina-pe .woocommerce-error { border-radius: 16px; border-left: 4px solid var(--sp-red); }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */

html.shina-pe-js .shina-pe-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .9s var(--sp-ease), transform .9s var(--sp-ease);
    transition-delay: var(--sp-delay, 0s);
}
html.shina-pe-js .shina-pe-reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   STICKY ADD-TO-CART BAR
   ========================================================= */

.shina-pe-sticky {
    position: fixed;
    left: 50%;
    bottom: 18px;
    z-index: 9990;
    width: min(760px, calc(100vw - 24px));
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 12px;
    background: rgba(252, 250, 246, .86);
    border: 1px solid rgba(41, 41, 35, .12);
    backdrop-filter: blur(18px) saturate(1.3);
    -webkit-backdrop-filter: blur(18px) saturate(1.3);
    box-shadow: 0 24px 60px rgba(41, 41, 35, .18);
    transform: translate(-50%, 140%);
    transition: transform .6s var(--sp-ease);
    font-family: inherit;
}
.shina-pe-sticky.is-visible {
    transform: translate(-50%, 0);
}
.shina-pe-sticky img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    flex: 0 0 auto;
}
.shina-pe-sticky-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.shina-pe-sticky-info strong {
    font-size: 13px;
    font-weight: 650;
    letter-spacing: -.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.shina-pe-sticky-info span { font-size: 12px; font-weight: 700; }
.shina-pe-sticky-info del { opacity: .4; margin-right: 6px; }
.shina-pe-sticky-info ins { text-decoration: none; color: var(--sp-sand-deep); }
/* =========================================================
   v1.1 — "ADDED TO CART" TOAST
   ========================================================= */

.shina-pe-toast {
    position: fixed;
    top: 96px;
    right: 24px;
    z-index: 999990;
    width: min(400px, calc(100vw - 24px));
    padding: 18px 18px 16px;
    overflow: hidden;
    background: rgba(252, 250, 246, .94);
    border: 1px solid rgba(41, 41, 35, .1);
    border-radius: 22px;
    backdrop-filter: blur(20px) saturate(1.3);
    -webkit-backdrop-filter: blur(20px) saturate(1.3);
    box-shadow: 0 30px 80px rgba(41, 41, 35, .24), 0 0 0 1px rgba(255, 255, 255, .6) inset;
    color: #292923;
    font-family: inherit;
    opacity: 0;
    transform: translate3d(0, -14px, 0) scale(.97);
    pointer-events: none;
    transition: opacity .45s cubic-bezier(.2, .7, .2, 1), transform .6s cubic-bezier(.2, .7, .2, 1);
}
.shina-pe-toast.is-visible {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}
.shina-pe-toast.is-error .shina-pe-toast-icon { background: #B5523B; }
.shina-pe-toast-head {
    display: flex;
    align-items: center;
    gap: 14px;
}
.shina-pe-toast-icon {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #DCC9A8, #A98F68);
    color: #fff;
    box-shadow: 0 8px 22px rgba(169, 143, 104, .5);
}
.shina-pe-toast-icon svg { width: 18px; height: 18px; }
.shina-pe-toast.is-visible .shina-pe-toast-icon svg path {
    stroke-dasharray: 26;
    stroke-dashoffset: 26;
    animation: spCheck .6s .15s cubic-bezier(.2, .7, .2, 1) forwards;
}
@keyframes spCheck { to { stroke-dashoffset: 0; } }
.shina-pe-toast-title {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .17em;
    text-transform: uppercase;
}
.shina-pe-toast-text {
    margin-top: 3px;
    font-size: 13px;
    line-height: 1.4;
    color: rgba(41, 41, 35, .7);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.shina-pe-toast-actions {
    display: flex;
    gap: 8px;
    margin-top: 15px;
}
.shina-pe-toast-btn {
    flex: 1;
    min-height: 44px !important;
    padding: 0 16px !important;
    font-size: 10px !important;
}
.shina-pe-toast-btn.is-ghost {
    background: transparent !important;
    border: 1px solid rgba(41, 41, 35, .22) !important;
    box-shadow: none !important;
}
.shina-pe-toast-btn.is-ghost:hover {
    background: var(--sp-grad, #C2AA86) !important;
    border-color: transparent !important;
}
.shina-pe-toast-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 26px;
    height: 26px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #292923;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    opacity: .45;
    transition: opacity .2s ease, background .2s ease;
}
.shina-pe-toast-close:hover { opacity: 1; background: rgba(41, 41, 35, .08); }
.shina-pe-toast-bar {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, #DCC9A8, #A98F68);
    transform-origin: left;
    transform: scaleX(0);
}
.shina-pe-toast.is-visible .shina-pe-toast-bar {
    animation: spToastBar var(--sp-toast-time, 8s) linear forwards;
}
@keyframes spToastBar { from { transform: scaleX(1); } to { transform: scaleX(0); } }

@media (max-width: 689px) {
    .shina-pe-toast { top: auto; bottom: 84px; right: 12px; left: 12px; width: auto; }
}
/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {
    body.shina-pe .product-entry-wrapper,
    body.shina-pe div.product:not(:has(> .product-entry-wrapper)) {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 28px;
    }
    body.shina-pe .woocommerce-product-gallery {
        position: relative;
        top: 0;
        max-width: 560px;
        margin-inline: auto !important;
        transform: none;
    }
    body.shina-pe .entry-summary { max-width: none !important; }
}

@media (max-width: 689px) {
    body.shina-pe .woocommerce-product-gallery { border-radius: 22px; }
    .shina-pe-origin { top: 12px; left: 12px; padding: 6px 12px 6px 7px; gap: 9px; }
    .shina-pe-origin .shina-pe-flag { width: 30px; height: 20px; }
    .shina-pe-origin-text b { font-size: 12px; }
    body.shina-pe span.onsale { top: 12px; right: 12px; font-size: 15px; padding: 8px 13px; }

    body.shina-pe .product_title,
    body.shina-pe .entry-summary h1.entry-title { font-size: 27px; }
    body.shina-pe .entry-summary .price { font-size: 34px; }
    body.shina-pe .woocommerce-product-details__short-description { font-size: 15.5px; }

    .shina-pe-facts { border-radius: 18px; }
    .shina-pe-fact { padding: 13px 14px 14px; }
    .shina-pe-fact b { font-size: 14px; }

    body.shina-pe form.cart { padding: 16px; border-radius: 22px; }
    body.shina-pe .single_add_to_cart_button { flex: 1 1 100%; min-height: 58px; }
    body.shina-pe .quantity { flex: 0 0 auto; }

    body.shina-pe .woocommerce-tabs ul.tabs { display: flex; width: 100%; }
    body.shina-pe .woocommerce-tabs ul.tabs li a { padding: 11px 18px; font-size: 12px; }
    body.shina-pe table.woocommerce-product-attributes th { width: 40%; }

    .shina-pe-sticky { bottom: 10px; padding: 8px 8px 8px 10px; gap: 10px; }
    .shina-pe-sticky img { display: none; }
    body.shina-pe .shina-pe-sticky-btn { padding: 0 18px; }
}

@media (max-width: 380px) {
    .shina-pe-facts { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
    body.shina-pe *,
    body.shina-pe *::before,
    body.shina-pe *::after,
    .shina-pe-sticky,
    .shina-pe-toast { animation: none !important; transition: none !important; }
    html.shina-pe-js .shina-pe-reveal { opacity: 1; transform: none; }
}
