/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/
Description: Hello Elementor Child Theme
Author: Vase Ime
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/



:root {
  --red: #E2231A; --red-dark: #B81B14; --ink: #0D0D0F; --surface-dark: #151417;
  --surface-light: #F6F5F3; --white: #FFFFFF; --line-dark: rgba(255,255,255,.10);
  --line-light: rgba(13,13,15,.10); --muted-dark: rgba(255,255,255,.62);
  --muted-light: rgba(13,13,15,.60); --font-display: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif; --container: 1240px; --radius: 18px; --ease: cubic-bezier(.22,.61,.36,1);
}

/* 1. OVERRIDE HELLO ELEMENTOR RESTRIKCIJA (Da se ne bi raspadalo) */
main.site-main { max-width: 100% !important; padding: 0 !important; margin: 0 !important; }
.page-header { display: none !important; }

/* 2. GLOBALNI DIZAJN SISTEM (Koristi klasu .custom-theme-wrapper za sve nove stranice) */
.custom-theme-wrapper {
  font-family: var(--font-body); color: var(--ink); background: var(--white);
  -webkit-font-smoothing: antialiased; width: 100%; overflow-x: hidden;
}
.custom-theme-wrapper img, .custom-theme-wrapper svg { display: block; max-width: 100%; }
.custom-theme-wrapper a { color: inherit; text-decoration: none; }
.custom-theme-wrapper ul { list-style: none; margin: 0; padding: 0; }
.custom-theme-wrapper button { font-family: inherit; cursor: pointer; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(24px,5vw,48px); width: 100%; box-sizing: border-box; }

.custom-theme-wrapper h1, .custom-theme-wrapper h2, .custom-theme-wrapper h3 { font-family: var(--font-display); margin: 0; letter-spacing: -0.01em; line-height: 1.05; }
.eyebrow { font-family: var(--font-body); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin: 0 0 12px; }

/* Dugmad */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 15px; border: 1px solid transparent; transition: transform .25s var(--ease),background .25s,border-color .25s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); }
.btn-lg { padding: 17px 30px; font-size: 16px; flex: 1 1 180px; }

/* Zvezdice */
.stars { position: relative; display: inline-block; font-size: 18px; color: #DCDAD5; letter-spacing: 2px; }
.stars::before { content: "★★★★★"; }
.stars::after { content: "★★★★★"; position: absolute; left: 0; top: 0; color: var(--red); width: var(--fill,96%); overflow: hidden; white-space: nowrap; }

/* 3. SINGLE PRODUCT SPECIFIČNI STILOVI */
.breadcrumb { display: flex; gap: 8px; align-items: center; padding: 18px 0; font-size: 13.5px; color: var(--muted-light); }

.product-hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,5vw,72px); padding: 8px 0 64px; align-items: start; }
@media (max-width:900px){ .product-hero{grid-template-columns:1fr;} }
.gallery-main { aspect-ratio: 1/1; border-radius: var(--radius); background: #FAFAF9; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line-light); overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 12px; margin-top: 14px; }
.thumb { width: 74px; height: 74px; border-radius: 12px; border: 2px solid var(--line-light); object-fit: cover; cursor: pointer; transition: border-color 0.3s; }
.thumb.active { border-color: var(--red); }

.buy-box .product-title { font-size: clamp(32px,3.6vw,44px); font-weight: 900; margin-bottom: 14px; color: var(--ink); }
.rating-row { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.rating-count { font-size: 14px; font-weight: 600; color: var(--muted-light); border-bottom: 1px solid transparent; transition: 0.3s; }
.rating-count:hover { color: var(--red); border-color: var(--red); }

.tagline { font-size: clamp(19px,2.1vw,24px); font-weight: 700; margin: 0 0 6px; }
.subtagline { color: var(--muted-light); font-size: 15.5px; margin: 0 0 26px; }

/* Cena */
.price-row { display: inline-flex; align-items: center; gap: 16px; margin-bottom: 18px; background: #faf9f7; padding: 16px 24px; border-radius: 12px; border: 1px solid var(--line-light); flex-wrap: wrap; }
.price-row .price { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.price-row .price del { font-size: 20px; color: var(--muted-light); font-weight: 600; text-decoration: line-through; }
.price-row .price ins { text-decoration: none; }
.price-row .price > span.woocommerce-Price-amount, .price-row .price ins span.woocommerce-Price-amount { font-family: var(--font-display); font-weight: 900; font-size: 36px; color: var(--red); line-height: 1; }
.price-note { font-size: 13px; color: var(--muted-light); font-weight: 500; max-width: 80px; line-height: 1.3; }

/* Zalihe */
.stock-badge { display: inline-flex; align-items: center; gap: 8px; background: #FFF1EE; color: var(--red-dark); font-weight: 700; font-size: 14px; padding: 10px 16px; border-radius: 999px; margin-bottom: 32px; border: 1px solid rgba(226, 35, 26, 0.15); }
.stock-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:.35;} }

/* Bullets */
.feature-bullets { margin: 0 0 45px; display: flex; flex-direction: column; gap: 12px; }
.feature-bullets li { display: flex; gap: 10px; font-size: 15px; color: var(--ink); font-weight: 500; }
.feature-bullets li::before { content: ""; flex: 0 0 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: var(--red); -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z"/></svg>') center/12px no-repeat; mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z"/></svg>') center/12px no-repeat; }

/* Količina i Korpa */
.qty-cta-row form.cart { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 14px; width: 100%; align-items: stretch; }
.qty-stepper { display: flex; align-items: center; border: 2px solid var(--line-light); border-radius: 999px; overflow: hidden; background: var(--surface-light); }
.qty-stepper button { width: 46px; height: 56px; background: transparent; border: 0; font-size: 20px; font-weight: 700; color: var(--ink); transition: 0.2s; }
.qty-stepper button:hover { background: #e8e6e1; }
.qty-stepper input { width: 44px; height: 56px; border: 0; background: transparent; text-align: center; font-weight: 800; font-size: 16px; color: var(--ink); }

/* Video Sekcija */
.video-section { background: var(--surface-dark); padding: 64px 0; color: var(--white); }
.video-section h2 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 34px; max-width: 640px; }
.video-wrap { max-width: 980px; margin: 0 auto; padding: 0 clamp(24px, 5vw, 48px); }
.video-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line-dark); background: #000; }
.video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* Specifikacije */
.spec-section { background: var(--ink); color: var(--white); padding: 72px 0; }
.spec-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px,4vw,60px); }
@media (max-width:860px){ .spec-grid{grid-template-columns:1fr;} }
.spec-photos { display: flex; flex-direction: column; gap: 16px; }
.spec-photo { aspect-ratio: 4/3; border-radius: 14px; background: linear-gradient(160deg, #222, #0c0c0d); display: flex; align-items: center; justify-content: center; border: 1px solid var(--line-dark); overflow: hidden; }
.spec-photo img { width: 100%; height: 100%; object-fit: cover; }
.spec-photo svg { width: 46%; }
.spec-table-wrap h2 { font-size: clamp(24px,2.6vw,30px); margin-bottom: 26px; }
.spec-row { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line-dark); font-size: 14.5px; }
.spec-row dt { color: var(--muted-dark); }
.spec-row dd { margin: 0; font-weight: 600; text-align: right;}

/* Features Grid */
.long-desc { padding: 84px 0; }
.long-desc h2 { font-size: clamp(26px,3vw,36px); margin-bottom: 16px; max-width: 680px; }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin: 42px 0; }
@media (max-width:760px){ .feature-grid{grid-template-columns:1fr 1fr;} }
@media (max-width:520px){ .feature-grid{grid-template-columns:1fr;} }
.feature-card { background: var(--surface-light); border-radius: 14px; padding: 24px; border: 1px solid var(--line-light); }
.feature-card .ico { width: 38px; height: 38px; border-radius: 10px; background: var(--ink); color: var(--red); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-weight: 800; font-size: 18px; }
.feature-card h3 { font-size: 15.5px; margin-bottom: 8px; font-weight: 700; }
.feature-card p { font-size: 13.8px; color: var(--muted-light); line-height: 1.55; margin: 0; }

.closing-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding-top: 32px; border-top: 1px solid var(--line-light); }
@media (max-width:700px){ .closing-blocks{grid-template-columns:1fr;} }

/* Infinite Marquee Recenzije */
.reviews-section { background: var(--surface-light); padding: 80px 0 64px; overflow: hidden; }
.reviews-summary { display: flex; flex-wrap: wrap; gap: 44px; align-items: center; margin-bottom: 50px; }
.summary-score { display: flex; align-items: center; gap: 16px; }
.score-num { font-family: var(--font-display); font-weight: 900; font-size: 54px; line-height: 1; }
.score-meta .score-count { display: block; font-size: 13px; color: var(--muted-light); margin-top: 4px; font-weight: 600;}

.marquee-wrapper { position: relative; width: 100vw; left: 50%; transform: translateX(-50%); display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); }
.marquee-track { display: flex; gap: 20px; padding: 10px 0; width: max-content; animation: scroll-marquee 40s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
@keyframes scroll-marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.review-card { width: 340px; flex-shrink: 0; background: var(--white); border: 1px solid var(--line-light); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 12px; white-space: normal; }
.review-meta { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 800; }
.review-meta .date { font-weight: 500; color: var(--muted-light); }
.verified { font-size: 11.5px; color: #1B8A4A; font-weight: 700; display: flex; gap: 5px; align-items: center; }
.verified::before { content: "✓"; }
.review-text { font-size: 14px; line-height: 1.6; color: var(--ink); margin: 0; }