/*
Theme Name: SunGraphics Online Printing
Theme URI: https://www.sungraphics.co.in/
Author: SunGraphics
Description: Custom WooCommerce-ready printing storefront for SunGraphics.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: sungraphics
*/

:root{--blue:#0b43d8;--blue2:#06246f;--orange:#ff6900;--yellow:#ffbf19;--ink:#101828;--muted:#667085;--bg:#f6f8fc;--line:#e5e9f2;--white:#fff;--green:#12a150}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,"Noto Sans Bengali",Arial,sans-serif;background:var(--bg);color:var(--ink)}a{text-decoration:none;color:inherit}button,input,select,textarea{font:inherit}.top{background:#06184f;color:#fff;padding:8px 5%;font-size:13px}.topin{max-width:1280px;margin:auto;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.nav{position:sticky;top:0;z-index:30;background:#fff;border-bottom:1px solid var(--line);box-shadow:0 4px 20px #00000009}.navin{max-width:1280px;margin:auto;padding:12px 5%;display:flex;align-items:center;gap:24px}.logo{width:190px}.search{flex:1;position:relative}.search input{width:100%;border:1px solid var(--line);border-radius:12px;padding:12px 15px 12px 42px;outline:none;background:#fafbff}.search span{position:absolute;left:14px;top:10px;font-size:20px}.navlinks{display:flex;align-items:center;gap:18px;font-weight:700;font-size:14px}.navlinks a:hover{color:var(--blue)}.cart{position:relative}.count{position:absolute;right:-10px;top:-10px;background:var(--orange);color:#fff;border-radius:99px;min-width:20px;height:20px;text-align:center;font-size:11px;padding-top:3px}.btn{border:0;border-radius:11px;padding:12px 17px;font-weight:800;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:7px}.primary{background:var(--blue);color:#fff}.orange{background:linear-gradient(135deg,var(--orange),#ff9800);color:#fff}.light{background:#fff;border:1px solid var(--line)}.hero{background:radial-gradient(circle at 85% 15%,#dce7ff 0,transparent 34%),linear-gradient(135deg,#f9fbff,#edf3ff);padding:60px 5%}.hero-in{max-width:1280px;margin:auto;display:grid;grid-template-columns:1.05fr .95fr;gap:45px;align-items:center}.eyebrow{display:inline-block;background:#e6edff;color:var(--blue);font-weight:900;border-radius:99px;padding:7px 12px;font-size:12px}.hero h1{font-size:clamp(38px,5vw,68px);line-height:1.02;margin:16px 0}.hero h1 span{color:var(--blue)}.hero p{font-size:17px;color:var(--muted);line-height:1.75;max-width:650px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.hero-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:18px;box-shadow:0 25px 70px #2146a51c}.hero-card img{width:100%;height:330px;object-fit:cover;border-radius:17px}.mini{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:12px}.mini div{background:#f7f9ff;border-radius:12px;padding:12px;text-align:center;font-weight:800;font-size:12px}.tools{padding:34px 5% 10px}.toolgrid{max-width:1280px;margin:auto;display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.tool{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px}.tool b{display:block;margin-bottom:6px}.tool small{color:var(--muted);line-height:1.5}.section{padding:58px 5%}.container{max-width:1280px;margin:auto}.head{text-align:center;max-width:780px;margin:0 auto 28px}.head h2{font-size:36px;margin:0 0 9px}.head p{color:var(--muted);line-height:1.65}.filters{display:flex;gap:9px;flex-wrap:wrap;margin:0 0 22px}.chip{padding:9px 13px;border-radius:99px;background:#fff;border:1px solid var(--line);cursor:pointer;font-weight:700;font-size:13px}.chip.active{background:var(--blue);color:#fff;border-color:var(--blue)}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:17px}.product{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;display:flex;flex-direction:column;min-width:0;transition:.2s}.product:hover{transform:translateY(-4px);box-shadow:0 16px 38px #1b2e650f}.pic{height:185px;background:#eef3ff;position:relative;overflow:hidden}.pic img{width:100%;height:100%;object-fit:cover}.tag{position:absolute;left:10px;top:10px;background:#fff;border-radius:99px;padding:5px 8px;font-size:10px;font-weight:900;color:var(--blue);box-shadow:0 5px 15px #0002}.pbody{padding:16px}.pbody h3{font-size:17px;margin:0 0 7px}.pbody p{font-size:13px;color:var(--muted);line-height:1.55;min-height:62px;margin:0}.meta{display:flex;justify-content:space-between;gap:8px;margin:13px 0;font-size:12px;color:#475467}.pactions{display:flex;gap:8px}.pactions .btn{flex:1;padding:10px 8px;font-size:12px}.strip{background:linear-gradient(110deg,#07164f,#103fc8);color:#fff;padding:45px 5%}.stripin{max-width:1280px;margin:auto;display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}.strip h2{margin:0 0 6px;font-size:30px}.strip p{margin:0;color:#d7e1ff}.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.step{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px}.num{width:34px;height:34px;border-radius:10px;background:#e8efff;color:var(--blue);display:grid;place-items:center;font-weight:900}.step h3{margin:12px 0 7px}.step p{color:var(--muted);font-size:13px;line-height:1.55}.faq{max-width:850px;margin:auto}.faq details{background:#fff;border:1px solid var(--line);border-radius:12px;padding:15px 17px;margin:9px 0}.faq summary{font-weight:800;cursor:pointer}.uploadbox{background:#fff;border:1px dashed #9db2e9;border-radius:18px;padding:25px;text-align:center}.uploadbox input{display:none}.uploadbox label{display:inline-flex}.footer{background:#06184f;color:#fff;padding:45px 5% 22px}.footin{max-width:1280px;margin:auto;display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:30px}.footlogo{width:200px;background:#fff;border-radius:8px;padding:5px}.footer p,.footer li{color:#c8d3f1;line-height:1.7;font-size:13px}.footer ul{list-style:none;padding:0}.copy{max-width:1280px;margin:25px auto 0;border-top:1px solid #ffffff22;padding-top:17px;color:#aebadd;font-size:12px}
.modal{position:fixed;inset:0;background:#08102b99;z-index:100;display:none;align-items:center;justify-content:center;padding:20px}.modal.show{display:flex}.modalbox{background:#fff;border-radius:20px;width:min(980px,100%);max-height:92vh;overflow:auto;box-shadow:0 25px 80px #0005}.modalhead{padding:17px 20px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.modalhead h3{margin:0}.close{background:#f1f3f8;border:0;border-radius:9px;width:36px;height:36px;cursor:pointer;font-size:18px}.modalbody{padding:20px}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.field{display:flex;flex-direction:column;gap:7px}.field.full{grid-column:1/-1}.field label{font-size:13px;font-weight:800}.field input,.field select,.field textarea{border:1px solid var(--line);border-radius:10px;padding:11px;outline:none}.field textarea{min-height:90px}.note{background:#f5f8ff;border-radius:12px;padding:12px;font-size:12px;color:#475467;line-height:1.55}.studio{display:grid;grid-template-columns:320px 1fr;gap:18px}.controls{background:#f7f9fc;border-radius:15px;padding:15px}.controls h4{margin:0 0 10px}.control{margin:10px 0}.control input[type=text],.control input[type=number],.control select{width:100%;border:1px solid var(--line);padding:9px;border-radius:8px}.canvaswrap{background:#e9edf5;border-radius:15px;min-height:470px;display:grid;place-items:center;padding:18px}.canvaswrap canvas{background:#fff;max-width:100%;height:auto;box-shadow:0 12px 30px #0002}.preview-list{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}.preview-list img{width:70px;height:70px;object-fit:cover;border-radius:9px;border:1px solid var(--line)}
@media(max-width:1050px){.grid{grid-template-columns:repeat(3,1fr)}.toolgrid{grid-template-columns:repeat(2,1fr)}.hero-in{grid-template-columns:1fr}.footin{grid-template-columns:1fr 1fr}.steps{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.navin{flex-wrap:wrap}.search{order:3;flex-basis:100%}.navlinks a:not(.cart){display:none}.grid{grid-template-columns:repeat(2,1fr)}.studio,.formgrid{grid-template-columns:1fr}.footin{grid-template-columns:1fr}.hero-card img{height:240px}}
@media(max-width:480px){.grid{grid-template-columns:1fr}.toolgrid,.steps{grid-template-columns:1fr}.hero{padding-top:40px}.hero h1{font-size:42px}.mini{grid-template-columns:1fr}}

.langbtn{white-space:nowrap;padding:9px 12px;font-size:12px}.payment-section{padding-top:20px}.lang-en .bn-text{display:none}.lang-bn .en-text{display:none}
/* Detail / account pages */
.sg-page{padding:42px 18px 70px;background:#f7f9fc;min-height:65vh}
.sg-page-wrap{max-width:1100px;margin:auto}.sg-breadcrumb{font-size:14px;color:#6b7280;margin:0 0 16px}.sg-breadcrumb a{color:#0b43d8;text-decoration:none}.sg-page-card{background:#fff;border:1px solid #e6eaf0;border-radius:22px;padding:34px;box-shadow:0 14px 40px rgba(18,35,60,.07)}.sg-page-card h1{margin:0 0 24px;font-size:38px}.sg-page-card h2{margin:28px 0 10px;font-size:22px}.sg-page-card p,.sg-page-card li{color:#4b5563;line-height:1.8}.sg-page-card a{color:#0b43d8}.sg-page-card ul{padding-left:22px}.sg-page-card form{max-width:520px}.sg-page-card input[type=text],.sg-page-card input[type=password],.sg-page-card input[type=email]{width:100%;box-sizing:border-box;padding:13px 14px;border:1px solid #d7dce4;border-radius:10px;margin:7px 0 14px}.sg-page-card input[type=submit],.sg-page-card button{border:0;border-radius:10px;padding:12px 18px;cursor:pointer;background:#0b43d8;color:#fff;font-weight:700}.auth-link{font-weight:700}.auth-link.signup{color:#fff!important;background:#0b43d8;padding:9px 12px;border-radius:9px}.footer a{color:inherit;text-decoration:none}.footer a:hover{text-decoration:underline}
@media(max-width:800px){.sg-page-card{padding:24px}.sg-page-card h1{font-size:30px}.auth-link{display:none}.navlinks{gap:8px}}

.sg-whatsapp-float{position:fixed;right:22px;bottom:22px;z-index:120;background:#25D366;color:#fff;padding:13px 17px;border-radius:999px;font-weight:900;box-shadow:0 12px 30px #0003;display:inline-flex;gap:8px;align-items:center}.sg-whatsapp-float:hover{color:#fff;transform:translateY(-2px)}
.whatsapp{background:#25D366!important;color:#fff!important;border-color:#25D366!important}
.product-detail{padding:2px}.product-hero-image{background:#f3f6fb;border-radius:18px;overflow:hidden;margin-bottom:20px}.product-hero-image img{width:100%;height:330px;object-fit:cover;display:block}.product-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:start}.product-detail-image{width:100%;height:300px;object-fit:cover;border-radius:16px;border:1px solid var(--line)}.static-tag{position:static;display:inline-block}.sg-product-page{background:#f6f8fc;padding:35px 18px 75px;min-height:70vh}.sg-product-wrap{max-width:1180px;margin:auto}.sg-product-hero{display:grid;grid-template-columns:1fr 1fr;gap:35px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:24px;padding:30px;box-shadow:0 18px 50px #1b2e650c}.sg-product-hero h1{font-size:clamp(34px,5vw,56px);line-height:1.08;margin:15px 0}.sg-product-hero p{color:var(--muted);font-size:17px;line-height:1.8}.sg-product-hero-card{background:#f3f6fb;border-radius:20px;padding:15px}.sg-product-hero-card img{width:100%;height:390px;object-fit:cover;border-radius:15px;display:block}.product-page-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}.sg-product-gallery{display:grid;grid-template-columns:1fr 1fr;gap:25px;margin-top:28px;background:#fff;border:1px solid var(--line);border-radius:24px;padding:30px}.sg-product-gallery h2{margin:0 0 8px}.sg-product-gallery p,.sg-product-gallery li{color:var(--muted);line-height:1.8}.sg-product-gallery img{width:100%;height:340px;object-fit:cover;border-radius:17px;margin-top:15px}.sg-product-info{padding:10px 5px}.sg-product-info ul{padding-left:20px}.sg-product-info .btn{margin-top:15px}
@media(max-width:760px){.product-detail-grid,.sg-product-hero,.sg-product-gallery{grid-template-columns:1fr}.sg-product-hero-card img{height:280px}.product-detail-image,.sg-product-gallery img{height:260px}.sg-whatsapp-float{right:14px;bottom:14px;padding:12px 14px}.sg-whatsapp-float span{display:none}}
.sg-product-options{margin-top:28px;background:#fff;border:1px solid var(--line);border-radius:24px;padding:30px;box-shadow:0 18px 50px #1b2e650c}.sg-option-head{text-align:center;max-width:760px;margin:0 auto 24px}.sg-option-head h2{font-size:32px;margin:10px 0 8px}.sg-option-head p,.sg-muted{color:var(--muted);line-height:1.7}.sg-option-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.sg-option-card{border:1px solid var(--line);border-radius:18px;padding:20px;background:#fbfcff;display:flex;flex-direction:column;gap:8px}.sg-option-icon{font-size:30px}.sg-option-card h3{margin:0;font-size:18px}.sg-option-card p{font-size:13px;color:var(--muted);line-height:1.6;min-height:65px;margin:0 0 5px}.sg-option-card .btn{margin-top:auto}.sg-file{position:absolute;left:-9999px}.sg-option-card small{color:var(--muted);font-size:11px;word-break:break-word}.sg-photo-count{font-size:12px;font-weight:800;color:var(--blue);margin-top:2px}.sg-product-orderbar{margin-top:22px;padding:17px 20px;background:#f1f5ff;border-radius:16px;display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap}.sg-product-orderbar span{color:var(--muted);font-size:13px;margin-left:5px}.sg-studio-modal{position:fixed;inset:0;background:#071334aa;z-index:100;display:none;align-items:center;justify-content:center;padding:20px}.sg-studio-modal.open{display:flex}.sg-studio-panel{position:relative;background:#fff;width:min(1100px,100%);max-height:92vh;overflow:auto;border-radius:24px;padding:30px;box-shadow:0 30px 100px #0005}.sg-studio-close{position:absolute;right:16px;top:12px;border:0;background:#eef2fb;border-radius:50%;width:38px;height:38px;font-size:26px;cursor:pointer}.sg-studio-layout{display:grid;grid-template-columns:300px 1fr;gap:22px;margin-top:20px}.sg-studio-controls{display:flex;flex-direction:column;gap:13px}.sg-studio-controls label{font-size:12px;font-weight:800;color:#344054}.sg-studio-controls input{display:block;width:100%;margin-top:6px;border:1px solid var(--line);border-radius:10px;padding:10px;background:#fff}.sg-studio-controls input[type=color]{height:44px;padding:4px}.sg-canvas-box{background:#f3f6fb;border-radius:18px;padding:15px;display:grid;place-items:center;overflow:auto}.sg-canvas-box canvas{width:100%;max-width:700px;height:auto;background:#fff;border-radius:12px;box-shadow:0 10px 30px #1b2e6510}
@media(max-width:900px){.sg-option-grid{grid-template-columns:repeat(2,1fr)}.sg-studio-layout{grid-template-columns:1fr}}
@media(max-width:560px){.sg-option-grid{grid-template-columns:1fr}.sg-product-options{padding:20px}.sg-option-head h2{font-size:27px}.sg-product-orderbar{align-items:stretch}.sg-product-orderbar .btn{width:100%}}
