/**
 * Thorlar Elementor Addon — Frontend CSS v1.3.0
 *
 * RULE: Never set font-size / font-weight / color on any element
 * that has a matching Elementor Typography or Color control.
 * CSS sets ONLY layout, spacing, structural properties.
 * Typography is 100% owned by Elementor controls.
 */

/* ── Variables ───────────────────────────────────────────── */
:root {
    --thorlar-orange:  #FF8C42;
    --thorlar-purple:  #6B46C1;
    --thorlar-black:   #111111;
    --thorlar-gray:    #888888;
    --thorlar-light:   #F5F5F5;
    --thorlar-white:   #FFFFFF;
}

/* ── Container ───────────────────────────────────────────── */
.thorlar-container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 30px;
    box-sizing: border-box;
}

/* ── Section Header ──────────────────────────────────────── */
.thorlar-section-header {
    margin-bottom: 48px;
}
.thorlar-section-title {
    margin: 0 0 12px; /* default — Elementor gap control overrides per device */
    line-height: 1.2;
}
.thorlar-section-subtitle {
    margin: 0;
    line-height: 1.6;
}
.thorlar-section-header {
    margin-bottom: 32px; /* default — Elementor gap control overrides per device */
}

/* =========================================================
   HERO WIDGET
========================================================= */
.thorlar-hero {
    position: relative;
    /* No fixed height — Elementor controls min-height and padding per device */
    /* This means content is never clipped and vh doesn't conflict with padding */
    min-height: 400px; /* bare minimum fallback only */
    display: flex;
    align-items: center;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    box-sizing: border-box;
}

.thorlar-hero-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

/* Inner content block — sits above overlay */
.thorlar-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 650px;
    width: 100%;
    box-sizing: border-box;
}

/* Badge — layout only, typography/color owned by Elementor */
.thorlar-hero-badge {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 30px;
    white-space: nowrap;
    margin-bottom: 20px;
}

/* Heading, subtitle — no font-size/weight/color, Elementor owns them */
.thorlar-hero h1,
.thorlar-hero-heading {
    line-height: 1.15;
    margin: 0 0 16px;
}
.thorlar-hero-subtitle {
    line-height: 1.7;
    margin: 0 0 28px;
}

/* Button */
.thorlar-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: 50px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
    /* Reset browser/theme defaults that cause blue links or grey buttons */
    background: var(--thorlar-orange);
    color: #ffffff;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
}
.thorlar-hero-btn i,
.thorlar-hero-btn svg,
.thorlar-hero-btn2 i,
.thorlar-hero-btn2 svg {
    display: inline-block;
    flex-shrink: 0;
    width: 1em;
    height: 1em;
    vertical-align: middle;
    pointer-events: none;
}
.thorlar-hero-btn:hover,
.thorlar-hero-btn:focus,
.thorlar-hero-btn:visited {
    color: #ffffff;
    text-decoration: none;
}

/* Button group wrapper — flex row by default, stacked on mobile via Elementor control */
.thorlar-hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

/* Secondary button base */
.thorlar-hero-btn2 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: 50px;
    text-decoration: none;
    border: 2px solid rgba(255,255,255,0.7);
    cursor: pointer;
    background: transparent;
    color: #ffffff;
    transition: background 0.3s, transform 0.2s, border-color 0.3s;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    font-family: inherit;
}
.thorlar-hero-btn2:hover,
.thorlar-hero-btn2:focus,
.thorlar-hero-btn2:visited {
    color: #ffffff;
    text-decoration: none;
}
.thorlar-play-icon {
    font-size: 0.8em;
    line-height: 1;
}

/* Content alignment — driven by Elementor selector on .thorlar-hero-inner */

/* Pulse animation */
@keyframes thorlarPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,140,66,.5); }
    50%       { box-shadow: 0 0 0 10px rgba(255,140,66,0); }
}
.thorlar-pulse { animation: thorlarPulse 2s infinite; }

/* Video lightbox */
.thorlar-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.85);
    z-index: 99998;
    align-items: center;
    justify-content: center;
}
.thorlar-lightbox.active { display: flex; }
.thorlar-lightbox-content {
    position: relative;
    width: min(900px, 90vw);
}
.thorlar-lightbox-close {
    position: absolute;
    top: -40px; right: 0;
    background: none; border: none;
    color: #fff; font-size: 32px;
    cursor: pointer; line-height: 1;
}
.thorlar-video-wrapper {
    position: relative;
    padding-top: 56.25%;
}
.thorlar-video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    border: none; border-radius: 10px;
}

/* =========================================================
   COLLECTIONS WIDGET
========================================================= */
.thorlar-collections {
    box-sizing: border-box;
}

.thorlar-collections-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* Card — fixed height, image absolutely positioned to fill */
.thorlar-collection-card {
    position: relative !important;
    height: 480px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    background: var(--thorlar-light);
    display: block;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Image MUST fill the card absolutely — guard against Astra resets */
.thorlar-collection-card > img,
.thorlar-collection-card img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top;
    display: block !important;
    transition: transform 0.6s ease;
    z-index: 1;
    margin: 0 !important;
    padding: 0 !important;
    max-width: none !important;
    border-radius: 0 !important;
}

.thorlar-collection-card.thorlar-hover-zoom:hover > img,
.thorlar-collection-card.thorlar-hover-zoom:hover img {
    transform: scale(1.08);
}

.thorlar-collection-card.thorlar-hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

/* Overlay sits above image */
.thorlar-collection-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    padding: 40px 28px 28px;
    color: #fff;
    transition: opacity 0.3s;
    z-index: 2;
    box-sizing: border-box;
}

.thorlar-overlay-hover-only { opacity: 0; }
.thorlar-collection-card:hover .thorlar-overlay-hover-only { opacity: 1; }

/* Collection text — no font rules, Elementor owns them */
.thorlar-collection-card h3 {
    margin: 0 0 8px;
    color: #fff;
    line-height: 1.2;
}

.thorlar-collection-card p {
    margin: 0 0 16px;
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
}

/* Button */
.thorlar-collection-btn {
    display: inline-block;
    background: var(--thorlar-orange);
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s;
    white-space: nowrap;
}

.thorlar-collection-btn:hover {
    background: #E67A2E;
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(255,140,66,0.4);
    color: #fff;
}

/* Coming soon */
.thorlar-collection-card.thorlar-coming-soon {
    opacity: 0.65;
    cursor: default;
}
.thorlar-collection-card.thorlar-coming-soon:hover {
    transform: none;
    box-shadow: none;
}

.thorlar-coming-soon-badge {
    position: absolute;
    top: 20px; right: 20px;
    background: rgba(255,255,255,0.95);
    color: var(--thorlar-black);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 3;
}

/* =========================================================
   PRODUCTS SECTION (New Arrivals / Featured / Weekly / Deals)
========================================================= */
.thorlar-products-section {
    padding: 80px 5%;
    background: #fff;
    box-sizing: border-box;
}

/* Grid — columns set via inline style on desktop, JS handles tablet/mobile */
.thorlar-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* overridden by inline style */
    gap: 28px;
}

/* ── Product Card ──────────────────────────────────────── */
.thorlar-product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #ebebeb;
}

.thorlar-product-card.thorlar-hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.10);
}

/* Image wrapper — aspect ratio via padding-top trick */
.thorlar-product-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 120%;
    background: var(--thorlar-light);
    overflow: hidden;
    flex-shrink: 0;
}

/* Primary and secondary images — both absolutely fill the wrapper */
.thorlar-product-image {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top;
    transition: opacity 0.4s ease;
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    max-width: none !important;
}

.thorlar-product-image-secondary {
    opacity: 0;
    z-index: 1;
}

/* Only swap images on cards that actually have a hover image */
.thorlar-has-hover-image:hover .thorlar-product-image-secondary { opacity: 1; }
.thorlar-has-hover-image:hover .thorlar-product-image:not(.thorlar-product-image-secondary) { opacity: 0; }

/* Badge */
.thorlar-product-badge {
    position: absolute;
    top: 12px; left: 12px;
    background: var(--thorlar-orange);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}
.thorlar-product-badge.sale { background: #EF4444; }
.thorlar-product-badge.hot  { background: #8B5CF6; }

/* Wishlist — perfect circle, never oval */
.thorlar-product-wishlist {
    position: absolute;
    top: 12px; right: 12px;
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    background: rgba(255,255,255,0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 3;
    border: none;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    color: #555;
    flex-shrink: 0;
    box-sizing: border-box;
}
.thorlar-product-wishlist svg {
    display: block;
    flex-shrink: 0;
    pointer-events: none;
}
.thorlar-product-wishlist:hover {
    background: var(--thorlar-orange);
    color: #fff;
    transform: scale(1.1);
}
.thorlar-product-wishlist.thorlar-wishlist-active {
    color: #e53e3e;
    background: #fff0f0;
}
.thorlar-product-wishlist.thorlar-wishlist-active svg {
    fill: #e53e3e;
    stroke: #e53e3e;
}

/* Quick View button */
.thorlar-quick-view-btn {
    position: absolute;
    bottom: 12px; left: 12px; right: 12px;
    padding: 10px;
    background: rgba(255,255,255,0.96);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    color: #111111;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.3s ease;
    font-family: inherit;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 3;
}
.thorlar-quick-view-btn:hover {
    background: var(--thorlar-orange);
    color: #fff;
}
.thorlar-product-card:hover .thorlar-quick-view-btn {
    opacity: 1;
    transform: translateY(0);
}

/* Card info area */
.thorlar-product-info {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
    box-sizing: border-box;
}

/* Category, title, rating — no font rules, Elementor owns them */
.thorlar-product-title-link {
    color: inherit;
    text-decoration: none;
    transition: color .2s;
}
.thorlar-product-title-link:hover { color: var(--thorlar-orange); }

.thorlar-product-category {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
    color: var(--thorlar-gray);
}
.thorlar-product-title {
    margin: 0 0 8px;
    line-height: 1.35;
}
.thorlar-product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}
.thorlar-stars { color: #FFA500; }
.thorlar-rating-count { color: var(--thorlar-gray); }

/* Price — WooCommerce price HTML */
.thorlar-product-price {
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}
.thorlar-product-price .woocommerce-Price-amount { font-weight: 700; }
.thorlar-product-price del {
    color: var(--thorlar-gray);
    opacity: 0.75;
}
.thorlar-product-price del .woocommerce-Price-amount { font-weight: 400; }
.thorlar-product-price ins { text-decoration: none; font-weight: 700; }

.thorlar-discount-percent {
    background: #FEE2E2;
    color: #DC2626;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
}

/* Add to Cart — push to bottom of card */
.thorlar-add-to-cart {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--thorlar-orange);
    color: #fff;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s, transform 0.2s, color 0.2s;
    font-family: inherit;
    margin-top: auto;
    box-sizing: border-box;
}
.thorlar-add-to-cart:hover {
    background: #E67A2E;
    color: #fff;
    transform: translateY(-1px);
}
/* "Added" state — green, stays as a link to cart */
.thorlar-add-to-cart.thorlar-added {
    background: #22c55e !important;
    color: #fff !important;
    pointer-events: all;
    transform: none;
}
.thorlar-add-to-cart.thorlar-added:hover {
    background: #16a34a !important;
}

/* Secondary "View Cart" link that appears below the button */
.thorlar-view-cart-link {
    display: block;
    text-align: center;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--thorlar-orange);
    text-decoration: none;
    transition: opacity 0.2s;
}
.thorlar-view-cart-link:hover {
    opacity: 0.75;
    text-decoration: underline;
}

/* Hide WooCommerce's own injected View Cart link — we replace it */
.thorlar-product-card .added_to_cart.wc-forward {
    display: none !important;
}

/* =========================================================
   CTA BANNER WIDGET
========================================================= */
.thorlar-cta-banner {
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}
.thorlar-cta-overlay {
    position: absolute;
    inset: 0;
}
.thorlar-cta-content {
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}
.thorlar-cta-btn {
    display: inline-flex;
    align-items: center;
    border-radius: 50px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

/* =========================================================
   NEWSLETTER WIDGET
========================================================= */
.thorlar-newsletter {
    box-sizing: border-box;
}
.thorlar-newsletter-inner {
    max-width: 600px;
}
.thorlar-newsletter-form {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}
.thorlar-nl-email {
    flex: 1;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
    color: inherit;
    font-family: inherit;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s;
}
.thorlar-nl-email:focus { border-color: var(--thorlar-orange); }
.thorlar-nl-submit {
    background: var(--thorlar-orange);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.3s;
    white-space: nowrap;
}
.thorlar-nl-submit:hover { background: #E67A2E; }

/* Fluent Forms inside dark newsletter */
.thorlar-newsletter .ff-el-input--content input[type="email"],
.thorlar-newsletter .ff-el-input--content input[type="text"],
.thorlar-newsletter .ff-el-input--content textarea {
    background: rgba(255,255,255,0.1) !important;
    border-color: rgba(255,255,255,0.3) !important;
    color: #fff !important;
}
.thorlar-newsletter .ff_submit_btn_wrapper .ff-btn {
    background: var(--thorlar-orange) !important;
    border-color: var(--thorlar-orange) !important;
}

/* =========================================================
   BEST DEALS / COUNTDOWN WIDGET
========================================================= */
.thorlar-countdown {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.thorlar-countdown-item {
    background: #1a1a2e;
    color: #fff;
    border-radius: 12px;
    padding: 16px 20px;
    text-align: center;
    min-width: 80px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.thorlar-countdown-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--thorlar-orange);
    line-height: 1;
    display: block;
}
.thorlar-countdown-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.7;
    display: block;
}
.thorlar-countdown-expired {
    font-size: 18px;
    font-weight: 600;
    color: #DC2626;
}

/* =========================================================
   PARTNER PRODUCTS (TABS) WIDGET
========================================================= */
.thorlar-partner-section { box-sizing: border-box; }
.thorlar-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
}
.thorlar-tab-btn {
    background: #f3f4f6;
    border: 2px solid transparent;
    border-radius: 50px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.25s;
    white-space: nowrap;
}
.thorlar-tab-btn.active,
.thorlar-tab-btn:hover {
    background: var(--thorlar-orange);
    color: #fff;
    border-color: var(--thorlar-orange);
}
.thorlar-tab-content { display: none; }
.thorlar-tab-content.active { display: block; }

/* =========================================================
   SCROLL FADE ANIMATION
========================================================= */
.thorlar-scroll-fade {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.thorlar-scroll-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   QUICK VIEW MODAL
========================================================= */
.thorlar-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(4px);
    box-sizing: border-box;
}
.thorlar-modal-overlay.open {
    display: flex;
    animation: thorlarModalIn .25s ease;
}
@keyframes thorlarModalIn { from { opacity: 0; } to { opacity: 1; } }

.thorlar-modal-box {
    background: #fff;
    border-radius: 14px;
    max-width: 820px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
    animation: thorlarBoxIn .25s ease;
    box-sizing: border-box;
}
@keyframes thorlarBoxIn {
    from { transform: scale(.95) translateY(20px); opacity: 0; }
    to   { transform: scale(1) translateY(0); opacity: 1; }
}
.thorlar-modal-close {
    position: absolute;
    top: 14px; right: 16px;
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
    color: #666;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 6px;
    transition: color .2s, background .2s;
}
.thorlar-modal-close:hover { color: #111; background: #f0f0f0; }
.thorlar-modal-loading {
    text-align: center;
    padding: 40px;
    color: #888;
}
.thorlar-quick-view-product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
}
.thorlar-qv-image img { width: 100%; border-radius: 10px; display: block; }
.thorlar-qv-details h2 { font-size: 22px; font-weight: 700; margin: 0 0 10px; }
.thorlar-qv-price { font-size: 20px; font-weight: 800; color: var(--thorlar-orange); margin-bottom: 14px; }
.thorlar-qv-desc { font-size: 14px; line-height: 1.7; color: #555; margin-bottom: 20px; }
.thorlar-qv-atc {
    display: block; width: 100%; text-align: center;
    background: var(--thorlar-orange); color: #fff;
    padding: 13px 20px; border-radius: 8px;
    font-weight: 700; font-size: 14px; border: none;
    cursor: pointer; text-decoration: none; margin-bottom: 12px;
    transition: opacity .2s;
}
.thorlar-qv-atc:hover { opacity: .88; }
.thorlar-qv-view-full { display: block; text-align: center; font-size: 13px; color: #666; text-decoration: underline; }

/* =========================================================
   WISHLIST + CART FEEDBACK ANIMATIONS
========================================================= */
@keyframes thorlarWishlistPulse {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.4); }
    100% { transform: scale(1); }
}
.thorlar-wishlist-pulse { animation: thorlarWishlistPulse .4s ease; }

@keyframes thorlarShake {
    0%,100% { transform: translateX(0); }
    20%,60% { transform: translateX(-6px); }
    40%,80% { transform: translateX(6px); }
}
.thorlar-nl-error-shake {
    animation: thorlarShake .5s ease;
    border-color: #e53e3e !important;
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1024px) {
    .thorlar-collection-card  { height: 420px; }
}

@media (max-width: 768px) {
    .thorlar-container { padding: 0 16px; }
    .thorlar-section-header { margin-bottom: 32px; }
    .thorlar-collections-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .thorlar-collection-card  { height: 360px; }
    .thorlar-newsletter-form  { flex-direction: column; }
    .thorlar-countdown        { gap: 8px; }
    .thorlar-countdown-item   { min-width: 64px; padding: 12px; }
    .thorlar-countdown-number { font-size: 24px; }
    .thorlar-quick-view-product { grid-template-columns: 1fr; }
    .thorlar-modal-box { padding: 20px; }
}

@media (max-width: 480px) {
    .thorlar-collection-card  { height: 320px; }
}

/* =========================================================
   ANNOUNCEMENT BANNER WIDGET
========================================================= */
.thorlar-announcement-bar {
    width: 100%;
    background: #FF8C42; /* default solid — no gradient; Elementor Background control owns this */
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99990;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Sticky positions */
.thorlar-ann-sticky-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}
.thorlar-ann-sticky-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
}

/* Inner flex row */
.thorlar-ann-inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    flex: 1;
    min-width: 0;
}

/* Message */
.thorlar-ann-message {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* CTA link */
.thorlar-ann-link {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;
}
.thorlar-ann-link:visited { color: inherit; }

/* Countdown */
.thorlar-ann-countdown {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    font-weight: 700;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}

/* Close button */
.thorlar-ann-close {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 4px;
    margin-left: 8px;
    line-height: 1;
    transition: color 0.2s, opacity 0.2s;
    opacity: 0.8;
}
.thorlar-ann-close:hover { opacity: 1; }
.thorlar-ann-close svg,
.thorlar-ann-close i {
    display: block;
    pointer-events: none;
}

/* Hidden state */
.thorlar-announcement-bar.thorlar-ann-hidden {
    display: none;
}

/* In Elementor editor: show close button for preview but disable its action */
.elementor-editor-active .thorlar-ann-close {
    pointer-events: none; /* don't dismiss during editing */
    opacity: 0.5;
}

/* Mobile announcement fixes */
@media (max-width: 768px) {
    .thorlar-ann-inner {
        flex-wrap: wrap;
        gap: 8px;
        padding: 4px 0;
    }
    .thorlar-ann-message {
        white-space: normal;    /* allow wrapping on small screens */
        text-overflow: clip;
        overflow: visible;
        font-size: 13px;
        line-height: 1.4;
        flex-basis: 100%;       /* full row on very small screens */
    }
    .thorlar-ann-link {
        font-size: 12px;
    }
    .thorlar-ann-countdown {
        font-size: 12px;
    }
    .thorlar-announcement-bar .thorlar-ann-close {
        position: absolute;
        top: 8px;
        right: 8px;
    }
    .thorlar-announcement-bar {
        position: relative; /* needed for absolute close button on mobile */
    }
    .thorlar-ann-sticky-top,
    .thorlar-ann-sticky-bottom {
        position: fixed; /* override relative for sticky positions */
    }
}
@media (max-width: 480px) {
    .thorlar-ann-inner {
        gap: 6px;
    }
    .thorlar-ann-message {
        font-size: 12px;
    }
}

/* When banner is sticky-top, push page content down */
body.thorlar-ann-top-active {
    padding-top: var(--thorlar-ann-height, 48px);
}
body.thorlar-ann-bottom-active {
    padding-bottom: var(--thorlar-ann-height, 48px);
}

/* Responsive */
@media (max-width: 600px) {
    .thorlar-ann-inner {
        flex-wrap: wrap;
        gap: 8px;
    }
    .thorlar-ann-message {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        font-size: 13px;
    }
}

/* ==========================================================
   PRODUCT PAGE WIDGETS  — built by drino
========================================================== */

/* ── Breadcrumb ────────────────────────────────────────── */
.thorlar-breadcrumb-wrap {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    font-size: 14px;
}
.thorlar-breadcrumb-wrap a { text-decoration: none; transition: color .2s; }
.thorlar-bc-sep            { opacity: .5; }
.thorlar-breadcrumb-current{ font-weight: 600; }

/* ── Product Main Grid ─────────────────────────────────── */
.thorlar-product-main { box-sizing: border-box; }
.thorlar-pm-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 80px;
    align-items: flex-start;
}
.thorlar-pm-gallery,
.thorlar-pm-info { flex: 1; min-width: 0; }
.thorlar-sticky-gallery { position: sticky; top: 100px; }

/* ── Gallery ───────────────────────────────────────────── */
.thorlar-pm-main-wrap {
    position: relative;
    margin-bottom: 16px;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    overflow: hidden;
    background: #f8f8f8;
    cursor: zoom-in;
}
.thorlar-pm-main-img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    display: block;
    transition: opacity .3s;
}
.thorlar-pm-badges {
    position: absolute;
    top: 16px; left: 16px;
    display: flex; flex-direction: column; gap: 8px;
    z-index: 2;
}
.thorlar-pm-badge {
    padding: 6px 14px;
    font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .5px;
    color: #fff;
}
.thorlar-pm-badge.sale { background: #EF4444; }
.thorlar-pm-badge.new  { background: #10B981; }
.thorlar-pm-wishlist {
    position: absolute !important; top: 16px !important; right: 16px !important;
    width: 48px !important; height: 48px !important;
    min-width: 48px !important; min-height: 48px !important;
    max-width: 48px !important; max-height: 48px !important;
    aspect-ratio: 1 / 1 !important;
    line-height: 1 !important;
    background: rgba(255,255,255,.96) !important;
    border: none !important; border-radius: 50% !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    cursor: pointer !important; transition: all .3s; z-index: 4;
    color: #222 !important;
    box-shadow: 0 2px 12px rgba(0,0,0,.18) !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}
.thorlar-pm-wishlist svg,
.thorlar-pm-wishlist > svg {
    stroke: #333 !important;
    stroke-width: 2px !important;
    fill: none !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    min-height: 22px !important;
    pointer-events: none;
    overflow: visible !important;
    color: #333 !important;
}
.thorlar-pm-wishlist svg path,
.thorlar-pm-wishlist > svg path {
    stroke: #333 !important;
    fill: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    display: inline !important;
}
/* Override any Astra global SVG hiding */
.thorlar-pm-main-wrap svg { display: block !important; visibility: visible !important; }
.thorlar-pm-wishlist:hover,
.thorlar-pm-wishlist.active { background: #FF8C42; color: #fff; }
.thorlar-pm-wishlist.active svg { fill: #fff; }

/* Thumbnails */
.thorlar-pm-thumbs {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}
.thorlar-pm-thumb {
    /* padding-top trick = reliable cross-theme 3:4 ratio */
    position: relative !important;
    width: 100%;
    padding-top: 133.33%; /* 4/3 = 1.333 = 133.33% for portrait 3:4 */
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color .3s, box-shadow .2s;
    background: #f8f8f8;
    box-sizing: border-box;
}
.thorlar-pm-thumb:hover { border-color: #FF8C42; box-shadow: 0 0 0 1px #FF8C42; }
.thorlar-pm-thumb.active { border-color: #FF8C42; }
/* Fill the padded container — works even when Astra sets height:auto on img */
.thorlar-pm-thumb > img,
.thorlar-pm-thumb img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 !important;
}
.thorlar-pm-thumb-video {
    display: flex; align-items: center; justify-content: center;
    background: #1a1a1a; color: #fff;
    font-size: 22px;
}
.thorlar-pm-vid-icon { pointer-events: none; }

/* Video in main area */
.thorlar-pm-video-thumb {
    position: absolute; inset: 0;
    background: rgba(0,0,0,.4);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity .3s ease; cursor: pointer;
    z-index: 3;
    pointer-events: none; /* hidden by default — JS toggles on click */
}
/* Desktop hover */
@media (hover: hover) {
    .thorlar-pm-main-wrap:hover .thorlar-pm-video-thumb { opacity: 1; pointer-events: all; }
}
/* Touch: JS adds .thorlar-video-hover-active class on tap */
.thorlar-pm-main-wrap.thorlar-video-hover-active .thorlar-pm-video-thumb { opacity: 1; pointer-events: all; }
.thorlar-pm-play-btn {
    background: rgba(255,255,255,.9); color: #111;
    padding: 12px 24px; border-radius: 30px;
    font-weight: 700; font-size: 15px;
}

/* Inline video player */
.thorlar-pm-inline-video {
    position: absolute; inset: 0; z-index: 10;
    background: #000;
}
.thorlar-pm-inline-video iframe,
.thorlar-pm-inline-video video {
    width: 100%; height: 100%; border: none;
}
.thorlar-pm-video-close {
    position: absolute; top: 10px; right: 14px;
    background: rgba(255,255,255,.85);
    border: none; border-radius: 50%;
    width: 32px; height: 32px;
    font-size: 18px; cursor: pointer; z-index: 11;
    display: flex; align-items: center; justify-content: center;
}

/* ── Old/Sale Price ───────────────────────────────────── */
.thorlar-pt-price del {
    color: #999 !important;
    text-decoration: line-through;
}
.thorlar-pt-price del .woocommerce-Price-amount {
    color: #999 !important;
}
.thorlar-pt-price ins {
    text-decoration: none !important;
}
.thorlar-pt-price ins .woocommerce-Price-amount {
    color: #000;
}
.thorlar-pt-discount {
    background: #FEE2E2;
    color: #DC2626;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    display: inline-block;
    flex-shrink: 0;
}

/* ── Product Info ──────────────────────────────────────── */
.thorlar-pt-category {
    font-size: 13px; text-transform: uppercase;
    letter-spacing: 1.5px; font-weight: 600; margin-bottom: 10px;
}
.thorlar-pt-title {
    line-height: 1.2; margin-bottom: 14px;
}
.thorlar-pt-rating {
    display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
    margin-bottom: 20px;
}
.thorlar-pt-stars    { color: #FFA500; font-size: 18px; }
.thorlar-pt-rating-link { color: #FF8C42; text-decoration: none; font-size: 14px; font-weight: 600; }
.thorlar-pt-rating-link:hover { text-decoration: underline; }
.thorlar-pt-price-wrap {
    display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px;
    margin-bottom: 20px; padding-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}
.thorlar-pt-price del .woocommerce-Price-amount { opacity: .6; }
.thorlar-pt-price ins { text-decoration: none; }
.thorlar-pt-discount {
    background: #FEE2E2; color: #DC2626;
    padding: 4px 10px; border-radius: 6px;
    font-size: 13px; font-weight: 700;
}
.thorlar-pt-short-desc {
    line-height: 1.8; margin-bottom: 28px;
}

/* ── Variations ────────────────────────────────────────── */
.thorlar-opt-group { margin-bottom: 22px; }
.thorlar-opt-label-row {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 12px !important;
    width: 100% !important;
    gap: 8px;
}
.thorlar-size-guide-link {
    color: #FF8C42 !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    text-decoration: none !important;
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-block !important;
}
.thorlar-size-guide-link:hover { text-decoration: underline !important; }
.thorlar-opt-label {
    font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
}
.thorlar-size-guide-link { color: #FF8C42; font-size: 13px; font-weight: 600; text-decoration: none; }
.thorlar-size-guide-link:hover { text-decoration: underline; }
.thorlar-size-opts { display: flex; flex-wrap: wrap; gap: 10px; }
.thorlar-size-opt {
    min-width: 52px !important;
    padding: 10px 18px !important;
    border: 2px solid #e5e5e5 !important;
    background: #fff !important;
    background-color: #fff !important;
    color: #1a1a1a !important;
    cursor: pointer !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    border-radius: 4px !important;
    transition: all .3s;
    font-family: inherit !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    box-shadow: none !important;
    line-height: normal !important;
}
.thorlar-size-opt:hover {
    border-color: #FF8C42 !important;
    background: #FF8C42 !important;
    background-color: #FF8C42 !important;
    color: #fff !important;
}
.thorlar-size-opt.active {
    border-color: #FF8C42 !important;
    background: #FF8C42 !important;
    background-color: #FF8C42 !important;
    color: #fff !important;
}
.thorlar-size-opt.out-of-stock { opacity: .4; cursor: not-allowed; position: relative; }
.thorlar-size-opt.out-of-stock::after { content:''; position:absolute; top:50%; left:0; right:0; height:1px; background:#888; transform:rotate(-15deg); }

/* Colour swatches */
.thorlar-color-opts { display: flex; flex-wrap: wrap; gap: 10px; }
.thorlar-color-opt {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    aspect-ratio: 1 / 1;   /* force perfect circle regardless of content */
    border-radius: 50% !important;
    border: 3px solid #e5e5e5;
    cursor: pointer;
    transition: all .3s;
    position: relative;
    flex-shrink: 0;
    box-sizing: border-box;
    padding: 0;
    overflow: hidden;
}
.thorlar-color-opt:hover  { transform: scale(1.1); }
.thorlar-color-opt.active { border-color: #FF8C42; }
.thorlar-color-opt.active::after {
    content: '✓'; position: absolute;
    top: 50%; left: 50%; transform: translate(-50%,-50%);
    color: #fff; font-size: 18px; font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,.5);
}

.thorlar-variation-msg { font-size: 13px; color: #EF4444; margin-top: 8px; min-height: 20px; }

/* ── Purchase Buttons ──────────────────────────────────── */
.thorlar-pt-purchase {
    display: flex !important;
    gap: 14px !important;
    margin-bottom: 16px !important;
    align-items: stretch !important;
}
/* Qty wrapper */
.thorlar-pt-qty {
    display: flex !important;
    flex-direction: row !important;
    border: 2px solid #e5e5e5 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    height: 56px !important;
    min-height: 56px !important;
    align-items: stretch !important;
    background: #fff !important;
    padding: 0 !important;
    margin: 0 !important;
    flex-shrink: 0;
    box-sizing: border-box !important;
}
/* +/- buttons */
.thorlar-pt-qty .thorlar-qty-btn {
    width: 52px !important;
    min-width: 52px !important;
    max-width: 52px !important;
    height: 100% !important;
    border: none !important;
    border-radius: 0 !important;
    background: #f8f8f8 !important;
    background-color: #f8f8f8 !important;
    cursor: pointer !important;
    font-size: 24px !important;
    font-weight: 300 !important;
    line-height: 1 !important;
    transition: background .2s, color .2s;
    font-family: inherit !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #333 !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    text-indent: 0 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}
.thorlar-pt-qty .thorlar-qty-btn:hover,
.thorlar-pt-qty .thorlar-qty-btn:focus {
    background: #FF8C42 !important;
    background-color: #FF8C42 !important;
    color: #fff !important;
}
/* Number input */
.thorlar-pt-qty .thorlar-qty-input {
    flex: 1 !important;
    width: auto !important;
    min-width: 52px !important;
    height: 100% !important;
    border: none !important;
    border-left: 1px solid #e5e5e5 !important;
    border-right: 1px solid #e5e5e5 !important;
    border-radius: 0 !important;
    text-align: center !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    font-family: inherit !important;
    background: #fff !important;
    background-color: #fff !important;
    color: #333 !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    -moz-appearance: textfield !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    display: flex !important;
    align-items: center !important;
    line-height: 56px !important;
}
.thorlar-pt-qty .thorlar-qty-input::-webkit-outer-spin-button,
.thorlar-pt-qty .thorlar-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
    display: none !important;
}
.thorlar-pt-atc {
    flex: 1; border: none; border-radius: 8px;
    cursor: pointer; font-family: inherit;
    font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    transition: all .3s;
}
.thorlar-pt-atc:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255,140,66,.4); }
.thorlar-pt-buynow {
    display: block; width: 100%;
    border: none; border-radius: 8px;
    cursor: pointer; font-family: inherit;
    font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    transition: all .3s; text-align: center; text-decoration: none;
    margin-bottom: 24px;
}
.thorlar-pt-buynow:hover { transform: translateY(-2px); }

/* ── Meta Strip ────────────────────────────────────────── */
.thorlar-pt-meta { border-radius: 12px; margin-bottom: 28px; }
.thorlar-meta-item {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 0; border-bottom: 1px solid #e5e5e5;
    font-size: 14px;
}
.thorlar-meta-item:last-child { border-bottom: none; }
.thorlar-meta-icon { display: flex; align-items: center; flex-shrink: 0; }
.thorlar-meta-label { font-weight: 600; min-width: 110px; }
.thorlar-meta-value { color: #666; }
.thorlar-meta-value.in-stock {
    color: #10B981 !important;
    font-weight: 700;
}
.thorlar-meta-value.in-stock::before {
    content: '✓ ';
    font-weight: 700;
}

/* ── Accordion ─────────────────────────────────────────── */
.thorlar-accordion { border-top: 1px solid #e5e5e5; }
.thorlar-acc-item  { border-bottom: 1px solid #e5e5e5; }
.thorlar-acc-header {
    width: 100% !important;
    padding: 20px 0 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    cursor: pointer !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    /* NO font-family !important here — Elementor typography needs to override this */
    text-align: left !important;
    transition: color .3s;
    color: inherit;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}
.thorlar-acc-item.active .thorlar-acc-header { background: transparent !important; background-color: transparent !important; }
.thorlar-acc-icon { transition: transform .3s; font-size: 14px; }
.thorlar-acc-item.active .thorlar-acc-icon { transform: rotate(180deg); }
.thorlar-acc-content { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.thorlar-acc-item.active .thorlar-acc-content { max-height: 2000px; }
.thorlar-acc-body {
    padding: 4px 0 24px 0;
    line-height: 1.8;
}
.thorlar-acc-body ul {
    list-style: none;
    padding: 0;
    margin: 8px 0;
}
.thorlar-acc-body li {
    padding: 6px 0 6px 18px;
    position: relative;
    font-size: inherit;
}
.thorlar-acc-body li::before {
    content: '▪';
    position: absolute;
    left: 0;
    color: #FF8C42;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.8;
}
.thorlar-acc-body p { margin-bottom: 10px; }
.thorlar-acc-body strong { font-weight: 700; }
/* WC description formatting */
.thorlar-acc-body ul li::marker { color: #FF8C42; }

/* ── Pre-Launch Notice ─────────────────────────────────── */
.thorlar-prelaunch-notice {
    border-radius: 12px; padding: 20px 24px; margin-bottom: 20px;
    border-left: 4px solid #FF8C42;
}
.thorlar-pl-badge {
    font-weight: 700; font-size: 14px; text-transform: uppercase;
    letter-spacing: 1px; margin-bottom: 8px;
}
.thorlar-pl-msg  { margin-bottom: 10px; font-size: 14px; }
.thorlar-pl-date { font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.thorlar-pl-countdown {
    display: flex; gap: 14px; margin-bottom: 14px;
}
.thorlar-pl-cd-item {
    text-align: center; background: rgba(0,0,0,.06);
    border-radius: 8px; padding: 10px 14px; min-width: 60px;
}
.thorlar-pl-countdown-num  { font-size: 28px; font-weight: 800; display: block; line-height: 1; }
.thorlar-pl-cd-label { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; opacity: .7; }
.thorlar-pl-ship { font-size: 13px; font-weight: 600; }

/* ── Reviews Section ───────────────────────────────────── */
.thorlar-reviews-section { box-sizing: border-box; }
.thorlar-reviews-inner   { max-width: 1400px; margin: 0 auto; }
/* margin-bottom for title controlled by Elementor gap control */
.thorlar-reviews-summary {
    display: grid; grid-template-columns: 1fr 2fr;
    gap: 40px; margin-bottom: 48px; padding: 36px;
}
.thorlar-rating-overview { text-align: center; }
.thorlar-rating-big      { font-size: 64px; font-weight: 700; line-height: 1; margin-bottom: 8px; }
.thorlar-rev-stars,
.thorlar-rv-stars        { font-size: 22px; color: #FFA500; margin-bottom: 8px; }
.thorlar-rating-total    { font-size: 14px; color: #666; }
.thorlar-rating-breakdown{ display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.thorlar-rating-bar      { display: flex; align-items: center; gap: 14px; }
.thorlar-bar-label       { font-size: 13px; min-width: 48px; }
.thorlar-bar-track       { flex: 1; height: 8px; background: #e5e5e5; border-radius: 4px; overflow: hidden; }
.thorlar-bar-fill        { height: 100%; background: #FFA500; transition: width .6s ease; border-radius: 4px; }
.thorlar-bar-count       { font-size: 13px; color: #666; min-width: 32px; text-align: right; }
.thorlar-reviews-list    { display: flex; flex-direction: column; gap: 20px; margin-bottom: 48px; }
.thorlar-review-card     { border: 1px solid #e5e5e5; }
.thorlar-rv-header       { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.thorlar-rv-user         { display: flex; gap: 14px; align-items: center; }
.thorlar-rv-avatar       { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 17px; flex-shrink: 0; }
.thorlar-rv-name         { font-weight: 600; margin-bottom: 3px; }
.thorlar-rv-date         { font-size: 12px; color: #888; }
.thorlar-rv-text         { line-height: 1.8; margin-bottom: 14px; }
.thorlar-rv-verified     { display: inline-flex; align-items: center; gap: 4px; padding: 5px 12px; border-radius: 6px; font-size: 12px; font-weight: 600; }
.thorlar-no-reviews      { color: #888; font-style: italic; }
.thorlar-rv-form-wrap    { padding: 32px; border-radius: 12px; }
.thorlar-rv-form-wrap h3 { margin-bottom: 20px; font-size: 20px; }
.thorlar-rv-form-wrap input[type="text"],
.thorlar-rv-form-wrap input[type="email"],
.thorlar-rv-form-wrap textarea {
    width: 100%; padding: 10px 14px; border: 1px solid #e5e5e5;
    border-radius: 8px; font-family: inherit; font-size: 14px;
    margin-bottom: 14px; box-sizing: border-box;
}
.thorlar-rv-form-wrap label { font-weight: 600; font-size: 13px; margin-bottom: 6px; display: block; }
.thorlar-rv-form-wrap .comment-form-rating { margin-bottom: 14px; }
.thorlar-rv-form-wrap input[type="submit"],
.thorlar-rv-form-wrap .submit input {
    background: #FF8C42 !important; color: #fff !important;
    border: none !important; padding: 12px 28px !important;
    border-radius: 8px !important; cursor: pointer !important;
    font-weight: 700 !important; font-size: 14px !important;
    font-family: inherit !important; transition: background .3s !important;
}
.thorlar-rv-login { color: #666; }
.thorlar-rv-login a { color: #FF8C42; }

/* ── Related Products ──────────────────────────────────── */
.thorlar-related-products { box-sizing: border-box; }
.thorlar-rp-inner         { max-width: 1400px; margin: 0 auto; }
/* margin-bottom for title controlled by Elementor gap control */
.thorlar-rp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}
.thorlar-rp-card {
    background: #fff; border: 1px solid #e5e5e5; border-radius: 12px;
    overflow: hidden; transition: all .3s;
}
.thorlar-rp-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.thorlar-rp-img-link { display: block; text-decoration: none; }
.thorlar-rp-img-wrap {
    position: relative; width: 100%; padding-top: 120%;
    overflow: hidden; background: #f8f8f8;
}
.thorlar-rp-img-primary,
.thorlar-rp-img-hover {
    position: absolute !important;
    top: 0 !important; left: 0 !important;
    width: 100% !important; height: 100% !important;
    object-fit: cover !important;
}
.thorlar-rp-img-hover { opacity: 0; transition: opacity .4s; z-index: 1; }
.thorlar-rp-has-hover:hover .thorlar-rp-img-hover   { opacity: 1; }
.thorlar-rp-has-hover:hover .thorlar-rp-img-primary { opacity: 0; }
/* Video hover */
.thorlar-rp-video-hover {
    position: absolute; inset: 0; z-index: 1;
    opacity: 0; transition: opacity .3s;
    overflow: hidden;
}
.thorlar-rp-has-hover:hover .thorlar-rp-video-hover { opacity: 1; }
/* Same iframe "object-fit: cover" trick */
.thorlar-rp-video-hover iframe {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 300% !important;
    height: 300% !important;
    transform: translate(-50%, -50%) !important;
    border: none !important;
    pointer-events: none;
}
.thorlar-rp-video-hover video {
    width: 100%; height: 100%; object-fit: cover; pointer-events: none;
}
/* Badge stays above video */
.thorlar-rp-badge-sale {
    position: absolute; top: 12px; left: 12px; z-index: 4;
    background: #EF4444; color: #fff;
    padding: 4px 12px; font-size: 11px; font-weight: 700;
}
.thorlar-rp-card-body { padding: 18px; }
.thorlar-rp-cat { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: #888; margin-bottom: 6px; }
.thorlar-rp-card-title-link { text-decoration: none; }
.thorlar-rp-card-title { font-size: 15px; margin-bottom: 8px; line-height: 1.3; }
.thorlar-rp-stars  { font-size: 13px; margin-bottom: 8px; }
.thorlar-rp-price  { margin-bottom: 12px; }
.thorlar-rp-atc {
    display: block; width: 100%; text-align: center;
    padding: 10px; border: none; border-radius: 8px;
    font-weight: 700; cursor: pointer; font-family: inherit;
    font-size: 13px; text-decoration: none; transition: all .3s;
    margin-top: auto; box-sizing: border-box;
}
.thorlar-rp-atc:hover { opacity: .85; transform: translateY(-1px); }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 1024px) {
    .thorlar-pm-grid { flex-direction: column !important; gap: 40px; }
    .thorlar-sticky-gallery { position: static; }
    .thorlar-reviews-summary { grid-template-columns: 1fr; }
    .thorlar-rp-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 600px) {
    .thorlar-pt-purchase { flex-direction: column; }
    .thorlar-pt-qty { width: 100%; justify-content: center; }
    .thorlar-pl-countdown { flex-wrap: wrap; }
    .thorlar-reviews-summary { padding: 20px; }
    .thorlar-rp-grid { grid-template-columns: repeat(2,1fr); gap: 14px; }
}

/* ── Product Grid Video Hover ──────────────────────────── */
.thorlar-product-video-hover {
    position: absolute !important;
    top: 0 !important; left: 0 !important;
    width: 100% !important; height: 100% !important;
    z-index: 2;
    opacity: 0;
    transition: opacity .4s ease;
    overflow: hidden;
    /* Do NOT set pointer-events:none — iframes need user-interaction context for autoplay */
}

/* Iframe "object-fit: cover" trick —
   make the iframe 300% wide & tall, centered, so it always fills the container
   regardless of whether the video is portrait or landscape */
.thorlar-product-video-hover iframe {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    /* 300% ensures portrait videos fill landscape containers and vice-versa */
    width: 300% !important;
    height: 300% !important;
    transform: translate(-50%, -50%) !important;
    border: none !important;
    pointer-events: none;
    /* No object-fit on iframe — the scaling above achieves the same effect */
}

.thorlar-product-video-hover video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
    pointer-events: none;
}

.thorlar-has-hover-video:hover .thorlar-product-video-hover { opacity: 1; }
.thorlar-has-hover-video:hover .thorlar-product-image:not(.thorlar-product-image-secondary) { opacity: 0; }

/* Badges, wishlist must sit ABOVE the video hover layer */
.thorlar-product-badge   { z-index: 4 !important; }
.thorlar-product-wishlist { z-index: 4 !important; }
.thorlar-quick-view-btn  { z-index: 4 !important; }

/* ── Gallery Zoom Lightbox ─────────────────────────────── */
.thorlar-zoom-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.9);
    z-index: 99997;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}
.thorlar-zoom-overlay.open { display: flex; animation: thorlarModalIn .2s ease; }
.thorlar-zoom-overlay img {
    max-width: 92vw;
    max-height: 92vh;
    object-fit: contain;
    border-radius: 4px;
    pointer-events: none;
}
.thorlar-zoom-close {
    position: fixed;
    top: 20px; right: 24px;
    background: rgba(255,255,255,.15);
    border: none; color: #fff;
    width: 44px; height: 44px; border-radius: 50%;
    font-size: 22px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s;
}
.thorlar-zoom-close:hover { background: rgba(255,255,255,.3); }

/* ── WC Description in Accordion ──────────────────────── */
/* WooCommerce description already outputs semantic HTML.
   Style its lists/paragraphs to match our accordion body */
.thorlar-acc-body > ul,
.thorlar-acc-body .woocommerce-product-details__short-description ul,
.thorlar-acc-body .entry-content ul {
    list-style: none !important;
    padding-left: 0 !important;
    margin-bottom: 12px;
}
.thorlar-acc-body > ul > li,
.thorlar-acc-body .woocommerce-product-details__short-description li,
.thorlar-acc-body .entry-content li {
    padding: 6px 0 6px 22px !important;
    position: relative;
}
.thorlar-acc-body > ul > li::before,
.thorlar-acc-body .woocommerce-product-details__short-description li::before,
.thorlar-acc-body .entry-content li::before {
    content: '•' !important;
    position: absolute;
    left: 6px;
    font-weight: 700;
    /* colour inherited from bullet_color control */
}
.thorlar-acc-body > p,
.thorlar-acc-body .woocommerce-product-details__short-description p {
    margin-bottom: 12px;
    line-height: 1.8;
}

/* ── Star Rating Picker (Review Form) ─────────────────── */
.thorlar-star-rating-input {
    margin-bottom: 20px;
}
.thorlar-star-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 10px;
    color: #1a1a1a;
}
.thorlar-star-required { color: #EF4444; }
.thorlar-stars-picker {
    display: flex;
    flex-direction: row-reverse; /* right-to-left for CSS hover trick */
    justify-content: flex-end;
    gap: 4px;
    margin-bottom: 8px;
}
.thorlar-stars-picker .star {
    font-size: 36px;
    color: #d1d5db;
    cursor: pointer;
    transition: color .15s, transform .15s;
    user-select: none;
    line-height: 1;
    display: inline-block;
}
/* Hover: colour this star AND all stars to its right (which are earlier in DOM = higher value) */
.thorlar-stars-picker .star:hover,
.thorlar-stars-picker .star:hover ~ .star,
.thorlar-stars-picker .star.filled,
.thorlar-stars-picker .star.filled ~ .star {
    color: #FFA500;
}
.thorlar-stars-picker .star:hover { transform: scale(1.2); }
.thorlar-star-selected-text {
    font-size: 12px;
    color: #666;
    display: block;
    min-height: 18px;
}
/* Hide WooCommerce's default select rating field — we replace it visually */
.thorlar-rv-form-wrap .comment-form-rating select,
.thorlar-rv-form-wrap .comment-form-rating .stars,
.thorlar-rv-form-wrap .woocommerce-review-rating { display: none !important; }

/* ── Suppress WC injected "View cart" link inside Product Main widget ── */
.elementor-widget-thorlar-product-main .added_to_cart.wc-forward,
.thorlar-pm-info .added_to_cart.wc-forward,
.thorlar-pt-purchase ~ .added_to_cart.wc-forward {
    display: none !important;
}

/* ==========================================================
   SHOP PAGE WIDGETS — built by drino
========================================================== */

/* ── Shop Hero ─────────────────────────────────────────── */
.thorlar-shop-hero { box-sizing: border-box; }
.thorlar-shop-hero-inner { max-width: 1400px; margin: 0 auto; }
.thorlar-shop-hero-title { line-height: 1.2; }
.thorlar-shop-hero-desc  { line-height: 1.7; }
.thorlar-shop-count strong { font-weight: 700; }

/* ── Shop Grid Layout ──────────────────────────────────── */
.thorlar-shop-section { box-sizing: border-box; }
.thorlar-shop-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
}
.thorlar-shop-no-sidebar { grid-template-columns: 1fr; }

/* ── Mobile Filter Button ──────────────────────────────── */
.thorlar-mobile-filter-btn {
    display: none;
    width: 100%;
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    font-family: inherit;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}
.thorlar-filter-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
}
.thorlar-filter-overlay.active { display: block; }

/* ── Sidebar ───────────────────────────────────────────── */
.thorlar-sg-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}
.thorlar-filter-close {
    display: none;
    width: 100%;
    padding: 12px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    margin-bottom: 20px;
    cursor: pointer;
    font-family: inherit;
}
.thorlar-filter-section {
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid #e5e5e5;
}
.thorlar-filter-section:last-of-type { border-bottom: none; }
.thorlar-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    cursor: pointer;
    user-select: none;
}
.thorlar-filter-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}
.thorlar-filter-toggle { font-size: 14px; transition: transform .3s; color: #888; }
.thorlar-filter-section.collapsed .thorlar-filter-toggle { transform: rotate(180deg); }
.thorlar-filter-content { overflow: hidden; transition: max-height .3s ease; }
.thorlar-filter-section.collapsed .thorlar-filter-content { max-height: 0 !important; }

/* Category list */
.thorlar-filter-cat-list { list-style: none; padding: 0; margin: 0; }
.thorlar-filter-cat-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 8px 0; cursor: pointer; transition: color .2s; font-size: 14px;
}
.thorlar-filter-cat-item:hover { color: #FF8C42; }
.thorlar-filter-cat-item.active { color: #FF8C42; font-weight: 600; }
.thorlar-cat-count { font-size: 12px; color: #888; }

/* Price range */
.thorlar-price-track {
    position: relative; height: 6px;
    background: #e5e5e5; border-radius: 3px;
    margin: 20px 0 8px;
}
.thorlar-price-progress {
    position: absolute; height: 100%;
    background: #FF8C42; border-radius: 3px;
}
.thorlar-price-inputs { position: relative; height: 0; }
.thorlar-range-min,
.thorlar-range-max {
    -webkit-appearance: none; appearance: none;
    position: absolute; width: 100%; height: 6px;
    background: transparent; pointer-events: none;
    top: -19px; left: 0;
}
.thorlar-range-min::-webkit-slider-thumb,
.thorlar-range-max::-webkit-slider-thumb {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 20px !important;
    height: 20px !important;
    background: #FF8C42 !important;
    background-color: #FF8C42 !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    border: 3px solid #fff !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.25) !important;
}
.thorlar-range-min::-moz-range-thumb,
.thorlar-range-max::-moz-range-thumb {
    width: 20px !important;
    height: 20px !important;
    background: #FF8C42 !important;
    background-color: #FF8C42 !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    border: 3px solid #fff !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.25) !important;
}
.thorlar-price-values {
    display: flex; justify-content: space-between;
    margin-top: 16px; font-size: 13px; font-weight: 600;
}
.thorlar-price-apply {
    width: 100%; margin-top: 12px;
    padding: 8px; background: #FF8C42; color: #fff;
    border: none; border-radius: 6px;
    font-weight: 600; cursor: pointer; font-family: inherit;
    font-size: 13px;
}
.thorlar-price-apply:hover { background: #E67A2E; }

/* Sizes */
.thorlar-filter-sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.thorlar-filter-size {
    padding: 8px 14px; border: 2px solid #e5e5e5;
    background: #fff; border-radius: 6px;
    font-weight: 600; font-size: 13px; cursor: pointer;
    transition: all .2s; font-family: inherit;
}
.thorlar-filter-size:hover { border-color: #FF8C42; }
.thorlar-filter-size.active { border-color: #FF8C42; background: #FF8C42; color: #fff; }

/* Colors */
.thorlar-filter-colors { display: flex; flex-wrap: wrap; gap: 10px; }
.thorlar-filter-color {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
    border: 3px solid transparent !important;
    cursor: pointer !important;
    transition: all .2s;
    position: relative;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    display: inline-block !important;
}
.thorlar-filter-color:hover  { transform: scale(1.1); border-color: #888; }
.thorlar-filter-color.active { border-color: #FF8C42; }
.thorlar-filter-color.active::after {
    content: '✓'; position: absolute;
    top: 50%; left: 50%; transform: translate(-50%,-50%);
    color: #fff; font-weight: 700; font-size: 14px;
    text-shadow: 0 1px 2px rgba(0,0,0,.4);
}

/* Rating */
.thorlar-filter-ratings { display: flex; flex-direction: column; gap: 8px; }
.thorlar-filter-rating-item {
    display: flex; align-items: center; gap: 8px;
    cursor: pointer; padding: 6px; border-radius: 6px; font-size: 14px;
}
.thorlar-filter-rating-item:hover { background: #f8f8f8; }
.thorlar-rating-up { color: #888; font-size: 13px; }

/* Sale toggle */
.thorlar-sg-toggle {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px; border-radius: 8px;
    background: #f8f8f8; cursor: pointer;
    font-weight: 600; font-size: 14px;
}
.thorlar-sg-switch {
    width: 46px; height: 24px; background: #e5e5e5;
    border-radius: 12px; position: relative; transition: background .3s;
    flex-shrink: 0;
}
.thorlar-sg-switch-dot {
    width: 18px; height: 18px; background: #fff;
    border-radius: 50%; position: absolute;
    top: 3px; left: 3px; transition: transform .3s;
    box-shadow: 0 2px 4px rgba(0,0,0,.2);
}
.thorlar-sg-toggle.active .thorlar-sg-switch { background: #FF8C42; }
.thorlar-sg-toggle.active .thorlar-sg-switch-dot { transform: translateX(22px); }

/* Clear button */
.thorlar-clear-filters {
    width: 100%; padding: 10px 12px;
    background: transparent; border: 2px solid #e5e5e5;
    color: #888; font-weight: 600; cursor: pointer;
    border-radius: 8px; transition: all .2s;
    font-family: inherit; font-size: 14px;
    margin-top: 8px;
}
.thorlar-clear-filters:hover { border-color: #FF8C42; color: #FF8C42; }

/* ── Toolbar ────────────────────────────────────────────── */
.thorlar-sg-toolbar {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 28px; padding-bottom: 18px;
    border-bottom: 1px solid #e5e5e5;
    flex-wrap: wrap; gap: 12px;
}
.thorlar-sg-count { font-size: 14px; color: #666; }
.thorlar-sg-count strong { color: #000; font-weight: 700; }
.thorlar-sg-toolbar-right { display: flex; gap: 12px; align-items: center; }
.thorlar-sg-view-switcher {
    display: flex; gap: 4px;
    border: 2px solid #e5e5e5; border-radius: 8px; padding: 3px;
}
.thorlar-sg-view-btn {
    width: 34px !important; height: 34px !important;
    border: none !important;
    background: transparent !important;
    background-color: transparent !important;
    cursor: pointer !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    transition: background .2s, color .2s;
    display: flex !important; align-items: center !important; justify-content: center !important;
    font-size: 16px !important;
    color: #555 !important;
    padding: 0 !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    line-height: 1 !important;
}
/* Hover: keep icon visible — explicit color so Astra can't override */
.thorlar-sg-view-btn:hover {
    background: #f8f8f8 !important;
    background-color: #f8f8f8 !important;
    color: #333 !important;
}
.thorlar-sg-view-btn.active {
    background: #FF8C42 !important;
    background-color: #FF8C42 !important;
    color: #fff !important;
}
.thorlar-sg-view-btn.active:hover {
    background: #FF8C42 !important;
    color: #fff !important;
}
.thorlar-sg-sort {
    padding: 8px 14px; border: 2px solid #e5e5e5;
    border-radius: 8px; background: #fff;
    font-family: inherit; font-size: 14px; font-weight: 600;
    cursor: pointer; transition: border-color .2s;
}
.thorlar-sg-sort:hover { border-color: #FF8C42; }
.thorlar-sg-sort-form { display: flex; }

/* ── Product Grid ───────────────────────────────────────── */
.thorlar-sg-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* gap is owned entirely by Elementor Cards Gap control — no hardcoded value */
}
.thorlar-sg-card {
    background: #fff; border: 1px solid #e5e5e5;
    border-radius: 12px; overflow: hidden;
    transition: all .3s; position: relative;
    display: flex;
    flex-direction: column;
}
.thorlar-sg-card:hover { transform: translateY(-4px); }
.thorlar-sg-img-link { display: block; text-decoration: none; }
.thorlar-sg-img-wrap {
    position: relative; width: 100%;
    padding-top: 133%; background: #f8f8f8; overflow: hidden;
}
.thorlar-sg-img {
    position: absolute !important; top: 0 !important; left: 0 !important;
    width: 100% !important; height: 100% !important;
    object-fit: cover !important; display: block !important;
    transition: transform .5s;
}
.thorlar-sg-card:hover .thorlar-sg-img { transform: scale(1.06); }
.thorlar-sg-badge {
    position: absolute; top: 12px; left: 12px; z-index: 2;
    padding: 5px 10px; font-size: 11px; font-weight: 700;
    text-transform: uppercase; border-radius: 4px; color: #fff;
}
.thorlar-sg-badge.sale { background: #EF4444; }
.thorlar-sg-badge.new  { background: #10B981; }
.thorlar-sg-wishlist {
    position: absolute !important; top: 12px !important; right: 12px !important;
    width: 36px !important; height: 36px !important;
    border-radius: 50% !important; z-index: 4;
    display: flex !important; align-items: center !important; justify-content: center !important;
    cursor: pointer !important; transition: all .3s !important;
    opacity: 0; box-shadow: 0 2px 8px rgba(0,0,0,.15) !important;
}
.thorlar-sg-card:hover .thorlar-sg-wishlist { opacity: 1; }
.thorlar-sg-quickview {
    position: absolute; bottom: 12px; left: 12px; right: 12px; z-index: 2;
    padding: 10px; border: none; border-radius: 6px;
    font-weight: 600; cursor: pointer; font-family: inherit; font-size: 13px;
    opacity: 0; transform: translateY(8px); transition: all .3s;
}
.thorlar-sg-card:hover .thorlar-sg-quickview { opacity: 1; transform: translateY(0); }
.thorlar-sg-card-info {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1; /* card must be flex column too */
}
.thorlar-sg-cat { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: #888; margin-bottom: 6px; font-weight: 600; }
.thorlar-sg-title-link { text-decoration: none; }
.thorlar-sg-title { font-size: 15px; font-weight: 600; margin-bottom: 8px; line-height: 1.3; }
.thorlar-sg-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.thorlar-sg-stars { font-size: 12px; color: #FFA500; }
.thorlar-sg-rating-count { font-size: 12px; color: #888; }
.thorlar-sg-price {
    display: flex; align-items: baseline; gap: 8px;
    margin-bottom: 14px;
    margin-top: auto; /* push price+ATC to bottom */
}
.thorlar-sg-price-current { font-size: 20px; font-weight: 700; }
.thorlar-sg-price-old { font-size: 14px; color: #999; text-decoration: line-through; }
.thorlar-sg-atc {
    display: block; width: 100%; padding: 11px;
    border: none; border-radius: 6px;
    font-weight: 600; cursor: pointer;
    font-family: inherit; font-size: 14px; text-align: center;
    text-decoration: none; transition: all .2s;
    box-sizing: border-box;
    margin-top: 0;
}
.thorlar-sg-atc:hover { transform: translateY(-1px); }
.thorlar-sg-no-products { color: #888; font-style: italic; padding: 40px 0; }

/* ── Pagination ─────────────────────────────────────────── */
.thorlar-sg-pagination {
    display: flex; justify-content: center;
    align-items: center; gap: 8px;
    margin-top: 48px; padding-top: 32px;
    border-top: 1px solid #e5e5e5;
}
.thorlar-sg-page-btn {
    min-width: 42px; height: 42px; padding: 0 14px;
    border: 2px solid #e5e5e5; background: #fff; color: #000;
    font-weight: 600; cursor: pointer; border-radius: 8px;
    transition: all .2s; font-family: inherit;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none; font-size: 14px;
}
.thorlar-sg-page-btn:hover { border-color: #FF8C42; color: #FF8C42; }
.thorlar-sg-page-btn.active { background: #FF8C42; border-color: #FF8C42; color: #fff; }
.thorlar-sg-page-disabled { opacity: .4; pointer-events: none; }

/* ── Shop Responsive ────────────────────────────────────── */
@media (max-width: 1024px) {
    .thorlar-shop-container { grid-template-columns: 240px 1fr; gap: 28px; }
    /* sg-grid columns on tablet: Elementor responsive CSS owns this — no override */
}
@media (max-width: 768px) {
    .thorlar-mobile-filter-btn { display: flex !important; }
    .thorlar-shop-container { grid-template-columns: 1fr !important; }
    .thorlar-sg-sidebar {
        position: fixed !important;
        top: 0 !important; left: -110% !important;
        width: 85% !important; max-width: 320px !important;
        height: 100vh !important; overflow-y: auto !important;
        background: #fff !important; z-index: 2000 !important;
        padding: 20px !important; transition: left .3s ease !important;
        box-shadow: 4px 0 20px rgba(0,0,0,.12) !important;
        top: 0 !important;
    }
    .thorlar-sg-sidebar.open { left: 0 !important; }
    .thorlar-filter-close { display: block !important; }
    .thorlar-sg-toolbar { flex-direction: column; align-items: stretch; }
    .thorlar-sg-toolbar-right { justify-content: space-between; width: 100%; }
    /* sg-grid columns on mobile: Elementor responsive CSS owns this — no override */
    .thorlar-sg-grid.thorlar-sg-cols-1 { grid-template-columns: 1fr !important; }
}
@media (max-width: 480px) {
    .thorlar-sg-view-switcher { display: none; }
}

/* ==========================================================
   CONTACT PAGE WIDGETS — built by drino
========================================================== */

/* ── Contact Hero ───────────────────────────────────────── */
.thorlar-ch-wrap { position: relative; overflow: hidden; background-size: cover !important; background-position: center !important; }
.thorlar-ch-inner { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.thorlar-ch-title { line-height: 1.2; margin: 0 0 20px; }
.thorlar-ch-subtitle { line-height: 1.7; margin: 0; }

/* ── Contact Methods ────────────────────────────────────── */
.thorlar-cm-wrap { box-sizing: border-box; }
.thorlar-cm-inner { max-width: 1400px; margin: 0 auto; }
.thorlar-cm-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; }
.thorlar-cm-card {
    background: #f8f8f8; border-radius: 16px;
    padding: 40px 32px; text-align: center;
    border: 2px solid transparent;
    transition: transform .3s, border-color .3s, background .3s, box-shadow .3s;
}
.thorlar-cm-card:hover { transform: translateY(-8px); border-color: #FF8C42; background: #fff; box-shadow: 0 12px 32px rgba(0,0,0,.08); }
.thorlar-cm-icon { width: 72px; height: 72px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; font-size: 28px; }
.thorlar-cm-title { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: #000; }
.thorlar-cm-info  { font-size: 15px; color: #666; margin-bottom: 8px; }
.thorlar-cm-link  { color: #FF8C42; text-decoration: none; font-weight: 600; transition: color .2s; }
.thorlar-cm-link:hover { color: #E67A2E; text-decoration: underline; }
@media (max-width: 1024px) { .thorlar-cm-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px)  { .thorlar-cm-grid { grid-template-columns: 1fr; } }

/* ── Contact Form Section ───────────────────────────────── */
.thorlar-cfs-wrap { box-sizing: border-box; }
.thorlar-cfs-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; max-width: 1200px; margin: 0 auto; align-items: start; }
.thorlar-cfs-title    { font-size: 36px; font-weight: 700; margin-bottom: 16px; }
.thorlar-cfs-subtitle { font-size: 16px; line-height: 1.8; margin-bottom: 32px; }
.thorlar-cfs-info-list { list-style: none; padding: 0; margin: 0; }
.thorlar-cfs-info-item { display: flex; align-items: flex-start; gap: 16px; padding: 18px 0; border-bottom: 1px solid #e5e5e5; }
.thorlar-cfs-info-item:last-child { border-bottom: none; }
.thorlar-cfs-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.thorlar-cfs-item-title { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.thorlar-cfs-item-desc  { font-size: 14px; color: #666; line-height: 1.6; }
.thorlar-cfs-form-box   { background: #fff; padding: 48px; border-radius: 16px; box-shadow: 0 8px 32px rgba(0,0,0,.08); }
@media (max-width: 1024px) { .thorlar-cfs-grid { grid-template-columns: 1fr !important; gap: 40px; } }
@media (max-width: 768px)  { .thorlar-cfs-grid { grid-template-columns: 1fr !important; gap: 24px; } }
@media (max-width: 600px)  { .thorlar-cfs-form-box { padding: 28px 20px; } }

/* ── Contact Map ────────────────────────────────────────── */
.thorlar-cmap-wrap { box-sizing: border-box; }
.thorlar-cmap-header { margin-bottom: 40px; }
.thorlar-cmap-title    { font-size: 36px; font-weight: 700; margin-bottom: 12px; }
.thorlar-cmap-subtitle { font-size: 16px; color: #666; }
.thorlar-cmap-frame { width: 100%; height: 500px; border-radius: 16px; overflow: hidden; border: 2px solid #e5e5e5; }
.thorlar-cmap-frame iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ── Contact FAQ ────────────────────────────────────────── */
.thorlar-cfaq-wrap { box-sizing: border-box; }
.thorlar-cfaq-inner { max-width: 900px; margin: 0 auto; }
.thorlar-cfaq-header { margin-bottom: 48px; }
.thorlar-cfaq-section-title    { font-size: 36px; font-weight: 700; margin-bottom: 12px; }
.thorlar-cfaq-section-subtitle { font-size: 16px; color: #666; }
.thorlar-cfaq-item { background: #fff; margin-bottom: 16px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; transition: border-color .3s, background .3s; }
.thorlar-cfaq-item.active { border-color: #FF8C42; }
.thorlar-cfaq-question { display: flex; justify-content: space-between; align-items: center; padding: 24px 28px; cursor: pointer; user-select: none; }
.thorlar-cfaq-question h3 { font-size: 17px; font-weight: 600; color: #000; flex: 1; margin: 0; }
.thorlar-cfaq-icon { width: 32px; height: 32px; min-width: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; background: #f8f8f8; color: #666; margin-left: 16px; transition: all .3s; }
.thorlar-cfaq-item.active .thorlar-cfaq-icon { background: #FF8C42; color: #fff; transform: rotate(180deg); }
.thorlar-cfaq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.thorlar-cfaq-item.active .thorlar-cfaq-answer { max-height: 1000px; }
.thorlar-cfaq-answer-content { padding: 0 28px 28px; color: #666; line-height: 1.8; }

/* ==========================================================
   PARTNER PAGE WIDGETS — built by drino
========================================================== */

/* ── Partner Hero ───────────────────────────────────────── */
.thorlar-ph-wrap { position:relative; overflow:hidden; background-size:cover!important; background-position:center!important; }
.thorlar-ph-inner { position:relative; z-index:1; max-width:900px; margin:0 auto; }
.thorlar-ph-badge { display:inline-block; padding:10px 24px; background:rgba(255,255,255,.25); backdrop-filter:blur(10px); border-radius:30px; font-size:13px; font-weight:700; text-transform:uppercase; letter-spacing:2px; border:1px solid rgba(255,255,255,.3); color:#fff; }
.thorlar-ph-title { line-height:1.1; margin:0 0 24px; }
.thorlar-ph-subtitle { line-height:1.7; margin:0; }

/* ── Partner Trust ──────────────────────────────────────── */
.thorlar-pt-wrap { box-sizing:border-box; }
.thorlar-pt-inner { max-width:1200px; margin:0 auto; }
.thorlar-pt-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:32px; }
.thorlar-pt-card { border:2px solid #e5e5e5; border-radius:12px; padding:32px 24px; text-align:center; background:#fff; transition:all .3s; }
.thorlar-pt-card:hover { border-color:#FF8C42; transform:translateY(-4px); box-shadow:0 12px 40px rgba(0,0,0,.12); }
.thorlar-pt-icon { width:64px; height:64px; border-radius:50%; display:flex; align-items:center; justify-content:center; margin:0 auto 20px; }
.thorlar-pt-title { font-size:16px; font-weight:700; margin-bottom:8px; }
.thorlar-pt-text  { font-size:14px; color:#666; line-height:1.6; }
@media (max-width:1024px) { .thorlar-pt-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px)  { .thorlar-pt-grid { grid-template-columns:1fr; } }

/* ── Partner Intro ──────────────────────────────────────── */
.thorlar-pi-wrap { box-sizing:border-box; }
.thorlar-pi-inner { max-width:1000px; margin:0 auto; }
.thorlar-pi-title { line-height:1.2; margin-bottom:24px; }
.thorlar-pi-text  { font-size:18px; line-height:1.8; margin-bottom:16px; }
.thorlar-pi-box   { background:#fff; border-left:4px solid #FF8C42; border-radius:12px; padding:32px; margin-top:40px; text-align:left; }
.thorlar-pi-box-title { font-size:20px; font-weight:700; margin-bottom:16px; }
.thorlar-pi-list  { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; padding:0; margin:0; }
.thorlar-pi-item  { display:flex; align-items:flex-start; gap:12px; font-size:15px; padding:0; margin:0; }
.thorlar-pi-icon-default { color:#10B981; font-weight:700; font-size:18px; flex-shrink:0; }
@media (max-width:600px) { .thorlar-pi-list { grid-template-columns:1fr; } }

/* ── Partner Categories ─────────────────────────────────── */
.thorlar-pcat-wrap { box-sizing:border-box; }
.thorlar-pcat-inner { max-width:1400px; margin:0 auto; }
.thorlar-pcat-header { text-align:center; margin-bottom:60px; }
.thorlar-pcat-sec-title    { font-size:48px; font-weight:700; margin-bottom:16px; }
.thorlar-pcat-sec-subtitle { font-size:18px; color:#666; }
.thorlar-pcat-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:32px; }
.thorlar-pcat-card { position:relative; border-radius:16px; overflow:hidden; cursor:pointer; transition:all .4s; box-shadow:0 4px 20px rgba(0,0,0,.08); display:block; text-decoration:none; }
.thorlar-pcat-card:hover { transform:translateY(-8px); box-shadow:0 16px 48px rgba(0,0,0,.15); }
.thorlar-pcat-img-wrap { position:relative; width:100%; padding-top:120%; overflow:hidden; background:#f8f8f8; }
.thorlar-pcat-img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover!important; object-position:center center; transition:transform .6s; display:block!important; }
.thorlar-pcat-zoom:hover .thorlar-pcat-img { transform:scale(1.1); }
.thorlar-pcat-overlay { position:absolute; inset:0; background:linear-gradient(to bottom,rgba(0,0,0,.1) 0%,rgba(0,0,0,.7) 100%); display:flex; flex-direction:column; justify-content:flex-end; padding:28px; }
.thorlar-pcat-name { font-size:24px; font-weight:700; color:#fff; margin-bottom:6px; }
.thorlar-pcat-meta { font-size:14px; color:rgba(255,255,255,.9); margin:0; }
@media (max-width:1024px) { .thorlar-pcat-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px)  { .thorlar-pcat-grid { grid-template-columns:repeat(2,1fr); } }

/* ── Partner Products Grid ──────────────────────────────── */
.thorlar-ppg-wrap { box-sizing:border-box; }
.thorlar-ppg-inner { max-width:1400px; margin:0 auto; }
.thorlar-ppg-header { text-align:center; margin-bottom:48px; }
.thorlar-ppg-sec-title    { font-size:48px; font-weight:700; margin-bottom:16px; }
.thorlar-ppg-sec-subtitle { font-size:18px; color:#666; }
.thorlar-ppg-toolbar { display:flex; justify-content:space-between; align-items:center; margin-bottom:40px; padding:24px 32px; background:#fff; border-radius:12px; box-shadow:0 2px 12px rgba(0,0,0,.05); flex-wrap:wrap; gap:12px; overflow:visible; }
.thorlar-ppg-toolbar form { display:flex; }
.thorlar-ppg-count strong { font-weight:700; }
.thorlar-ppg-sort { padding:12px 20px; border:2px solid #e5e5e5; border-radius:8px; background:#fff; font-family:inherit; font-size:14px; font-weight:600; cursor:pointer; min-width:200px; transition:border-color .2s; max-width:100%; box-sizing:border-box; }
.thorlar-ppg-sort:focus { outline:none; border-color:#FF8C42; }
.thorlar-ppg-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:28px; }
.thorlar-ppg-card { background:#fff; border:1px solid #e5e5e5; border-radius:12px; overflow:hidden; transition:all .3s; display:flex; flex-direction:column; }
.thorlar-ppg-card:hover { transform:translateY(-6px); box-shadow:0 12px 32px rgba(0,0,0,.12); border-color:#FF8C42; }
.thorlar-ppg-card:hover .thorlar-ppg-img  { transform:scale(1.1); }
.thorlar-ppg-card:hover .thorlar-ppg-qv   { opacity:1; transform:translateY(0); }
.thorlar-ppg-card:hover .thorlar-ppg-wishlist { opacity:1!important; }
.thorlar-ppg-img-outer { position:relative; }
.thorlar-ppg-info  { padding:24px; flex:1; display:flex; flex-direction:column; }
.thorlar-ppg-cat   { font-size:12px; color:#8B5CF6; text-transform:uppercase; letter-spacing:1px; margin-bottom:8px; font-weight:700; }
.thorlar-ppg-title { font-size:17px; font-weight:600; margin-bottom:10px; line-height:1.4; color:#000; }
.thorlar-ppg-rating { margin-bottom:12px; }
.thorlar-ppg-stars { font-size:13px; color:#FFA500; }
.thorlar-ppg-rating-count { font-size:12px; color:#888; }
.thorlar-ppg-price { display:flex; align-items:baseline; gap:10px; margin:auto 0 16px; }
.thorlar-ppg-price-current { font-size:22px; font-weight:700; }
.thorlar-ppg-price-old { font-size:16px; color:#999; text-decoration:line-through; }
.thorlar-ppg-atc { display:block; width:100%; text-align:center; text-decoration:none; border:none; font-family:inherit; cursor:pointer; box-sizing:border-box; transition:all .3s; background:#FF8C42; color:#fff; padding:14px; border-radius:8px; font-weight:700; font-size:14px; text-transform:uppercase; }
.thorlar-ppg-atc:hover { transform:translateY(-2px); }
@media (max-width:1024px) { .thorlar-ppg-grid { grid-template-columns:repeat(3,1fr); } }
@media (max-width:768px)  { .thorlar-ppg-grid { grid-template-columns:repeat(2,1fr); gap:16px; } .thorlar-ppg-toolbar { flex-direction:column; align-items:stretch; } }

/* ==========================================================
   ABOUT PAGE WIDGETS
========================================================== */
.thorlar-ah-wrap,.thorlar-ah-inner { box-sizing:border-box; }
.thorlar-ah-badge { display:inline-block; padding:10px 24px; border-radius:30px; font-size:13px; font-weight:700; text-transform:uppercase; letter-spacing:2px; border:1px solid; backdrop-filter:blur(10px); margin-bottom:28px; }
.thorlar-ah-title { line-height:1.15; margin-bottom:24px; }
.thorlar-ah-subtitle { line-height:1.7; max-width:700px; margin-left:auto; margin-right:auto; }

/* Stats */
.thorlar-as-wrap,.thorlar-as-inner { box-sizing:border-box; }
.thorlar-as-grid { display:grid; grid-template-columns:repeat(4,1fr); }
.thorlar-as-item { padding:20px; }
.thorlar-as-number { display:block; font-size:48px; font-weight:800; color:#FF8C42; margin-bottom:8px; }
.thorlar-as-label  { display:block; font-size:16px; color:#666; font-weight:500; }
@media(max-width:1024px){ .thorlar-as-grid{ grid-template-columns:repeat(4,1fr); } }
@media(max-width:768px)  { .thorlar-as-grid{ grid-template-columns:repeat(2,1fr); } }

/* Story */
.thorlar-astory-wrap,.thorlar-astory-inner{ box-sizing:border-box; }
.thorlar-astory-grid{ display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:80px; }
.thorlar-astory-label{ font-size:14px; font-weight:700; text-transform:uppercase; letter-spacing:1px; color:#FF8C42; margin-bottom:12px; }
.thorlar-astory-title{ margin-bottom:24px; }
.thorlar-astory-body p{ margin-bottom:16px; line-height:1.8; }
.thorlar-astory-img-wrap{ padding-top:100%; position:relative; }
@media(max-width:768px){ .thorlar-astory-grid{ grid-template-columns:1fr; } }

/* Mission & Vision */
.thorlar-amv-wrap,.thorlar-amv-inner{ box-sizing:border-box; }
.thorlar-amv-label{ font-size:13px; font-weight:700; text-transform:uppercase; letter-spacing:1px; color:#FF8C42; margin-bottom:12px; }
.thorlar-amv-title{ margin-bottom:0; }
.thorlar-amv-header{ margin-bottom:60px; }
.thorlar-amv-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:32px; }
.thorlar-amv-card{ border-radius:20px; background:#fff; padding:48px; transition:all .3s; }
.thorlar-amv-icon{ font-size:48px; margin-bottom:24px; }
.thorlar-amv-card-title{ margin-bottom:16px; }
.thorlar-amv-card-text{ line-height:1.8; }
@media(max-width:768px){ .thorlar-amv-grid{ grid-template-columns:1fr; } }

/* Values */
.thorlar-av-wrap,.thorlar-av-inner{ box-sizing:border-box; }
.thorlar-av-label{ font-size:13px; font-weight:700; text-transform:uppercase; letter-spacing:1px; color:#FF8C42; margin-bottom:12px; }
.thorlar-av-header{ margin-bottom:60px; }
.thorlar-av-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:32px; }
.thorlar-av-card{ background:#f8f8f8; border-radius:16px; padding:32px; transition:all .3s; }
.thorlar-av-icon{ margin-bottom:20px; font-size:32px; }
.thorlar-av-val-title{ margin-bottom:12px; }
@media(max-width:1024px){ .thorlar-av-grid{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:600px){ .thorlar-av-grid{ grid-template-columns:1fr; } }

/* Timeline */
.thorlar-atl-wrap,.thorlar-atl-inner{ box-sizing:border-box; }
.thorlar-atl-label{ font-size:13px; font-weight:700; text-transform:uppercase; letter-spacing:1px; color:#FF8C42; margin-bottom:12px; }
.thorlar-atl-header{ text-align:center; margin-bottom:60px; }
.thorlar-atl-list{ position:relative; padding-left:60px; }
.thorlar-atl-list::before{ content:''; position:absolute; left:20px; top:0; bottom:0; width:2px; background:#e5e5e5; /* override via Elementor "Line Color" control */ }
.thorlar-atl-item{ position:relative; margin-bottom:48px; }
.thorlar-atl-dot{ position:absolute; left:-40px; width:40px; height:40px; border-radius:50%; background:#FF8C42; color:#fff; display:flex; align-items:center; justify-content:center; font-size:16px; flex-shrink:0; }
.thorlar-atl-year{ font-size:13px; font-weight:700; color:#FF8C42; text-transform:uppercase; letter-spacing:1px; margin-bottom:8px; }
.thorlar-atl-item-title{ font-size:20px; font-weight:700; margin-bottom:10px; }
.thorlar-atl-item-text{ color:#555; line-height:1.7; }
@media(max-width:600px){ .thorlar-atl-list{ padding-left:40px; } .thorlar-atl-dot{ width:30px; height:30px; left:-30px; } }

/* Team */
.thorlar-ateam-wrap,.thorlar-ateam-inner{ box-sizing:border-box; }
.thorlar-ateam-label{ font-size:13px; font-weight:700; text-transform:uppercase; letter-spacing:1px; color:#FF8C42; margin-bottom:12px; }
.thorlar-ateam-header{ margin-bottom:60px; }
.thorlar-ateam-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:32px; }
.thorlar-ateam-member{ display:flex; flex-direction:column; }
.thorlar-ateam-avatar{ width:80px; height:80px; border-radius:50%; background:linear-gradient(135deg,#FF8C42,#8B5CF6); display:flex; align-items:center; justify-content:center; font-size:40px; margin-bottom:20px; }
.thorlar-ateam-name{ font-size:20px; font-weight:700; margin-bottom:6px; }
.thorlar-ateam-role{ font-size:14px; font-weight:600; color:#FF8C42; margin-bottom:12px; }
.thorlar-ateam-bio{ color:#555; line-height:1.7; }
.thorlar-ateam-cta h2{ font-size:40px; font-weight:700; margin-bottom:20px; }
.thorlar-ateam-cta p{ font-size:18px; line-height:1.7; }
.thorlar-ateam-cta-btn:hover{ opacity:.88; transform:translateY(-2px); }
@media(max-width:1024px){ .thorlar-ateam-grid{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:600px){ .thorlar-ateam-grid{ grid-template-columns:1fr; } }

/* ==========================================================
   ACCOUNT DASHBOARD WIDGET
========================================================== */
.thorlar-acc-wrap{ box-sizing:border-box; }
.thorlar-acc-wrapper{ display:grid; grid-template-columns:280px 1fr; gap:40px; align-items:start; }
.thorlar-acc-sidebar{ padding:32px; height:fit-content; position:sticky; top:40px; }
.thorlar-acc-sidebar .woocommerce-MyAccount-navigation ul{ list-style:none; padding:0; margin:0; }
.thorlar-acc-sidebar .woocommerce-MyAccount-navigation-link a{ display:flex; align-items:center; gap:10px; padding:12px 16px; border-radius:10px; text-decoration:none; font-weight:500; transition:all .2s; color:#1a1a1a; }
.thorlar-acc-sidebar .woocommerce-MyAccount-navigation-link.is-active a{ color:#FF8C42; background:rgba(255,140,66,0.1); }
.thorlar-acc-sidebar .woocommerce-MyAccount-navigation-link a:hover{ color:#FF8C42; background:rgba(255,140,66,0.06); }
.thorlar-acc-wrapper .woocommerce-MyAccount-content{ min-width:0; }
@media(max-width:968px){ .thorlar-acc-wrapper{ grid-template-columns:1fr !important; } .thorlar-acc-sidebar{ position:static; } }

/* ==========================================================
   COLLECTIONS PAGE WIDGETS
========================================================== */
/* Hero */
.thorlar-ch2-wrap,.thorlar-ch2-inner{ box-sizing:border-box; }
.thorlar-ch2-badge{ display:inline-block; padding:10px 24px; border-radius:30px; font-size:13px; font-weight:700; text-transform:uppercase; letter-spacing:2px; border:1px solid; backdrop-filter:blur(10px); margin-bottom:24px; }
.thorlar-ch2-title{ line-height:1.1; margin-bottom:20px; }
.thorlar-ch2-desc{ line-height:1.7; margin-bottom:0; }
.thorlar-ch2-stat-item{ padding-right:48px; }
.thorlar-ch2-stat-item:last-child{ border-right:none; padding-right:0; }
.thorlar-ch2-stat-number{ display:block; font-size:36px; font-weight:800; color:#fff; margin-bottom:6px; }
.thorlar-ch2-stat-label{ display:block; font-size:14px; color:rgba(255,255,255,0.8); }
@media(max-width:600px){ .thorlar-ch2-stats{ gap:24px !important; } .thorlar-ch2-stat-item{ border-right:none!important; padding-right:0; } }

/* Collections Grid */
.thorlar-cg-wrap,.thorlar-cg-inner{ box-sizing:border-box; }
.thorlar-cg-header{ text-align:center; margin-bottom:60px; }
.thorlar-cg-sec-title{ margin-bottom:16px; }
.thorlar-cg-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:32px; }
.thorlar-cg-card{ border-radius:16px; overflow:hidden; cursor:pointer; transition:all .4s; box-shadow:0 4px 20px rgba(0,0,0,.08); }
.thorlar-cg-card:hover{ transform:translateY(-8px); box-shadow:0 16px 48px rgba(0,0,0,.15); }
.thorlar-cg-card:hover .thorlar-cg-img{ transform:scale(1.08); }
.thorlar-cg-img-wrap{ position:relative; width:100%; padding-top:130%; overflow:hidden; background:#f8f8f8; }
.thorlar-cg-overlay{ position:absolute; inset:0; background:linear-gradient(to bottom,rgba(0,0,0,.1) 0%,rgba(0,0,0,.75) 100%); display:flex; flex-direction:column; justify-content:space-between; }
.thorlar-cg-status{ display:inline-block; padding:6px 14px; border-radius:20px; font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:1px; background:rgba(255,255,255,.2); color:#fff; align-self:flex-start; margin:16px 0 0 16px; }
.thorlar-cg-status.coming-soon{ background:rgba(139,92,246,.9); }
.thorlar-cg-info{ padding:0 28px 28px; }
.thorlar-cg-name{ font-size:24px; font-weight:700; color:#fff; margin-bottom:8px; }
.thorlar-cg-desc{ font-size:14px; color:rgba(255,255,255,.85); margin-bottom:16px; line-height:1.5; }
.thorlar-cg-meta{ display:flex; gap:16px; flex-wrap:wrap; margin-bottom:20px; }
.thorlar-cg-meta-item{ font-size:13px; color:rgba(255,255,255,.8); }
.thorlar-cg-btn{ display:inline-block; padding:12px 24px; background:#FF8C42; color:#fff; border-radius:8px; font-weight:700; font-size:14px; text-decoration:none; transition:all .2s; border:none; cursor:pointer; font-family:inherit; }
.thorlar-cg-btn:hover{ background:#E67A2E; transform:translateY(-2px); }
@media(max-width:1200px){ .thorlar-cg-grid{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:600px){ .thorlar-cg-grid{ grid-template-columns:1fr; } }

/* ============ CATEGORY SUBCATEGORIES ============ */
.thorlar-catsub-card{ transition:all .3s; }
.thorlar-catsub-card:hover{ transform:translateY(-4px); }

/* ============ CATEGORY PRODUCTS GRID ============ */
.thorlar-cpg-card{ border:1px solid #e5e5e5; }
.thorlar-cpg-card:hover{ transform:translateY(-6px); box-shadow:0 12px 32px rgba(0,0,0,.12); }
.thorlar-cpg-card:hover .thorlar-cpg-wishlist{ opacity:1; }
.thorlar-cpg-card:hover .thorlar-cpg-qv{ opacity:1; transform:translateY(0); }
.thorlar-cpg-card:hover img{ transform:scale(1.1); }
.thorlar-cpg-wishlist:hover{ background:#FF8C42 !important; color:#fff !important; transform:scale(1.15); }
.thorlar-cpg-wishlist.active{ opacity:1 !important; }
.thorlar-cpg-wishlist.active svg path{ fill:#EF4444 !important; stroke:#EF4444 !important; }
.thorlar-cpg-qv:hover{ background:#FF8C42 !important; }
.thorlar-cpg-sort:hover{ border-color:#FF8C42; }
.thorlar-cpg-page-btn.current{ background:#FF8C42; border-color:#FF8C42; color:#fff; }
@media(max-width:768px){
    .thorlar-cpg-toolbar{ flex-direction:column; align-items:stretch; }
    .thorlar-cpg-sort{ width:100%; min-width:auto; }
}

/* ============ CART PAGE STEPS ============ */
.thorlar-cart-steps{ background:#fff; }
@media(max-width:600px){
    .thorlar-cart-steps > div{ flex-direction:column; gap:16px !important; }
    .thorlar-cart-steps span[style*="color:#ccc"]{ display:none; }
}

/* ============ WISHLIST PAGE SHARE ============ */
.thorlar-wl-share-btn:hover{ transform:scale(1.1); }
.thorlar-wl-stats{ padding-bottom:16px; }


/* ============ WISHLIST BUTTON (SVG heart — all grids + product page) ============ */
.thorlar-product-wishlist{ position:absolute; top:12px; right:12px; width:40px; height:40px; background:rgba(255,255,255,.95); border:none; border-radius:50%; display:flex; align-items:center; justify-content:center; cursor:pointer; z-index:5; transition:all .3s; box-shadow:0 2px 8px rgba(0,0,0,.1); color:#333; padding:0; }
.thorlar-product-wishlist:hover{ background:#FF8C42; color:#fff; transform:scale(1.1); }
.thorlar-product-wishlist:hover svg{ stroke:#fff; }
.thorlar-product-wishlist.active svg{ fill:#EF4444; stroke:#EF4444; }
.thorlar-product-wishlist .thorlar-wishlist-icon{ display:block; pointer-events:none; }

/* Size button base styles */
.thorlar-size-opt{ font-family:inherit; color:#1a1a1a; background:#fff; border:2px solid #e5e5e5; -webkit-appearance:none; appearance:none; box-shadow:none; border-radius:4px; padding:10px 18px; min-width:52px; font-size:14px; font-weight:600; cursor:pointer; line-height:1.4; transition:all .2s; }
.thorlar-size-opt:hover{ border-color:#FF8C42; }
.thorlar-size-opt.active{ background:#FF8C42 !important; border-color:#FF8C42 !important; color:#fff !important; }


/* ============ CART PAGE — WooCommerce override specificity ============ */
.thorlar-cart-wrap .woocommerce table.shop_table td.product-name a{ transition:color .2s; }
.thorlar-cart-wrap .woocommerce .cart_totals h2{ margin-bottom:20px; }
.thorlar-cart-wrap .woocommerce .cart_totals table th,
.thorlar-cart-wrap .woocommerce .cart_totals table td{ padding:16px 12px; }
.thorlar-cart-wrap .woocommerce .wc-proceed-to-checkout .checkout-button{ display:block; text-align:center; transition:all .3s; }
.thorlar-cart-wrap .woocommerce .coupon .button{ transition:all .3s; }
.thorlar-cart-wrap .woocommerce button[name="update_cart"]{ transition:all .3s; }

/* ============ PRODUCT MAIN — Purchase section (matching HTML design) ============ */
.thorlar-pt-purchase{ display:flex; gap:16px; align-items:stretch; }
.thorlar-pt-qty{ display:flex; border:2px solid #e5e5e5; border-radius:8px; overflow:hidden; background:#fff; }
.thorlar-qty-btn{ width:48px; height:56px; border:none; background:#f8f8f8; cursor:pointer; font-size:20px; transition:all .3s; font-family:inherit; color:#333; display:flex; align-items:center; justify-content:center; padding:0; -webkit-appearance:none; }
.thorlar-qty-btn:hover{ background:#FF8C42; color:#fff; }
.thorlar-qty-input{ width:60px; border:none; border-left:1px solid #e5e5e5; border-right:1px solid #e5e5e5; text-align:center; font-size:16px; font-weight:600; font-family:inherit; background:#fff; color:#333; -moz-appearance:textfield; -webkit-appearance:none; padding:0; }
.thorlar-qty-input::-webkit-inner-spin-button,
.thorlar-qty-input::-webkit-outer-spin-button{ -webkit-appearance:none; margin:0; }

/* Wishlist button on single product */
.thorlar-pm-wishlist{ position:absolute; top:20px; right:20px; width:48px; height:48px; background:rgba(255,255,255,.95); border:none; border-radius:50%; display:flex; align-items:center; justify-content:center; cursor:pointer; transition:all .3s; z-index:5; box-shadow:0 2px 12px rgba(0,0,0,.12); color:#333; }
.thorlar-pm-wishlist:hover{ background:#FF8C42; color:#fff; transform:scale(1.1); }
.thorlar-pm-wishlist:hover .thorlar-wishlist-icon{ stroke:#fff; }
.thorlar-pm-wishlist.active{ color:#EF4444; }
.thorlar-pm-wishlist.active .thorlar-wishlist-icon{ fill:#EF4444; stroke:#EF4444; }
.thorlar-wishlist-icon{ display:block; pointer-events:none; }
