*{box-sizing:border-box}html{font-family:Arial,sans-serif;color:#252525;background:#fff}body{margin:0}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}.container{width:min(1180px,calc(100% - 32px));margin:auto}
.site-header{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid #eee}.head{min-height:78px;display:flex;align-items:center;gap:24px}.brand img{display:block;max-height:62px;width:auto}.main-nav{margin-left:auto;display:flex;gap:20px;font-weight:700}.menu-toggle{display:none;margin-left:auto;border:0;background:none;font-size:27px}
.section{padding:40px 0}.section h1,.section h2{margin-top:0}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.card{border:1px solid #e7e7e7;border-radius:10px;overflow:hidden;background:#fff}.card img{width:100%;aspect-ratio:4/3;object-fit:contain;display:block;background:#fff;padding:6px}.card-body{padding:14px}.card h3{font-size:18px;margin:0 0 8px}.price{color:var(--primary);font-weight:700}.content{line-height:1.75}.content img{height:auto!important}.breadcrumbs{padding:18px 0;color:#666;font-size:14px}.detail{display:grid;grid-template-columns:1fr 1fr;gap:34px}.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.gallery-grid img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:8px}
.hero{padding:55px 35px;background:#f6f6f6;border-radius:12px}.policies{border-top:1px solid #eee;border-bottom:1px solid #eee;padding:24px 0}.policy-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.policy-grid div{display:flex;flex-direction:column;gap:5px}.policy-grid span{font-size:14px;color:#666}
.site-footer{background:#222;color:#eee;padding-top:36px}.footer-grid{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:30px}.footer-grid h3{color:#fff}.footer-grid a{display:block;color:#ddd;padding:5px 0}.copyright{text-align:center;border-top:1px solid #444;margin-top:30px;padding:18px}
@media(max-width:850px){.grid{grid-template-columns:repeat(2,1fr)}.detail,.footer-grid{grid-template-columns:1fr}.policy-grid{grid-template-columns:repeat(2,1fr)}.menu-toggle{display:block}.main-nav{display:none;position:absolute;left:0;right:0;top:78px;background:#fff;padding:15px 20px;flex-direction:column;border-bottom:1px solid #eee}.main-nav.open{display:flex}}
@media(max-width:520px){.grid,.gallery-grid,.policy-grid{grid-template-columns:1fr}.container{width:min(100% - 22px,1180px)}.section{padding:28px 0}}

.features-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.feature-item{text-align:center;padding:20px;border:1px solid #eee;border-radius:12px}.feature-item img{width:70px;height:70px;object-fit:contain}.home-slider{display:flex;overflow:auto;scroll-snap-type:x mandatory;gap:0;border-radius:12px}.home-slider .slide{min-width:100%;position:relative;scroll-snap-align:start}.home-slider img{display:block;width:100%;aspect-ratio:16/6;object-fit:cover}.home-slider span{position:absolute;left:20px;bottom:18px;background:rgba(0,0,0,.55);color:#fff;padding:8px 12px;border-radius:5px}.tab-buttons{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}.tab-button{border:1px solid #ddd;background:#fff;padding:9px 14px;border-radius:20px;cursor:pointer}.tab-button.active{background:var(--primary);color:#fff;border-color:var(--primary)}.tab-panel{display:none}.tab-panel.active{display:block}.fixed-contact{position:fixed;right:14px;bottom:20px;z-index:100;display:flex;flex-direction:column;gap:9px}.contact-btn{display:flex;align-items:center;gap:7px;background:#fff;border:1px solid #ddd;box-shadow:0 4px 14px rgba(0,0,0,.12);border-radius:24px;padding:8px 12px;font-weight:700}.contact-btn svg{width:22px;height:22px;fill:var(--primary)}.product-tags{display:flex;gap:7px;flex-wrap:wrap;margin-top:15px}.product-tags a{padding:5px 9px;background:#f1f3f5;border-radius:15px;font-size:13px}@media(max-width:850px){.features-grid{grid-template-columns:repeat(2,1fr)}.fixed-contact .contact-btn span{display:none}.contact-btn{padding:10px}}@media(max-width:520px){.features-grid{grid-template-columns:1fr}}

.footer-contact-list{display:flex;flex-direction:column;gap:9px}.footer-contact-row{display:flex;gap:8px;align-items:flex-start}.footer-contact-row svg{width:18px;height:18px;fill:currentColor;flex:0 0 18px;margin-top:2px}.social-icons{display:flex;gap:9px;flex-wrap:wrap;margin-top:16px}.social-icons a{display:grid!important;place-items:center;width:36px;height:36px;border:1px solid #555;border-radius:50%;padding:0!important}.social-icons svg{width:19px;height:19px;fill:currentColor}.rating-box{margin:8px 0 14px}.rating-summary{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.rating-stars{display:inline-flex;gap:1px}.star{position:relative;display:inline-block;width:16.2px;height:18px;font-size:17.1px;line-height:18px}.star-bg{color:#ddd;position:absolute;inset:0}.star-fill{color:#f5a623;position:absolute;left:0;top:0;overflow:hidden;white-space:nowrap}.rating-average{font-size:14px}.rating-count{font-size:12px;color:#777}.rating-action{display:flex;align-items:center;gap:3px;margin-top:7px;font-size:13px}.rate-star{border:0;background:none;color:#c8c8c8;font-size:21.6px;cursor:pointer;padding:0 1px}.rate-star:hover,.rate-star.hover{color:#f5a623}.rating-message{margin-left:8px;color:#087f5b}.card .rating-box{margin:4px 0 8px}.card .rating-action{display:none}.card .star{width:13.5px;font-size:14.4px;height:15.3px;line-height:15.3px}


/* V1.10 visual system */
:root{--surface:#fff;--soft:#f6f4f1;--ink:#171717;--muted:#6e6a65;--radius:18px;--shadow:0 18px 50px rgba(28,23,18,.10)}
html{scroll-behavior:smooth}body{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--ink);background:linear-gradient(180deg,#fff 0,#fbfaf8 100%);overflow-x:hidden}
.site-header{background:rgba(255,255,255,.86);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);box-shadow:0 8px 30px rgba(20,18,16,.045);transition:box-shadow .3s ease,background .3s ease}.site-header.is-scrolled{background:rgba(255,255,255,.96);box-shadow:0 10px 35px rgba(20,18,16,.10)}
.head{min-height:84px}.brand img{transition:transform .35s ease}.brand:hover img{transform:scale(1.025)}.main-nav a{position:relative;padding:31px 0;font-weight:650}.main-nav a:after{content:"";position:absolute;left:50%;right:50%;bottom:22px;height:2px;background:var(--primary);transition:left .25s ease,right .25s ease}.main-nav a:hover:after{left:0;right:0}
.section{padding:68px 0;position:relative}.section:nth-of-type(even){background:linear-gradient(180deg,rgba(245,242,238,.52),rgba(255,255,255,0))}.section h2{font-size:clamp(28px,3vw,42px);letter-spacing:-.035em;margin-bottom:28px}.section h2:after{content:"";display:block;width:52px;height:3px;border-radius:3px;background:var(--primary);margin-top:12px}
.hero{min-height:440px;padding:74px 64px;display:flex;flex-direction:column;justify-content:center;background-size:cover!important;background-position:center!important;border-radius:28px;box-shadow:var(--shadow);overflow:hidden;position:relative}.hero:after{content:"";position:absolute;width:300px;height:300px;border-radius:50%;right:-90px;top:-120px;background:radial-gradient(circle,rgba(255,255,255,.7),rgba(255,255,255,0));pointer-events:none}.hero h1{max-width:780px;font-size:clamp(38px,5vw,68px);line-height:1.03;letter-spacing:-.05em;margin:0 0 18px}.hero p{max-width:680px;font-size:18px;color:#4d4843}
.grid{gap:24px}.card{border:1px solid rgba(42,35,29,.08);border-radius:18px;box-shadow:0 8px 24px rgba(30,26,22,.055);transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s ease,border-color .35s ease;will-change:transform}.card:hover{transform:translateY(-7px);box-shadow:0 22px 52px rgba(30,26,22,.14);border-color:rgba(42,35,29,.14)}.card>a{display:block;height:100%}.card img{padding:10px;transition:transform .55s cubic-bezier(.2,.8,.2,1)}.card:hover img{transform:scale(1.035)}.card-body{padding:18px}.card h3{font-size:18px;line-height:1.4}.price{font-size:18px;margin-top:9px}
.features-grid{gap:24px}.feature-item{background:#fff;border:1px solid rgba(40,34,29,.08);border-radius:20px;padding:30px 22px;box-shadow:0 10px 28px rgba(25,22,18,.05);transition:transform .35s ease,box-shadow .35s ease}.feature-item:hover{transform:translateY(-6px);box-shadow:var(--shadow)}.feature-item img{transition:transform .5s ease}.feature-item:hover img{transform:translateY(-4px) rotate(-2deg) scale(1.06)}
.home-slider{border-radius:24px;box-shadow:var(--shadow);scrollbar-width:none}.home-slider::-webkit-scrollbar{display:none}.home-slider .slide{overflow:hidden}.home-slider img{aspect-ratio:16/6.2;transition:transform 6s ease}.home-slider .slide:hover img{transform:scale(1.035)}.home-slider span{left:34px;bottom:30px;padding:12px 18px;border-radius:999px;backdrop-filter:blur(8px);font-weight:700}
.tab-buttons{gap:10px;margin-bottom:28px}.tab-button{padding:11px 18px;border-radius:999px;transition:all .25s ease;box-shadow:0 3px 10px rgba(0,0,0,.03)}.tab-button:hover{transform:translateY(-2px);border-color:var(--primary)}.tab-button.active{box-shadow:0 8px 22px color-mix(in srgb,var(--primary) 25%,transparent)}.tab-panel.active{animation:tabReveal .38s ease both}@keyframes tabReveal{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.detail{gap:48px;align-items:start}.detail>div:first-child img{border-radius:22px;box-shadow:var(--shadow)}.content{font-size:16.5px;line-height:1.85}.content h2,.content h3{letter-spacing:-.02em}.content img{border-radius:14px}
.gallery-grid{gap:18px}.gallery-grid figure{margin:0;overflow:hidden;border-radius:16px;background:#fff;box-shadow:0 9px 28px rgba(25,22,18,.06)}.gallery-grid img{border-radius:0;transition:transform .45s ease}.gallery-grid figure:hover img{transform:scale(1.035)}.gallery-grid figcaption{padding:10px 12px;color:var(--muted)}
.policies{background:#fff;padding:32px 0}.policy-grid>div{padding:18px;border-radius:16px;transition:background .25s ease,transform .25s ease}.policy-grid>div:hover{background:var(--soft);transform:translateY(-3px)}
.site-footer{background:radial-gradient(circle at 10% 0,#35312e 0,#1d1c1b 44%,#111 100%);padding-top:54px}.footer-grid{gap:42px}.footer-grid h3{letter-spacing:.02em}.footer-grid a{transition:color .2s ease,transform .2s ease}.footer-grid a:hover{color:#fff;transform:translateX(4px)}
.contact-btn{transition:transform .25s ease,box-shadow .25s ease}.contact-btn:hover{transform:translateX(-4px) scale(1.03);box-shadow:0 12px 30px rgba(0,0,0,.17)}
.reveal{opacity:0;transform:translateY(24px);transition:opacity .7s ease,transform .7s cubic-bezier(.2,.8,.2,1)}.reveal.in-view{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}.reveal{opacity:1;transform:none}}
@media(max-width:850px){.section{padding:48px 0}.hero{min-height:360px;padding:46px 28px}.main-nav a{padding:10px 0}.site-header{backdrop-filter:none}.grid{gap:16px}}
@media(max-width:520px){.hero{min-height:310px;border-radius:18px}.hero h1{font-size:36px}.section{padding:38px 0}.section h2{font-size:29px}.card{border-radius:14px}}


.footer-contact-list{display:grid;gap:10px;margin:14px 0 18px}
.footer-contact-row{display:flex;align-items:flex-start;gap:10px;color:#d9dde3;line-height:1.5}
.footer-contact-row svg{width:19px;height:19px;min-width:19px;fill:currentColor;color:var(--primary);margin-top:2px}
.footer-contact-row b{color:#fff;font-weight:700}
.footer-contact-row a{color:#e9edf2;text-decoration:none;transition:color .2s ease}
.footer-contact-row a:hover{color:#fff}
.social-icons{display:flex;flex-wrap:wrap;gap:9px;margin-top:16px}
.social-icons a{width:38px;height:38px;border:1px solid rgba(255,255,255,.16);border-radius:50%;display:grid!important;place-items:center;background:rgba(255,255,255,.06);transition:transform .2s ease,background .2s ease,border-color .2s ease}
.social-icons a:hover{transform:translateY(-3px);background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.3)}
.social-icons svg{width:18px;height:18px;fill:#fff}


/* V1.14 configurable policy strip */
.policies{padding:26px 0;background:linear-gradient(180deg,#fff,#faf9f7)}
.policy-grid{gap:0}
.policy-item{display:grid!important;grid-template-columns:54px 1fr;align-items:center;gap:13px;padding:10px 22px;position:relative}
.policy-item:not(:last-child):after{content:"";position:absolute;right:0;top:18%;height:64%;width:1px;background:#e7e3dd}
.policy-visual{width:48px;height:48px;display:grid;place-items:center}
.policy-visual svg{width:34px;height:34px;fill:var(--primary)}
.policy-visual img{width:46px;height:46px;object-fit:contain}
.policy-item b{display:block;font-size:15px;margin-bottom:4px}
.policy-item span{display:block;font-size:13px;color:#777}

/* Home section headings */
.section-heading{text-align:center;max-width:760px;margin:0 auto 28px}
.section-heading .section-kicker{display:block;width:42px;height:2px;background:var(--primary);margin:0 auto 13px;transform-origin:center;transition:width .35s ease}
.section-heading:hover .section-kicker{width:72px}
.section-heading h2{font-size:clamp(26px,3vw,38px);letter-spacing:-.025em;margin:0}
.section-heading p{margin:9px auto 0;color:#737373;font-size:15px;line-height:1.7}

/* Artistic album listing */
.album-module-page,.album-category-page{overflow:hidden}
.album-page-heading{margin:10px 0 44px;position:relative}
.album-page-heading>span{display:block;font-size:11px;letter-spacing:.24em;font-weight:800;color:var(--primary);margin-bottom:10px}
.album-page-heading h1{font-size:clamp(34px,5vw,64px);letter-spacing:-.045em;line-height:1.02;max-width:900px}
.album-category-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:54px 0 22px;border-bottom:1px solid #ddd;padding-bottom:12px}
.album-category-heading h2{margin:0;font-size:clamp(23px,3vw,34px);font-weight:600;letter-spacing:-.025em}
.album-view-all{font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#777;transition:color .2s,transform .2s}
.album-view-all:hover{color:var(--primary);transform:translateX(4px)}

.album-showcase-grid{display:grid;grid-template-columns:repeat(12,1fr);gap:34px 24px}
.album-showcase-item{grid-column:span 4;min-width:0}
.album-showcase-item:nth-child(5n+1),.album-showcase-item:nth-child(5n+4){grid-column:span 5}
.album-showcase-item:nth-child(5n+2),.album-showcase-item:nth-child(5n+5){grid-column:span 3}
.album-showcase-item:nth-child(5n+3){grid-column:span 4}
.album-showcase-item a{display:block}
.album-showcase-media{position:relative;overflow:hidden;background:#ece9e4;isolation:isolate}
.album-showcase-media:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 48%,rgba(0,0,0,.42));opacity:.25;transition:opacity .45s ease}
.album-showcase-media img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block;transform:scale(1.001);transition:transform .8s cubic-bezier(.2,.75,.2,1),filter .45s ease}
.album-showcase-item:nth-child(5n+1) .album-showcase-media img,.album-showcase-item:nth-child(5n+4) .album-showcase-media img{aspect-ratio:5/4}
.album-index,.album-arrow{position:absolute;z-index:2;color:#fff;opacity:0;transition:all .35s ease}
.album-index{left:14px;top:13px;font-size:11px;letter-spacing:.16em}
.album-arrow{right:16px;top:12px;font-size:25px;transform:translate(-8px,8px)}
.album-showcase-caption{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;padding:13px 0 0;border-top:1px solid transparent}
.album-showcase-caption h3{font-size:17px;line-height:1.35;margin:0;font-weight:600;transition:color .25s ease}
.album-showcase-caption span{white-space:nowrap;font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:#999;margin-top:4px}
.album-showcase-item:hover .album-showcase-media img{transform:scale(1.055);filter:saturate(1.05) contrast(1.02)}
.album-showcase-item:hover .album-showcase-media:after{opacity:.6}
.album-showcase-item:hover .album-index,.album-showcase-item:hover .album-arrow{opacity:1}
.album-showcase-item:hover .album-arrow{transform:translate(0,0)}
.album-showcase-item:hover .album-showcase-caption h3{color:var(--primary)}

/* Album detail gallery - borderless editorial composition */
.gallery-grid{display:grid;grid-template-columns:repeat(12,1fr);gap:18px;margin-top:26px}
.gallery-grid figure{grid-column:span 4;margin:0;position:relative;overflow:hidden;background:#eee}
.gallery-grid figure:nth-child(7n+1),.gallery-grid figure:nth-child(7n+5){grid-column:span 7}
.gallery-grid figure:nth-child(7n+2),.gallery-grid figure:nth-child(7n+6){grid-column:span 5}
.gallery-grid img{width:100%;height:100%;min-height:270px;aspect-ratio:auto;object-fit:cover;border-radius:0!important;display:block;transition:transform .8s cubic-bezier(.2,.75,.2,1),filter .4s ease}
.gallery-grid figcaption{position:absolute;left:0;right:0;bottom:0;padding:36px 15px 13px;color:#fff;font-size:13px;background:linear-gradient(transparent,rgba(0,0,0,.62));opacity:0;transform:translateY(8px);transition:.35s ease}
.gallery-grid figure:hover img{transform:scale(1.045);filter:brightness(.9)}
.gallery-grid figure:hover figcaption{opacity:1;transform:none}

@media(max-width:900px){
 .policy-item{padding:10px 12px}
 .album-showcase-item,.album-showcase-item:nth-child(n){grid-column:span 6}
 .gallery-grid figure,.gallery-grid figure:nth-child(n){grid-column:span 6}
}
@media(max-width:560px){
 .policy-item:not(:last-child):after{display:none}
 .album-showcase-grid{gap:26px 0}
 .album-showcase-item,.album-showcase-item:nth-child(n){grid-column:1/-1}
 .gallery-grid{gap:10px}
 .gallery-grid figure,.gallery-grid figure:nth-child(n){grid-column:1/-1}
 .album-category-heading{align-items:flex-start;flex-direction:column}
}


/* V1.15 - Album list: equal frames, crop from LEFT/TOP */
.album-showcase-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:34px 24px;
}
.album-showcase-item,
.album-showcase-item:nth-child(n){
    grid-column:span 1;
    min-width:0;
}
.album-showcase-media{
    position:relative;
    width:100%;
    aspect-ratio:4/3;
    overflow:hidden;
    background:#ece9e4;
}
.album-showcase-media img,
.album-showcase-item:nth-child(n) .album-showcase-media img{
    display:block;
    width:100%;
    height:100%;
    aspect-ratio:auto;
    object-fit:cover;
    object-position:left top;
    padding:0;
    transform:scale(1.001);
    transition:transform .8s cubic-bezier(.2,.75,.2,1),filter .45s ease;
}
.album-showcase-item:hover .album-showcase-media img{
    transform:scale(1.045);
}
@media(max-width:900px){
    .album-showcase-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .album-showcase-item,.album-showcase-item:nth-child(n){grid-column:span 1}
}
@media(max-width:560px){
    .album-showcase-grid{grid-template-columns:1fr;gap:26px 0}
}

/* V1.16 - Home block heading separator: only one centered line between title and subtitle */
.section-heading .section-kicker{display:none!important}
.section-heading h2{margin:0!important}
.section-heading p{position:relative;margin:18px auto 0!important;padding-top:22px}
.section-heading p:before{content:"";position:absolute;top:0;left:50%;transform:translateX(-50%);width:46px;height:2px;background:var(--primary)}


/* V1.17 - exactly one centered separator for Home Block heading */
.section-heading h2:after{
    content:""!important;
    display:block!important;
    width:46px!important;
    height:2px!important;
    background:var(--primary)!important;
    margin:14px auto 0!important;
    border-radius:2px!important;
}
.section-heading h2 + p{
    padding-top:0!important;
    margin-top:12px!important;
}
.section-heading h2 + p:before{
    display:none!important;
    content:none!important;
}

/* V1.18 - Home slider larger and tighter to previous section */
.block-slider.section{padding-top:22px!important;padding-bottom:54px}
.block-slider .container{width:min(1280px,calc(100% - 24px))}
.home-slider{border-radius:20px}
.home-slider img{
    width:100%;
    aspect-ratio:16/5.6!important;
    min-height:420px;
    object-fit:cover;
    object-position:center;
}
@media(max-width:900px){
  .home-slider img{min-height:320px;aspect-ratio:16/7!important}
}
@media(max-width:560px){
  .block-slider.section{padding-top:14px!important}
  .home-slider img{min-height:220px;aspect-ratio:16/9!important}
}

/* V1.19 - content must never disappear because of animation */
.content,.product-description,.product-summary{opacity:1!important;transform:none!important;visibility:visible!important}
.content.reveal,.product-description.reveal,.product-summary.reveal{opacity:1!important;transform:none!important}

/* Product detail */
.product-detail-page{padding-bottom:45px}
.product-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:42px;align-items:start;padding:20px 0 34px}
.product-main-image{width:100%;aspect-ratio:4/3;object-fit:contain;background:#fff}
.product-basic h1{font-size:27px!important;line-height:1.28!important;letter-spacing:-.025em;margin:0 0 13px}
.product-basic .price{font-size:24px}
.product-contact-actions{display:grid;grid-template-columns:repeat(2,1fr);gap:9px;margin-top:14px}
.pc-btn{display:flex;align-items:center;gap:9px;border:1px solid #e1e4e8;padding:10px 12px;background:#fff;font-size:13px;transition:.2s ease}
.pc-btn:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(0,0,0,.08);border-color:var(--primary)}
.pc-btn>b,.pc-btn b{color:var(--primary)}
.product-content-specs{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,.8fr);gap:38px;align-items:start;border-top:1px solid #e5e5e5;padding-top:34px}
.product-description h1{font-size:27px!important}
.product-description h2,.content h2{font-size:25px!important;line-height:1.35!important;margin:30px 0 13px!important}
.product-description h3,.content h3{font-size:21px!important;line-height:1.4!important;margin:24px 0 10px!important}
.product-section-title{margin-top:0!important}
.product-specs{position:sticky;top:110px;border-left:1px solid #ddd;padding-left:24px}
.product-specs h2{font-size:21px!important;margin:0 0 14px}
.product-specs dl{margin:0}
.product-specs dl>div{display:grid;grid-template-columns:45% 55%;border-bottom:1px solid #ececec;padding:10px 0;gap:10px}
.product-specs dt{font-weight:700;color:#555}.product-specs dd{margin:0}

/* Search */
.header-product-search{margin-left:auto}
.header-product-search form{display:flex;border:1px solid #ddd;background:#fff;height:38px;overflow:hidden}
.header-product-search select{max-width:145px;border:0;border-right:1px solid #eee;padding:0 7px;background:#fafafa;font-size:12px}
.header-product-search input{width:155px;border:0;padding:0 9px;outline:0}
.header-product-search button{width:38px;border:0;background:var(--primary);color:#fff;font-size:20px;cursor:pointer}
.main-nav{margin-left:0!important}
.news-search{display:flex;max-width:620px;margin:0 0 25px;border:1px solid #ddd;background:#fff}
.news-search input{flex:1;min-width:0;border:0;padding:12px 14px;outline:0;font-size:15px}
.news-search button{border:0;background:var(--primary);color:#fff;padding:0 20px;font-weight:700;cursor:pointer}
.search-result-info{margin:10px 0 22px;color:#777}

@media(max-width:1050px){
 .header-product-search{order:3;width:100%;margin:0 0 8px}
 .head{flex-wrap:wrap}
 .header-product-search form{width:100%}.header-product-search input{flex:1}
}
@media(max-width:800px){
 .product-top,.product-content-specs{grid-template-columns:1fr}
 .product-specs{position:static;border-left:0;border-top:1px solid #ddd;padding:22px 0 0}
}
@media(max-width:520px){
 .product-contact-actions{grid-template-columns:1fr}
 .product-basic h1{font-size:25px!important}
 .product-description h2,.content h2{font-size:23px!important}
 .product-description h3,.content h3{font-size:20px!important}
}

.rating-action-detail{margin-top:12px;padding:12px 14px;border:1px solid #e2e5e8;background:#fafafa;gap:7px}
.rating-action-detail b{font-size:14px;margin-right:3px}
.rating-action-detail .rate-star{font-size:22px}
.rating-action-detail .rating-message{display:block;flex-basis:100%;margin:5px 0 0;font-size:13px}

/* V1.21 hierarchical main menu */
.main-nav ul{list-style:none;margin:0;padding:0}
.main-nav .nav-root{display:flex;align-items:stretch;gap:18px}
.main-nav .nav-item{position:relative}
.main-nav .nav-link-wrap{display:flex;align-items:center}
.main-nav .nav-link-wrap>a{display:block}
.submenu-toggle{border:0;background:transparent;padding:4px 3px;cursor:pointer;color:inherit;font-size:14px;line-height:1}
.main-nav .nav-submenu{
    position:absolute;left:0;top:calc(100% - 12px);min-width:240px;
    background:#fff;border:1px solid rgba(0,0,0,.08);box-shadow:0 16px 38px rgba(0,0,0,.12);
    opacity:0;visibility:hidden;transform:translateY(8px);transition:.22s ease;z-index:90;
}
.main-nav .nav-submenu .nav-item{width:100%}
.main-nav .nav-submenu .nav-link-wrap{justify-content:space-between}
.main-nav .nav-submenu a{padding:11px 14px!important;font-size:14px;font-weight:600;width:100%;white-space:nowrap}
.main-nav .nav-submenu a:after{display:none!important}
.main-nav .nav-submenu .nav-submenu{left:100%;top:-1px}
.main-nav .nav-item:hover>.nav-submenu,
.main-nav .nav-item.submenu-open>.nav-submenu{opacity:1;visibility:visible;transform:none}
.main-nav .nav-submenu .submenu-toggle{padding-right:10px;transform:rotate(-90deg)}

@media(max-width:850px){
 .main-nav .nav-root{display:block}
 .main-nav .nav-item{width:100%}
 .main-nav .nav-link-wrap{justify-content:space-between;border-bottom:1px solid #eee}
 .main-nav .nav-link-wrap>a{padding:10px 0!important;flex:1}
 .main-nav .submenu-toggle{width:38px;height:38px;font-size:17px}
 .main-nav .nav-submenu{
   position:static;min-width:0;box-shadow:none;border:0;border-left:2px solid #eee;
   margin-left:12px;padding-left:10px;display:none;opacity:1;visibility:visible;transform:none;
 }
 .main-nav .nav-item.submenu-open>.nav-submenu{display:block}
 .main-nav .nav-submenu .submenu-toggle{transform:none}
 .main-nav .nav-submenu a{white-space:normal}
}


/* V1.22 - compact interactive rating */
.rating-action-detail{
    display:flex!important;
    align-items:center!important;
    flex-wrap:nowrap!important;
    gap:6px!important;
    min-height:42px!important;
    padding:8px 11px!important;
    margin-top:10px!important;
    white-space:nowrap;
}
.rating-action-detail b{font-size:13px!important;margin:0!important;flex:0 0 auto}
.rating-action-detail .rating-prompt{font-size:13px;color:#666;flex:0 0 auto}
.rating-input-stars{display:inline-flex;align-items:center;gap:1px;flex:0 0 auto}
.rating-action-detail .rate-star{font-size:20px!important;line-height:24px!important;height:26px!important}
.rating-action-detail .rating-message{
    margin:0 0 0 5px!important;
    font-size:12px!important;
    flex:1 1 auto!important;
    min-width:0;
    white-space:normal;
}
@media(max-width:620px){
    .rating-action-detail{flex-wrap:wrap!important;white-space:normal}
    .rating-action-detail .rating-message{flex-basis:100%!important;margin-left:0!important}
}

/* Product detail contact buttons use global settings */
.product-contact-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
.pc-btn .pc-icon,.pc-brand-zalo,.pc-brand-facebook{
    width:34px;height:34px;min-width:34px;display:grid;place-items:center;
    border-radius:50%;font-weight:800;font-size:16px;
}
.pc-hotline .pc-icon{background:color-mix(in srgb,var(--primary) 12%,white);color:var(--primary)}
.pc-sale .pc-icon{background:#f1f3f5;color:#495057}
.pc-brand-zalo{background:#0068ff;color:#fff;font-size:10px;letter-spacing:-.03em}
.pc-brand-facebook{background:#1877f2;color:#fff;font-family:Arial;font-size:22px}

/* Fixed contacts - brand colors and tasteful motion */
.fixed-contact{gap:11px}
.fixed-contact .contact-btn{
    position:relative;
    overflow:visible;
    border-width:1px;
    transform-origin:right center;
    animation:contactFloat 3.8s ease-in-out infinite;
}
.fixed-contact .contact-btn:nth-child(2){animation-delay:.35s}
.fixed-contact .contact-btn:nth-child(3){animation-delay:.7s}
.fixed-contact .contact-btn:before{
    content:"";position:absolute;inset:-4px;border-radius:28px;
    border:1px solid currentColor;opacity:0;
    animation:contactPulse 2.8s ease-out infinite;
    pointer-events:none;
}
.contact-hotline{color:var(--primary)!important}
.contact-hotline svg{fill:var(--primary)!important}
.contact-zalo{color:#0068ff!important;border-color:rgba(0,104,255,.25)!important}
.contact-messenger{color:#0084ff!important;border-color:rgba(0,132,255,.25)!important}
.contact-messenger svg{fill:#0084ff!important;width:24px!important;height:24px!important}
.fixed-zalo-logo{
    width:36px;height:36px;min-width:36px;border-radius:50%;
    display:grid;place-items:center;background:#0068ff;color:#fff!important;
    font-size:11px;font-weight:900;letter-spacing:-.04em;
    box-shadow:0 4px 12px rgba(0,104,255,.28);
}
.contact-zalo:hover .fixed-zalo-logo{transform:scale(1.08) rotate(-3deg)}
.fixed-contact .contact-btn:hover{animation-play-state:paused;transform:translateX(-5px) scale(1.045)}
@keyframes contactFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
@keyframes contactPulse{0%{opacity:.35;transform:scale(.96)}70%,100%{opacity:0;transform:scale(1.12)}}
@media(prefers-reduced-motion:reduce){
 .fixed-contact .contact-btn,.fixed-contact .contact-btn:before{animation:none!important}
}


/* V1.23 - real animated homepage slider */
.home-slider{
  position:relative!important;
  display:block!important;
  overflow:hidden!important;
  border-radius:22px!important;
  background:#eee;
  box-shadow:0 18px 46px rgba(24,20,16,.14);
}
.home-slider-track{position:relative;width:100%;aspect-ratio:16/5.6;min-height:420px}
.home-slider .slide{
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
  min-width:0!important;opacity:0;visibility:hidden;transform:scale(1.025);
  transition:opacity .75s ease,visibility .75s ease,transform 5.5s ease!important;
  pointer-events:none;
}
.home-slider .slide.active{opacity:1;visibility:visible;transform:scale(1);pointer-events:auto;z-index:2}
.home-slider .slide img{
  width:100%!important;height:100%!important;min-height:0!important;aspect-ratio:auto!important;
  object-fit:cover!important;display:block;
}
.home-slider .slide.active img{animation:sliderKenBurns 7s ease-out both}
@keyframes sliderKenBurns{from{transform:scale(1.035)}to{transform:scale(1)}}
.slide-caption{
  position:absolute!important;left:34px!important;bottom:30px!important;z-index:4;
  max-width:min(620px,70%);padding:11px 17px!important;border-radius:999px!important;
  background:rgba(20,20,20,.48)!important;color:#fff!important;
  backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px);
  font-size:15px;font-weight:700;
}
.slider-arrow{
  position:absolute;z-index:7;top:50%;transform:translateY(-50%);
  width:46px;height:46px;border-radius:50%;border:1px solid rgba(255,255,255,.55);
  background:rgba(0,0,0,.28);color:#fff;font-size:34px;line-height:38px;
  display:grid;place-items:center;cursor:pointer;opacity:.72;
  backdrop-filter:blur(7px);transition:opacity .25s,background .25s,transform .25s;
}
.slider-prev{left:18px}.slider-next{right:18px}
.home-slider:hover .slider-arrow{opacity:1}
.slider-arrow:hover{background:var(--primary);transform:translateY(-50%) scale(1.08)}
.slider-dots{
  position:absolute;left:50%;bottom:14px;transform:translateX(-50%);z-index:8;
  display:flex;gap:7px;padding:6px 9px;border-radius:999px;background:rgba(0,0,0,.18);
  backdrop-filter:blur(7px);
}
.slider-dot{
  width:8px;height:8px;border-radius:50%;border:0;padding:0;background:rgba(255,255,255,.55);
  cursor:pointer;transition:width .28s ease,background .28s ease,border-radius .28s ease;
}
.slider-dot.active{width:27px;border-radius:6px;background:#fff}
.slider-progress{
  position:absolute;left:0;right:0;bottom:0;height:3px;z-index:8;background:rgba(255,255,255,.18);
}
.slider-progress i{display:block;width:0;height:100%;background:var(--primary)}
@keyframes sliderProgress{from{width:0}to{width:100%}}
@media(max-width:900px){
 .home-slider-track{min-height:320px;aspect-ratio:16/7}
 .slider-arrow{width:40px;height:40px;font-size:29px}
}
@media(max-width:560px){
 .home-slider{border-radius:14px!important}
 .home-slider-track{min-height:220px;aspect-ratio:16/9}
 .slider-arrow{width:34px;height:34px;font-size:25px}
 .slider-prev{left:8px}.slider-next{right:8px}
 .slide-caption{left:12px!important;bottom:32px!important;max-width:80%;font-size:12px;padding:7px 10px!important}
}

/* V1.23 - polished rounded product search */
.header-product-search{flex:0 1 470px;margin-left:auto}
.header-product-search form{
  width:100%;height:44px!important;
  display:flex;align-items:center;
  border:1px solid #dedede!important;border-radius:999px!important;
  background:rgba(255,255,255,.96)!important;overflow:hidden!important;
  box-shadow:0 5px 18px rgba(20,20,20,.055);
  transition:border-color .25s,box-shadow .25s,transform .25s;
}
.header-product-search form:focus-within{
  border-color:color-mix(in srgb,var(--primary) 55%,#ddd)!important;
  box-shadow:0 8px 26px rgba(20,20,20,.10),0 0 0 3px color-mix(in srgb,var(--primary) 10%,transparent);
  transform:translateY(-1px);
}
.header-product-search select{
  max-width:155px!important;height:100%;border:0!important;border-right:1px solid #eee!important;
  padding:0 9px 0 13px!important;background:#fafafa!important;font-size:12px!important;outline:0;
}
.header-product-search input{
  flex:1!important;min-width:110px!important;width:auto!important;height:100%;
  border:0!important;padding:0 12px!important;outline:0!important;background:transparent!important;
  font-size:13px;color:#262626;
}
.header-product-search input::placeholder{color:#8a8a8a;opacity:1}
.header-product-search button{
  width:43px!important;height:43px!important;min-width:43px;border:0!important;border-radius:50%!important;
  margin-right:1px;background:var(--primary)!important;color:#fff!important;display:grid;place-items:center;
  cursor:pointer;transition:transform .2s,filter .2s;
}
.header-product-search button:hover{transform:scale(.94);filter:brightness(1.08)}
.search-icon{width:16px;height:16px;border:2px solid currentColor;border-radius:50%;position:relative;display:block}
.search-icon:after{content:"";position:absolute;width:7px;height:2px;background:currentColor;right:-5px;bottom:-2px;transform:rotate(45deg);border-radius:2px}
@media(max-width:1050px){
 .header-product-search{flex:1 1 100%;width:100%;order:3;margin:0 0 8px}
 .header-product-search form{max-width:none}
}


/* V1.24 - product contact strip spans full product header */
.product-contact-strip{
    width:100%;
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    align-items:stretch;
    margin:2px 0 32px;
    padding:0;
    border-top:1px solid #e4e4e4;
    border-bottom:1px solid #e4e4e4;
    background:transparent;
}
.product-contact-item{
    min-width:0;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:12px 14px;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    background:transparent!important;
    transition:background .22s ease,color .22s ease,transform .22s ease;
}
.product-contact-item + .product-contact-item{
    border-left:1px solid #e4e4e4!important;
}
.product-contact-item:hover{
    background:#fafafa!important;
    transform:translateY(-1px);
}
.product-contact-item>span:last-child{
    min-width:0;
    display:flex;
    flex-direction:column;
    gap:1px;
    line-height:1.25;
}
.product-contact-item small{
    font-size:11px;
    color:#777;
    font-weight:600;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.product-contact-item b{
    font-size:13px;
    color:#292929;
    font-weight:750;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.product-contact-icon{
    width:30px;
    height:30px;
    min-width:30px;
    display:grid;
    place-items:center;
    border-radius:50%;
    font-size:14px;
}
.pc-hotline .product-contact-icon{
    color:var(--primary);
    background:color-mix(in srgb,var(--primary) 10%,white);
}
.pc-sale .product-contact-icon{
    color:#4c5560;
    background:#f0f2f4;
}
.product-contact-item .pc-brand-zalo,
.product-contact-item .pc-brand-facebook{
    width:30px!important;
    height:30px!important;
    min-width:30px!important;
}
.product-contact-item .pc-brand-zalo{font-size:9px!important}
.product-contact-item .pc-brand-facebook{font-size:20px!important}

/* Related / same-price product sections */
.product-recommend-section{
    margin-top:54px;
    padding-top:34px;
    border-top:1px solid #e4e4e4;
}
.product-recommend-heading{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:25px;
    margin-bottom:22px;
}
.product-recommend-heading h2{
    font-size:25px!important;
    margin:0!important;
    letter-spacing:-.025em;
}
.product-recommend-heading h2:after{
    content:"";
    display:block;
    width:42px;
    height:2px;
    margin-top:10px;
    background:var(--primary);
}
.product-recommend-heading p{
    margin:0 0 3px;
    max-width:460px;
    text-align:right;
    color:#777;
    font-size:13px;
}
.product-recommend-section .grid{
    grid-template-columns:repeat(4,minmax(0,1fr));
}
.product-recommend-section .card h3{
    font-size:16px;
}
@media(max-width:900px){
    .product-contact-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
    .product-contact-item:nth-child(3){border-left:0!important;border-top:1px solid #e4e4e4!important}
    .product-contact-item:nth-child(4){border-top:1px solid #e4e4e4!important}
    .product-recommend-section .grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:650px){
    .product-contact-strip{grid-template-columns:1fr 1fr;margin-bottom:24px}
    .product-contact-item{justify-content:flex-start;padding:10px 8px}
    .product-recommend-heading{display:block}
    .product-recommend-heading p{text-align:left;margin-top:7px}
    .product-recommend-section .grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:430px){
    .product-contact-strip{grid-template-columns:1fr}
    .product-contact-item + .product-contact-item{
        border-left:0!important;
        border-top:1px solid #e4e4e4!important;
    }
}


/* V1.25 - product contact strip: soft background, rounded, no borders */
.product-contact-strip{
    border:0!important;
    border-radius:14px!important;
    background:#f4f5f6!important;
    overflow:hidden!important;
    padding:4px!important;
    gap:4px!important;
}
.product-contact-item{
    border:0!important;
    border-radius:10px!important;
    background:transparent!important;
}
.product-contact-item + .product-contact-item{
    border-left:0!important;
    border-top:0!important;
}
.product-contact-item:hover{
    background:#fff!important;
    box-shadow:0 5px 15px rgba(0,0,0,.055)!important;
}

/* V1.25 - news cards: image spacing, matching radius and richer hover */
.card.news-card,
.news-list .card{
    overflow:hidden;
}
.card.news-card>a,
.news-list .card>a{
    padding:8px;
}
.card.news-card img,
.news-list .card img{
    border-radius:12px!important;
    width:100%;
    aspect-ratio:4/3;
    object-fit:cover!important;
    padding:0!important;
    display:block;
    transition:transform .55s cubic-bezier(.2,.8,.2,1),filter .4s ease,box-shadow .4s ease!important;
}
.card.news-card .card-body,
.news-list .card .card-body{
    padding:14px 8px 10px!important;
}
.card.news-card:hover img,
.news-list .card:hover img{
    transform:scale(1.045)!important;
    filter:saturate(1.08) contrast(1.025) brightness(.98);
    box-shadow:0 10px 24px rgba(0,0,0,.12);
}
.card.news-card:hover,
.news-list .card:hover{
    transform:translateY(-6px);
}

/* Header product search 85% of previous width */
.header-product-search{
    flex:0 1 400px!important;
}
@media(max-width:1050px){
    .header-product-search{
        flex:1 1 100%!important;
        width:100%!important;
    }
}


/* V1.26 - each product contact is its own soft rounded card */
.product-contact-strip{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:10px!important;
    padding:0!important;
    margin:4px 0 32px!important;
    background:transparent!important;
    border:0!important;
    border-radius:0!important;
    overflow:visible!important;
}
.product-contact-item{
    min-height:58px!important;
    padding:10px 13px!important;
    border:0!important;
    border-radius:12px!important;
    background:#f2f3f4!important;
    box-shadow:none!important;
    justify-content:flex-start!important;
    transition:background .22s ease,transform .22s ease,box-shadow .22s ease!important;
}
.product-contact-item + .product-contact-item{
    border:0!important;
}
.product-contact-item:hover{
    background:#e9ebed!important;
    transform:translateY(-2px)!important;
    box-shadow:0 7px 18px rgba(0,0,0,.07)!important;
}
@media(max-width:900px){
    .product-contact-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:430px){
    .product-contact-strip{grid-template-columns:1fr!important;gap:7px!important}
}

/* V1.27 - multi-image product gallery */
.product-gallery-main{position:relative;overflow:hidden;background:#fff}
.product-gallery-main .product-main-image{transition:opacity .22s ease,transform .3s ease}
.product-gallery-main .product-main-image.is-changing{opacity:.35;transform:scale(.99)}
.product-gallery-thumbs{
    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:7px;
    margin-top:10px;
}
.product-thumb{
    border:2px solid transparent;
    border-radius:8px;
    background:#f2f3f4;
    padding:3px;
    cursor:pointer;
    overflow:hidden;
    transition:border-color .2s ease,transform .2s ease,box-shadow .2s ease;
}
.product-thumb img{
    width:100%;
    aspect-ratio:4/3;
    object-fit:cover;
    display:block;
    border-radius:4px;
}
.product-thumb:hover{transform:translateY(-2px);box-shadow:0 5px 14px rgba(0,0,0,.09)}
.product-thumb.active{border-color:var(--primary)}
@media(max-width:600px){.product-gallery-thumbs{grid-template-columns:repeat(5,1fr)}}


/* V1.28 - typography reduced ~1.2x for cleaner proportions */

/* Product + News titles in list/card pages */
.card h3,
.news-card h3,
.news-list .card h3{
    font-size:15px!important;
    line-height:1.42!important;
    font-weight:650!important;
}

/* Product recommendation cards */
.product-recommend-section .card h3{
    font-size:14.5px!important;
    line-height:1.42!important;
}

/* H2 / H3 inside article and product content */
.content h2,
.product-description h2{
    font-size:21px!important;
    line-height:1.38!important;
    margin:26px 0 12px!important;
}
.content h3,
.product-description h3{
    font-size:18px!important;
    line-height:1.42!important;
    margin:21px 0 9px!important;
}

/* Keep product detail section heading compact as well */
.product-section-title,
.product-specs h2,
.product-recommend-heading h2{
    font-size:21px!important;
}

/* Mobile: slightly smaller again for balance */
@media(max-width:520px){
    .card h3,
    .news-card h3,
    .news-list .card h3{
        font-size:14.5px!important;
    }
    .content h2,
    .product-description h2{
        font-size:20px!important;
    }
    .content h3,
    .product-description h3{
        font-size:17px!important;
    }
}




/* V1.37 - Header fix using the ACTUAL markup selectors */
@media (min-width: 901px){
    .head{
        flex-wrap:nowrap!important;
        gap:14px!important;
    }

    /* Actual search selector in app/header.php */
    .header-product-search{
        order:0!important;
        flex:0 0 340px!important;
        width:340px!important;
        max-width:340px!important;
        min-width:340px!important;
        margin-left:auto!important;
        margin-bottom:0!important;
    }
    .header-product-search form{
        width:340px!important;
        max-width:340px!important;
        height:37px!important;
        min-height:37px!important;
        border-radius:999px!important;
    }
    .header-product-search select{
        width:118px!important;
        max-width:118px!important;
        height:37px!important;
        min-height:37px!important;
        padding:0 7px 0 10px!important;
        font-size:11px!important;
    }
    .header-product-search input{
        flex:1 1 auto!important;
        width:auto!important;
        min-width:0!important;
        height:37px!important;
        min-height:37px!important;
        padding:0 9px!important;
        font-size:12px!important;
    }
    .header-product-search button{
        flex:0 0 36px!important;
        width:36px!important;
        min-width:36px!important;
        height:36px!important;
        min-height:36px!important;
        padding:0!important;
        margin:0!important;
    }

    /* Keep the top-level menu compact and strictly on one line */
    .main-nav{
        flex:1 1 auto!important;
        min-width:0!important;
        margin-left:0!important;
    }
    .main-nav .nav-root{
        display:flex!important;
        flex-wrap:nowrap!important;
        justify-content:flex-end!important;
        align-items:center!important;
        gap:11px!important;
    }
    .main-nav .nav-root > .nav-item{
        flex:0 0 auto!important;
        width:auto!important;
    }
    .main-nav .nav-root > .nav-item > .nav-link-wrap{
        flex-wrap:nowrap!important;
        white-space:nowrap!important;
    }
    .main-nav .nav-root > .nav-item > .nav-link-wrap > a{
        font-size:12.5px!important;
        line-height:1.2!important;
        white-space:nowrap!important;
        padding:28px 0!important;
    }
    .main-nav .nav-root > .nav-item > .nav-link-wrap > .submenu-toggle{
        flex:0 0 auto!important;
        font-size:12px!important;
        padding:3px 1px 3px 3px!important;
    }
}

/* Only switch to wrapped/mobile-friendly header below 900px. */
@media (min-width:901px) and (max-width:1050px){
    .header-product-search{
        order:0!important;
        width:300px!important;
        min-width:300px!important;
        max-width:300px!important;
        flex-basis:300px!important;
    }
    .header-product-search form{
        width:300px!important;
        max-width:300px!important;
    }
    .header-product-search select{
        width:104px!important;
        max-width:104px!important;
    }
    .main-nav .nav-root{gap:8px!important}
    .main-nav .nav-root > .nav-item > .nav-link-wrap > a{font-size:12px!important}
}

/* V1.38 breadcrumbs + news detail */
.breadcrumbs{display:flex;flex-wrap:wrap;align-items:center;gap:7px;font-size:13px;color:#777}
.breadcrumbs a{color:#555}
.breadcrumbs a:hover{color:var(--primary)}
.breadcrumbs span:last-child{color:#222}

.news-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:34px;align-items:start}
.news-detail-main{min-width:0}
.news-related-sidebar{position:sticky;top:105px}
.news-related-box{background:#f7f7f7;border-radius:16px;padding:16px}
.news-related-box h2{font-size:20px!important;margin:0 0 12px!important}
.news-related-item{display:grid;grid-template-columns:92px 1fr;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid #e5e5e5}
.news-related-item:last-child{border-bottom:0}
.news-related-item img{width:92px;height:70px;object-fit:cover;border-radius:8px;transition:transform .3s ease,filter .3s ease}
.news-related-item span{font-size:13px;line-height:1.4;font-weight:650}
.news-related-item:hover img{transform:scale(1.04);filter:saturate(1.06)}
.news-related-item:hover span{color:var(--primary)}

/* prettier rating box on detail pages */
.news-detail-main .rating-action-detail,
.product-detail-page .rating-action-detail{
    border-radius:12px!important;
    border:1px solid #e4e6e8!important;
    background:#fafafa!important;
}

/* Menu one size up from V1.37, still no wrap */
@media(min-width:901px){
 .main-nav .nav-root > .nav-item > .nav-link-wrap > a{font-size:13.5px!important;white-space:nowrap!important}
}
@media(min-width:901px) and (max-width:1050px){
 .main-nav .nav-root > .nav-item > .nav-link-wrap > a{font-size:13px!important}
}
@media(max-width:900px){
 .news-detail-layout{grid-template-columns:1fr}
 .news-related-sidebar{position:static}
}


/* V1.39 - justified 2-photo album detail rows */
.album-justified-gallery{
    display:flex;
    flex-direction:column;
    gap:14px;
    margin-top:26px;
}
.album-justified-row{
    display:flex;
    width:100%;
    gap:14px;
    align-items:stretch;
}
.album-justified-item{
    position:relative;
    flex:var(--basis) 1 0;
    min-width:0;
    margin:0;
    overflow:hidden;
    border-radius:12px;
    background:#f1f1f1;
}
.album-justified-item img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    border-radius:12px;
    transition:transform .55s cubic-bezier(.2,.8,.2,1),filter .35s ease;
}
.album-justified-row:not(.single) .album-justified-item{
    aspect-ratio:auto;
}
.album-justified-row:not(.single){
    height:clamp(250px,31vw,430px);
}
.album-justified-row.single .album-justified-item{
    flex:1 1 100%;
    width:100%;
}
.album-justified-row.single .album-justified-item img{
    width:100%;
    height:auto;
    max-height:none;
    object-fit:contain;
}
.album-justified-item figcaption{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    padding:34px 14px 12px;
    color:#fff;
    font-size:13px;
    line-height:1.4;
    background:linear-gradient(transparent,rgba(0,0,0,.62));
    opacity:0;
    transform:translateY(6px);
    transition:opacity .3s ease,transform .3s ease;
}
.album-justified-item:hover img{
    transform:scale(1.035);
    filter:saturate(1.04) brightness(.96);
}
.album-justified-item:hover figcaption{
    opacity:1;
    transform:none;
}
@media(max-width:700px){
    .album-justified-row{
        gap:8px;
    }
    .album-justified-gallery{
        gap:8px;
    }
    .album-justified-row:not(.single){
        height:clamp(180px,44vw,300px);
    }
}
