/*
Theme Name: Dream3D
Description: WooCommerce-first creative studio and shop.
Version: 1.6.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: dream3d
License: GNU General Public License v2 or later
*/
:root{--bg:#0b1020;--panel:#151b2d;--ink:#f5f7ff;--muted:#b9c3d9;--line:#303951;--accent:#56d9ff;--grad:linear-gradient(110deg,#0076e8,#8b24d8)}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.65 system-ui,sans-serif}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}img{max-width:100%;height:auto}h1,h2,h3{line-height:1.15;letter-spacing:-.035em}h1{font-size:clamp(2.4rem,6vw,5rem)}h2{font-size:clamp(1.6rem,3vw,2.5rem)}.wrap{width:min(1200px,92%);margin:auto}.site-header{border-bottom:1px solid var(--line);background:#0b1020}.head{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 0;flex-wrap:wrap}.brand{font-weight:900;font-size:26px;color:white;letter-spacing:-1px}.brand span{color:#a46bff}.custom-logo{max-width:200px;max-height:80px;width:auto}.nav ul{display:flex;flex-wrap:wrap;gap:20px;list-style:none;padding:0;margin:0}.nav a,.head-actions a{color:var(--ink)}.head-actions{display:flex;gap:16px}.hero{padding:clamp(48px,8vw,110px) 0;background:radial-gradient(ellipse at 85% 40%,#39166c 0,transparent 55%),radial-gradient(ellipse at 20% 100%,#00345d,transparent 55%)}.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:40px}.hero h1{margin:12px 0 20px}.hero p{color:var(--muted);max-width:550px}.eyebrow{font-size:.75rem;letter-spacing:.18em;text-transform:uppercase;color:var(--accent);font-weight:700}.hero-art{background:#fff;border-radius:28px;padding:20px;box-shadow:0 0 60px #7625d64d;text-align:center}.hero-art img{display:block;width:100%;border-radius:16px}.btn,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,.woocommerce a.button.alt,.woocommerce button.button.alt,.wc-block-components-button:not(.is-link){display:inline-block;background:var(--grad);color:white;border:0;border-radius:9px;padding:13px 22px;font-weight:700;line-height:1.4;cursor:pointer;text-decoration:none}.btn.secondary{background:transparent;border:1px solid var(--line)}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.section{padding:55px 0}.section-head{display:flex;justify-content:space-between;align-items:center;gap:20px}.tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.tile{background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:26px;color:var(--ink)}.tile b{color:var(--accent)}.tile img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:10px}.content{padding:42px 0;min-height:50vh}.site-footer{border-top:1px solid var(--line);padding:36px 0;color:var(--muted)}.footer-grid{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}.woocommerce ul.products li.product{background:var(--panel);border:1px solid var(--line);padding:14px;border-radius:14px}.woocommerce ul.products li.product a img{border-radius:9px}.woocommerce ul.products li.product .woocommerce-loop-product__title{color:var(--ink);font-size:1.1rem}.woocommerce ul.products li.product .price,.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--accent)}.woocommerce div.product .woocommerce-tabs ul.tabs li{background:var(--panel);border-color:var(--line)}.woocommerce div.product .woocommerce-tabs ul.tabs li a{color:var(--ink)}.woocommerce div.product .woocommerce-tabs ul.tabs li.active{background:var(--bg)}.woocommerce table.shop_table,.woocommerce table.shop_table td{border-color:var(--line)}.woocommerce form.checkout_coupon,.woocommerce form.login,.woocommerce form.register{border-color:var(--line)}input,textarea,select{background:var(--panel);color:var(--ink);border:1px solid var(--line);border-radius:6px;padding:10px;max-width:100%;font:inherit}input[type=checkbox],input[type=radio]{accent-color:#9254ff}.woocommerce .quantity .qty{width:5em}.woocommerce-error,.woocommerce-info,.woocommerce-message{background:var(--panel);color:var(--ink)}.woocommerce #payment,.woocommerce #payment div.payment_box{background:var(--panel);color:var(--ink)}.woocommerce .woocommerce-breadcrumb,.woocommerce .woocommerce-breadcrumb a{color:var(--muted)}.woocommerce span.onsale{background:#7827bd}.wc-block-components-totals-wrapper,.wc-block-components-order-summary{border-color:var(--line)}.wc-block-components-text-input input,.wc-block-components-combobox .wc-block-components-combobox-control input{color:var(--ink)!important;background:var(--panel)!important}.wc-block-components-text-input label{color:var(--muted)!important}.select2-container--default .select2-selection--single,.select2-dropdown{background:var(--panel);color:var(--ink);border-color:var(--line)}.select2-container--default .select2-selection--single .select2-selection__rendered{color:var(--ink)}:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.skip-link{position:absolute;left:-9999px}.skip-link:focus{left:10px;top:10px;z-index:999;background:var(--bg);padding:12px}.alignwide{max-width:1200px}.wp-block-image img{height:auto}.pagination{margin:25px 0}@media(max-width:760px){.hero-grid,.tiles{grid-template-columns:1fr}.hero-art{max-width:400px}.head{gap:12px}.nav{order:3;width:100%}.nav ul{gap:12px}.section{padding:35px 0}.woocommerce ul.products[class*=columns-] li.product{width:48%}.section-head{align-items:flex-start;flex-direction:column}}@media(prefers-reduced-motion:no-preference){.tile,.woocommerce ul.products li.product{transition:transform .2s}.tile:hover,.woocommerce ul.products li.product:hover{transform:translateY(-3px)}}

.brand img{width:190px;display:block;border-radius:8px}.hero-art{background:transparent;padding:0;box-shadow:none}.hero-art img{aspect-ratio:1.15;object-fit:cover;box-shadow:0 20px 70px #080b19}.hero{background:radial-gradient(ellipse at 85% 40%,#452075 0,transparent 58%),radial-gradient(ellipse at 20% 100%,#003b69,transparent 55%),#0b1020}.tile{overflow:hidden}.tile img{aspect-ratio:4/3}.hero h1{max-width:650px}
:root{--bg:#090e20;--panel:#13182d;--line:#30334e;--accent:#70dfff;--grad:linear-gradient(110deg,#00a9ef,#7133ed 65%,#b51eea)}body{background:radial-gradient(ellipse at 85% 85%,#241044 0,transparent 35%),#090e20;font-size:15px}.wrap{width:min(1440px,90%)}.topbar{background:#101426;border-bottom:1px solid var(--line);font-size:12px}.topinner{display:flex;justify-content:space-between;padding:8px 0;gap:12px}.head{padding:12px 0;flex-wrap:nowrap}.brand img{width:280px;border-radius:0}.shopsearch{display:flex;flex:1;max-width:510px;border:1px solid #414a6a;border-radius:30px;background:#171d32;overflow:hidden}.shopsearch input{border:0;background:transparent;flex:1;min-width:0;padding:10px 18px}.shopsearch button{background:transparent;color:white;border:0;padding:8px 16px;cursor:pointer}.shopsearch svg,.head-actions svg{width:24px;height:24px}.head-actions a{display:flex;flex-direction:column;align-items:center;font-size:12px;white-space:nowrap}.navline{background:#12162a;border-top:1px solid #282d45}.navinner{display:flex;align-items:center;gap:35px}.category-menu{position:relative;z-index:5;min-width:180px}.category-menu summary{cursor:pointer;list-style:none;background:linear-gradient(100deg,#6234d7,#9a35ef);padding:11px 15px;border-radius:7px;font-weight:700}.category-menu div{position:absolute;background:#151b30;min-width:220px;border:1px solid var(--line);box-shadow:0 12px 30px #0008}.category-menu a{display:block;padding:10px;color:white}.nav ul{gap:30px}.hero{position:relative;overflow:hidden;padding:0;min-height:370px;background:#080e20}.hero-photo{position:absolute;inset:0 0 0 44%;background-position:center;background-size:cover}.hero:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#080e20 0%,#080e20 36%,transparent 65%),linear-gradient(0deg,#28105366,transparent 25%);pointer-events:none}.hero-grid{position:relative;z-index:1;display:block;padding:38px 0 48px}.hero-grid>div{max-width:520px}.hero h1{font-size:clamp(3rem,5.3vw,5.4rem);font-style:italic;line-height:1.02;margin:16px 0;font-weight:850}.hero h1 span{display:block;color:#ce73ff}.hero p{font-size:17px;color:#f5f7ff;max-width:460px}.btn{border-radius:30px}.btn.secondary{border:1px solid white}.usp{background:#12182b;border-block:1px solid #30334e}.uspgrid{display:grid;grid-template-columns:repeat(4,1fr);padding:16px 0}.uspgrid>div{display:flex;align-items:center;gap:12px;padding:0 12px;border-right:1px solid var(--line)}.uspgrid>div:last-child{border:0}.usp svg{width:36px;height:36px;color:#b276ff;flex:none}.usp small,.demo-product small{display:block;color:var(--muted);font-size:12px}.section{padding:26px 0}.section h2{margin:5px 0 20px;font-size:clamp(1.6rem,3vw,2.4rem)}.collection-grid,.demo-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.collection,.demo-product{overflow:hidden;border:1px solid #383553;border-radius:12px;background:linear-gradient(140deg,#191d35,#111528);color:white}.collection img,.demo-product img{width:100%;aspect-ratio:1.15;object-fit:cover;display:block}.collection span{display:flex;align-items:center;justify-content:space-between;gap:4px;padding:10px;font-weight:700;font-size:13px}.collection b{border-radius:50%;background:#9135ed;padding:0 6px}.demo-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.demo-product>div{padding:10px}.demo-product b{display:block;margin-top:8px;font-size:18px}.woocommerce ul.products li.product{padding:10px;background:linear-gradient(140deg,#191d35,#111528)}.woocommerce ul.products li.product a img{aspect-ratio:1.15;object-fit:cover}.woocommerce ul.products li.product .button{border-radius:8px}.section-head a{font-size:14px}.site-footer{margin-top:30px}.woocommerce #payment div.payment_box:before{border-bottom-color:var(--panel)}.wc-block-components-order-summary,.wc-block-components-totals-wrapper{color:var(--ink)}@media(max-width:900px){.topinner span:nth-child(n+3){display:none}.head{flex-wrap:wrap;gap:12px}.brand img{width:200px}.shopsearch{order:3;max-width:none;flex-basis:100%}.navinner{gap:12px;flex-wrap:wrap;padding:6px 0}.nav{width:auto;order:0}.nav ul{gap:14px}.hero-photo{inset:0 0 0 25%;opacity:.65}.hero:after{background:linear-gradient(90deg,#080e20 0%,#080e20aa 45%,transparent)}.uspgrid{grid-template-columns:repeat(2,1fr);gap:15px}.collection-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.demo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:480px){.collection-grid,.demo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-grid{padding:36px 0}.hero h1{font-size:3.2rem}.head-actions{gap:10px}.head-actions a{font-size:10px}.brand img{width:170px}.uspgrid>div{padding:0;gap:7px}.usp svg{width:25px;height:25px}.usp small{font-size:10px}.nav ul{gap:10px}.category-menu{min-width:160px}}

/* Creative Studio */
.wrap{width:min(1440px,calc(100% - 64px));margin-inline:auto}.hero-photo{inset:0 0 0 40%;background-size:cover;background-position:center}.hero:after{background:linear-gradient(90deg,var(--bg) 0%,var(--bg) 32%,transparent 64%)}.hero-grid{padding-block:48px}.brand img{width:300px;max-width:100%}.collection,.demo-product,.woocommerce ul.products li.product{transition:transform .2s,border-color .2s,box-shadow .2s}.collection:hover,.demo-product:hover,.woocommerce ul.products li.product:hover{transform:translateY(-3px);border-color:#a66bff;box-shadow:0 8px 24px #7032d333}.collection img,.demo-product img{aspect-ratio:1.2;object-fit:cover}.demo-product{position:relative}.new-label{position:absolute;top:10px;left:10px;background:var(--grad);color:white;border-radius:20px;padding:3px 12px;font-size:12px}.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:28px}.footer-grid a{display:block;color:var(--muted);margin:7px 0}.footer-grid h3{color:var(--ink);margin-top:0}.footer-grid .nav ul{display:block}.footer-brand{max-width:240px}.tile{background:linear-gradient(135deg,var(--panel),#241044)}.tile svg{width:32px;height:32px;color:var(--accent);display:block;margin-bottom:12px}.cart-count{color:var(--accent)}.nav a:hover{color:var(--accent)}.woocommerce ul.products li.product .button{width:100%;text-align:center}.woocommerce ul.products li.product{box-sizing:border-box}.site-footer{background:#0b1020aa}.site-footer .copyright{margin-top:24px;border-top:1px solid var(--line);padding-top:16px}.hero-photo{mask-image:linear-gradient(to right,transparent,black 25%)}@media(max-width:900px){.wrap{width:calc(100% - 32px)}.footer-grid{grid-template-columns:1fr 1fr}.brand img{width:200px}.hero-photo{inset:0 0 0 20%}}@media(max-width:480px){.footer-grid{grid-template-columns:1fr}.brand img{width:160px}.hero-grid{padding-block:32px}.hero-photo{opacity:.45}.navinner{align-items:flex-start}.nav ul{gap:10px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* V1.4: keep entire category artwork visible */
.collection img{aspect-ratio:1/1;object-fit:contain;background:#0b1020;object-position:center}.collection span{min-height:44px}.collection b{flex-shrink:0}

/* V1.5 */
.demo-product img{aspect-ratio:1/1;object-fit:contain;background:#0b1020}.woocommerce ul.products li.product{position:relative}.woocommerce ul.products li.product .new-label{z-index:2;pointer-events:none}
