/*
Theme Name: Barq Prints
Description: Arabic storefront for custom packaging and WhatsApp quotes.
Version: 1.6.2
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: barq-prints
*/
:root{--ink:#191914;--paper:#fbf8f0;--yellow:#ffdb25;--line:#e7e0d1;--muted:#5d584d}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:Cairo,Tahoma,Arial,sans-serif;line-height:1.8}
a{color:inherit}
img{max-width:100%;height:auto}
.barq-shell{direction:rtl;text-align:right}
.barq-wrap{width:min(1160px,calc(100% - 48px));margin-inline:auto}
.barq-header{background:var(--paper);border-bottom:1px solid var(--line)}
.barq-header .barq-wrap,.barq-footer .barq-wrap{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-block:15px}
.barq-brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none;font-weight:bold;white-space:nowrap}
.barq-brand img{width:42px;height:42px;border-radius:10px}
.barq-nav{display:flex;gap:22px;align-items:center}
.barq-nav a{text-decoration:none}
.barq-nav a:hover{text-decoration:underline}
.barq-button{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:10px 22px;background:var(--yellow);color:var(--ink);border:1px solid var(--ink);border-radius:8px;text-decoration:none;font-weight:bold;font:inherit;font-weight:700;cursor:pointer}
.barq-button:hover{background:#ffe765}
.barq-button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #725c00;outline-offset:3px}
.barq-hero{padding-block:56px 60px;background:#f5efdf}
.barq-hero .barq-wrap,.barq-quote .barq-wrap{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.barq-kicker{display:inline-block;font-size:.88rem;font-weight:bold;background:var(--yellow);padding:2px 10px;border-radius:5px}
.barq-hero h1{font-size:clamp(2.6rem,6vw,5.3rem);line-height:1.12;margin:20px 0;letter-spacing:-.045em}
.barq-hero p,.barq-quote p{color:var(--muted);font-size:1.1rem}
.barq-hero img{display:block;width:100%;aspect-ratio:1.32;object-fit:cover;border-radius:18px}
.barq-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:25px;align-items:center}
.barq-secondary{padding:8px 13px;text-underline-offset:4px}
.barq-section{padding-block:68px}
.barq-section h2,.barq-quote h2{font-size:clamp(1.9rem,4vw,3.2rem);margin:0 0 14px;line-height:1.2}
.barq-intro{color:var(--muted);margin:0 0 28px}
.barq-products,.barq-steps{display:grid;gap:14px;padding:0;list-style:none}
.barq-products{grid-template-columns:repeat(3,1fr)}
.barq-products li,.barq-steps li{padding:22px;background:#fffdf8;border:1px solid var(--line);border-radius:12px}
.barq-products h3,.barq-steps h3{margin:8px 0 4px;font-size:1.16rem}
.barq-products p,.barq-steps p{margin:0;color:var(--muted)}
.barq-products strong,.barq-steps strong{display:inline-grid;place-items:center;width:35px;height:35px;background:var(--yellow);border-radius:50%;font-size:.85rem}
.barq-process{background:#f1ebdc}
.barq-steps{grid-template-columns:repeat(3,1fr);margin-bottom:0}
.barq-quote{background:var(--ink);color:white;padding-block:70px}
.barq-quote p{color:#e0dacc}
.barq-quote .barq-wrap{align-items:start}
.barq-form{background:#2b2a23;border-radius:16px;padding:22px;display:grid;gap:12px}
.barq-form label{display:grid;gap:4px;font-weight:bold;font-size:.95rem}
.barq-form input,.barq-form select,.barq-form textarea{width:100%;font:inherit;padding:10px;border:1px solid #aaa18e;border-radius:6px;background:var(--paper);color:var(--ink)}
.barq-form textarea{min-height:85px;resize:vertical}
.barq-footer{background:#f5efdf}
.barq-social{display:flex;flex-wrap:wrap;gap:16px}
.barq-posts{padding-block:55px}
@media(max-width:850px){.barq-products{grid-template-columns:repeat(2,1fr)}.barq-hero .barq-wrap,.barq-quote .barq-wrap{gap:24px}.barq-nav{gap:12px}}
@media(max-width:650px){.barq-wrap{width:calc(100% - 32px)}.barq-nav{display:none}.barq-hero .barq-wrap,.barq-quote .barq-wrap,.barq-steps{grid-template-columns:1fr}.barq-section,.barq-hero,.barq-quote{padding-block:46px}.barq-header .barq-wrap,.barq-footer .barq-wrap{gap:10px}.barq-header .barq-button{padding-inline:10px}.barq-footer .barq-wrap{align-items:flex-start;flex-direction:column}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.barq-work{padding-top:0}
.barq-work-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:clamp(24px,5vw,70px);align-items:center}
.barq-work img{display:block;width:100%;border-radius:18px}
.barq-work h2{margin-top:16px}
.barq-work p,.barq-faq p{color:var(--muted)}
.barq-faq details{padding:15px 0;border-bottom:1px solid var(--line)}
.barq-faq summary{cursor:pointer;font-weight:700}
.barq-faq p{margin:6px 0 0}
@media(max-width:650px){.barq-work-grid{grid-template-columns:1fr}.barq-work-grid img{order:1}}

/* Storefront art direction */
.barq-header{background:#fffdf8}
.barq-brand{font-size:1.1rem}
.barq-nav a{font-weight:700}
.barq-hero{background:#191914;color:#fffaf0;padding-block:clamp(40px,7vw,94px)}
.barq-hero .barq-wrap{gap:clamp(24px,5vw,70px)}
.barq-hero h1{font-weight:900;letter-spacing:normal;line-height:1.22;font-size:clamp(2.6rem,5vw,5rem)}
.barq-hero p{color:#e0d9c7;max-width:36ch}
.barq-hero .barq-kicker{color:#191914}
.barq-hero img{border-radius:14px;aspect-ratio:1.15;object-position:70% center}
.barq-section h2,.barq-quote h2{font-weight:900}
.barq-products{gap:22px}
.barq-products li{padding:0;overflow:hidden;display:flex;flex-direction:column;background:#fffdf8}
.barq-product-image{background:#ebe2d2}
.barq-product-image img{display:block;width:100%;aspect-ratio:1.17;object-fit:cover}
.barq-product-copy{padding:18px 21px 22px;display:flex;flex-direction:column;flex:1}
.barq-product-copy h3{margin:0 0 6px;font-weight:800}
.barq-product-copy p{margin-bottom:14px}
.barq-product-link{margin-top:auto;align-self:flex-start;text-underline-offset:5px;font-weight:800}
.barq-product-link span{color:#736000;padding-inline:5px}
.barq-gallery-note{font-size:.9rem;color:#5b5548;margin-top:17px}
.barq-work .barq-wrap{padding-block:28px;border-top:1px solid #e7dfce}
@media(max-width:620px){.barq-products{grid-template-columns:1fr;gap:18px}.barq-product-image img{aspect-ratio:1.35}.barq-hero img{aspect-ratio:1.3}}

.barq-header .barq-wrap{min-height:78px}
.barq-hero{background:radial-gradient(ellipse at 70% 15%,#2d2a20,#191914 70%)}
.barq-hero img{border:1px solid #fff3;box-shadow:0 14px 45px #0004}
.barq-products li{border-radius:16px}
.barq-product-image{overflow:hidden}
.barq-product-image img{transition:transform .35s ease}
.barq-products li:hover .barq-product-image img{transform:scale(1.035)}
.barq-quote .barq-form{border:1px solid #fff2}
@media(prefers-reduced-motion:reduce){.barq-product-image img{transition:none}}


.barq-showcase-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:25px}
.barq-showcase-heading h2{margin-top:13px}
.barq-showcase-heading p{margin:0;color:var(--muted);max-width:60ch}
.barq-showcase-heading .barq-button{flex:none}
.barq-showcase-feature{margin:0;border-radius:18px;overflow:hidden;background:#eee2d1;border:1px solid var(--line)}
.barq-showcase-feature img{display:block;width:100%;height:auto;border-radius:0}
.barq-showcase-gallery{list-style:none;padding:0;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin:16px 0 0}
.barq-showcase-gallery li{min-width:0}
.barq-showcase-gallery a{display:block;height:100%;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fffdf8;text-decoration:none}
.barq-showcase-gallery a:hover span{text-decoration:underline;text-underline-offset:4px}
.barq-showcase-gallery img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:0}
.barq-showcase-gallery span{display:block;padding:9px 10px;font-weight:800;font-size:.92rem}
.barq-products li{scroll-margin-top:24px}
@media(max-width:900px){.barq-showcase-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.barq-showcase-heading{align-items:flex-start;flex-direction:column}.barq-showcase-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Black marble campaign */
.barq-button{
  min-height:54px;gap:14px;padding:11px 20px;border:1px solid #f8d342;border-radius:999px;
  background:linear-gradient(145deg,#ffe37b 0%,#ffd329 58%,#efb810 100%);
  box-shadow:0 3px 0 #775900,0 8px 19px #8b65001e;
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease
}
.barq-button::after{
  content:"";display:inline-block;flex:none;margin-inline-start:2px;width:9px;height:9px;
  border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg)
}
[dir="rtl"] .barq-button::after{transform:rotate(135deg)}
.barq-button:hover{background:#ffe474;transform:translateY(-2px);box-shadow:0 4px 0 #775900,0 12px 24px #8b650038}
.barq-button:active{transform:translateY(1px);box-shadow:0 1px 0 #775900}
.barq-button:focus-visible{outline:3px solid #ae7511;outline-offset:5px}
.barq-button-compact{min-height:44px;padding-block:5px;box-shadow:none}
.barq-button-outline{background:transparent;border-color:#b4a67d;color:#fffaf0;box-shadow:none}
.barq-button-outline:hover{background:#ffffff14;box-shadow:none}
.barq-hero{background:#131310}
.barq-hero img{object-position:center;aspect-ratio:1.5;object-fit:contain;border-color:#d9bb623b}
.barq-product-image,.barq-showcase-feature{background:#181817}
.barq-product-image img{aspect-ratio:1;object-fit:contain}
.barq-product-link{
  display:inline-flex;align-items:center;gap:6px;padding:5px 12px;border:1px solid #d6c6a2;border-radius:999px;
  color:#28241a;text-decoration:none;transition:background .18s ease,border-color .18s ease
}
.barq-product-link:hover{background:#ffeb96;border-color:#c99e22}
@media(max-width:620px){.barq-hero .barq-actions .barq-button{min-height:48px;padding-inline:13px;gap:8px}.barq-product-image img{aspect-ratio:1}}
@media(prefers-reduced-motion:reduce){.barq-button,.barq-product-link{transition:none}.barq-button:hover,.barq-button:active{transform:none}}

/* Navigation and contact */
.barq-header{background:#181813;color:#fffaf0;border-bottom:2px solid #eac641}
.barq-header .barq-wrap{min-height:80px}
.barq-brand{line-height:1.26;gap:11px}
.barq-brand small{display:block;font:700 .65rem/1.3 Arial,sans-serif;letter-spacing:.16em;color:#dac991;margin-top:4px}
.barq-header .barq-brand img,.barq-footer .barq-brand img{width:46px;height:46px}
.barq-nav a:hover,.barq-text-link:hover{text-decoration:none}
.barq-text-link,.barq-secondary{
  text-decoration:none;
  background:linear-gradient(90deg,#f2c928,#a78930) no-repeat 100% 100% / 100% 1px;
  padding-block-end:3px;
  transition:background-size .18s ease
}
.barq-nav .barq-text-link{background-size:0 2px}
.barq-text-link:hover,.barq-text-link:focus-visible,.barq-secondary:hover,.barq-secondary:focus-visible{background-size:100% 2px}
.barq-button-whatsapp,.barq-button-whatsapp:hover{
  color:#fffbed;background:linear-gradient(115deg,#064a34,#096641);
  border:1px solid #f2cd46;box-shadow:inset 0 0 0 2px #111d1433,0 4px 14px #031f1830
}
.barq-button-whatsapp:hover{background:linear-gradient(115deg,#086044,#137951)}
.barq-button-whatsapp::after{color:#f7d75b}
.barq-button-whatsapp svg,.barq-wa-contact svg{color:#f7d75b;flex:none}
.barq-wa-contact{display:inline-flex;align-items:center;gap:8px}
.barq-footer{background:radial-gradient(ellipse at top right,#292518,#181813 66%);color:#fffaf0;border-top:2px solid #eac641}
.barq-footer .barq-footer-inner{display:block;padding-block:41px 19px}
.barq-footer-grid{display:grid;grid-template-columns:1.1fr 1fr 1.3fr;gap:26px}
.barq-footer p{color:#d7cdb8;margin:12px 0 0}
.barq-footer h2{font-size:1.05rem;margin:0 0 11px}
.barq-footer-nav,.barq-footer-meta{display:flex;flex-wrap:wrap;gap:8px 16px}
.barq-footer-meta{margin-top:24px;border-top:1px solid #f1d88a33;padding-top:13px;color:#dfd6bf;font-size:.88rem}
.barq-social{gap:7px}
.barq-social-link{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border:1px solid #eac64155;border-radius:999px;text-decoration:none}
.barq-social-link svg{color:#f4d362}
.barq-social-link:hover{background:#ffffff14}
.barq-social-wa{background:#07543b;border-color:#eac641}
.barq-social-wa:hover{background:#096641}
@media(max-width:900px){.barq-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.barq-footer-grid{grid-template-columns:1fr;gap:19px}.barq-header .barq-wrap{flex-wrap:wrap;padding-block:11px;min-height:0}.barq-header .barq-nav{order:3;width:100%;display:flex;justify-content:space-between;gap:6px;font-size:.8rem}.barq-header .barq-brand img{width:38px;height:38px}}
@media(prefers-reduced-motion:reduce){.barq-text-link,.barq-secondary{transition:none}}
