/*
 Theme Name:   Divi Child – William Signature
 Theme URI:    https://williamsignature.com/
 Description:  Rosewood, blush & champagne child theme for William Signature (nail supply).
 Author:       William Signature
 Template:     Divi
 Version:      1.0.1
 Text Domain:  divi-child
*/

/* 1. TOKENS */
:root {
	--g-rose: #8E3B5A;
	--g-rose-dk: #722A46;
	--g-blush: #F1B4C4;
	--g-blush-lt: #FBEEF1;
	--g-champ: #CBA66B;
	--g-champ-dk: #9A7A45;
	--g-onyx: #171416;
	--g-onyx-2: #26202A;
	--g-ivory: #FBF8F4;
	--g-text: #504A4E;
	--g-line: rgba(23, 20, 22, .12);
	--g-radius: 4px;
	--g-shadow: 0 24px 44px -30px rgba(23, 20, 22, .6);
	--g-head: 'Libre Caslon Text', Georgia, serif;
	--g-body: 'Sora', 'Helvetica Neue', Arial, sans-serif;
}

/* 2. BASE */
body, body p, #main-content, .et_pb_text { font-family: var(--g-body); color: var(--g-text); font-weight: 400; }
body { font-size: 16px; line-height: 1.78; background: #fff; }
body strong, body b { font-weight: 600; }
h1, h2, h3, h4, h5, h6, .entry-title { font-family: var(--g-head); color: var(--g-onyx); font-weight: 400; letter-spacing: -.01em; }
a { color: var(--g-rose); }
a:hover { color: var(--g-onyx); }
::selection { background: var(--g-rose); color: #fff; }

/* 3. HEADER */
#top-header { background: var(--g-onyx) !important; }
#main-header { background: #fff; box-shadow: 0 1px 0 var(--g-line); }
#main-header .container { width: 92%; max-width: 1280px; }
#logo { max-height: 92%; }
.et-fixed-header #logo { max-height: 90%; }
#top-menu li { padding-right: 16px; }
#top-menu a, .et_mobile_menu a { font-family: var(--g-body); font-size: 14px; font-weight: 500; color: var(--g-onyx); }
#top-menu li.current-menu-item > a, #top-menu a:hover { color: var(--g-rose) !important; opacity: 1; }
.et_mobile_menu { border-top-color: var(--g-champ); }
.mobile_menu_bar:before, #et_search_icon:before { color: var(--g-onyx); }

/* 4. HELPERS */
.wsg-wrap { width: 90%; max-width: 1200px; margin: 0 auto; }
.g-tag { display: inline-block; font-family: var(--g-body); font-size: 12px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--g-champ-dk); margin-bottom: 14px; }
.g-title { font-size: clamp(30px, 3.2vw, 46px); line-height: 1.2; margin-bottom: 14px; }
.g-title em { color: var(--g-rose); }
.g-lead { font-size: 16.5px; line-height: 1.8; max-width: 640px; }
.g-center { text-align: center; }
.g-center .g-lead { margin: 0 auto; }
.g-center .g-btns { justify-content: center; }
.g-rule { display: block; width: 60px; height: 1px; background: var(--g-champ); margin: 0 0 18px; }
.g-center .g-rule { margin: 0 auto 18px; }
.g-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.g-btn { display: inline-block; padding: 14px 30px; border-radius: 0; background: var(--g-rose); color: #fff !important; font-family: var(--g-body); font-weight: 500; font-size: 13.5px; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; transition: background .25s ease; }
.g-btn:hover { background: var(--g-onyx); }
.g-btn--line { background: transparent; color: var(--g-onyx) !important; box-shadow: inset 0 0 0 1px var(--g-onyx); }
.g-btn--line:hover { background: var(--g-onyx); color: #fff !important; }
.g-link { display: table; margin-top: 8px; font-family: var(--g-body); font-weight: 500; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--g-rose); text-decoration: none; border-bottom: 1px solid var(--g-champ); padding-bottom: 3px; }
.g-coll, .g-coll li, .g-sig, .g-sig li, .g-shine, .g-shine li, .wsg-footer ul, .wsg-footer li { list-style: none !important; }
.g-coll br, .g-coll p:empty, .g-sig br, .g-shine br, .g-shine p:empty, .g-notes br, .g-card-body p:empty, .g-fin br, .g-fin p:empty { display: none; }
.g-coll > p, .g-coll li > p, .g-sig > p, .g-shine > p, .g-shine li > p, .g-notes > p, .g-card > p { display: contents; }

/* 5. HERO */
.g-hero { background: linear-gradient(180deg, var(--g-blush-lt) 0%, #fff 100%); padding: 60px 0 70px !important; }
.g-hero h1 { font-size: clamp(38px, 4.4vw, 60px); line-height: 1.1; margin-bottom: 18px; }
.g-hero h1 em { color: var(--g-rose); }
.g-sig { display: flex; flex-wrap: wrap; gap: 22px; padding: 22px 0 0 !important; margin: 30px 0 0; border-top: 1px solid var(--g-line); }
.g-sig li { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--g-text); }
.g-sig li b { display: block; font-family: var(--g-head); font-size: 26px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--g-rose); }
.g-hero-img .et_pb_image_wrap { display: block; border-radius: var(--g-radius); overflow: hidden; box-shadow: var(--g-shadow); position: relative; }
.g-hero-img img { width: 100%; display: block; }

/* 6. THE COLLECTION */
.g-coll-sec { background: #fff; padding: 86px 0 74px !important; }
.g-coll { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding: 0 !important; margin: 42px 0 0; }
.g-coll li { position: relative; padding: 30px 28px 28px; background: var(--g-ivory); border-top: 2px solid var(--g-champ); transition: background .3s ease, transform .3s ease; }
.g-coll li:hover { background: var(--g-blush-lt); transform: translateY(-4px); }
.g-coll span { display: block; font-family: var(--g-head); font-style: italic; font-size: 15px; color: var(--g-champ-dk); margin-bottom: 8px; }
.g-coll h3 { font-size: 23px; line-height: 1.3; margin: 0 0 8px; padding-bottom: 0; }
.g-coll p { font-size: 14.5px; line-height: 1.68; margin: 0 0 12px; padding-bottom: 0; }
.g-coll a { display: table; font-size: 12.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--g-rose); text-decoration: none; }
.g-coll a:before { content: ""; position: absolute; inset: 0; }

/* 7. THE FINISH (onyx) */
.g-fin-sec { background: var(--g-onyx); padding: 86px 0 74px !important; }
.g-fin-sec .g-title { color: #fff; }
.g-fin-sec .g-title em { color: var(--g-blush); }
.g-fin-sec .g-lead, .g-fin-sec p { color: rgba(255, 255, 255, .78); }
.g-fin-sec .g-tag { color: var(--g-champ); }
.g-fin-col .et_pb_image { margin-bottom: 0 !important; }
.g-fin-col .et_pb_image_wrap { display: block; border-radius: var(--g-radius); overflow: hidden; }
.g-fin-col .et_pb_image img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .6s ease; }
.g-fin-col:hover .et_pb_image img { transform: scale(1.04); }
.g-fin { padding: 22px 2px 0; }
.g-fin small { font-size: 11.5px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--g-champ); }
.g-fin h3 { color: #fff; font-size: 24px; margin: 6px 0 8px; padding-bottom: 0; }
.g-fin p { font-size: 15px; line-height: 1.7; margin-bottom: 10px; padding-bottom: 0; }
.g-fin .g-link { color: var(--g-blush); }

/* 8. PEACH EDIT */
.g-peach { background: var(--g-blush-lt); padding: 86px 0 !important; }
.g-peach-img .et_pb_image_wrap { display: block; border-radius: var(--g-radius); overflow: hidden; box-shadow: var(--g-shadow); }
.g-peach-img img { width: 100%; display: block; }
.g-shine { padding: 0 !important; margin: 20px 0 0; }
.g-shine li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--g-line); }
.g-shine li b { font-family: var(--g-head); font-style: italic; font-weight: 400; font-size: 26px; line-height: 1; color: var(--g-rose); }
.g-shine h3 { font-size: 18px; margin: 0 0 2px; padding-bottom: 0; }
.g-shine p { font-size: 14.5px; line-height: 1.6; margin: 0; padding-bottom: 0; }

/* 9. RUBBER + FOILS */
.g-duo { background: #fff; padding: 86px 0 !important; }
.g-duo-col .et_pb_image { margin-bottom: 0 !important; }
.g-duo-col .et_pb_image_wrap { display: block; border-radius: var(--g-radius); overflow: hidden; box-shadow: var(--g-shadow); }
.g-duo-col .et_pb_image img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.g-duo-box { padding: 26px 4px 0; }
.g-duo-box h3 { font-size: 26px; margin: 4px 0 8px; padding-bottom: 0; }
.g-duo-box p { font-size: 15px; line-height: 1.7; margin-bottom: 8px; padding-bottom: 0; }

/* 10. NOTEBOOK */
.g-notes-sec { background: var(--g-ivory); padding: 86px 0 !important; }
.g-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 26px; margin-top: 30px; }
.g-card { position: relative; display: flex; flex-direction: column; }
.g-card img { width: 100%; height: auto !important; aspect-ratio: 4 / 3; object-fit: cover; display: block; border-radius: var(--g-radius); transition: opacity .3s ease; }
.g-card:hover img { opacity: .86; }
.g-card-body { padding: 16px 2px 0; }
.g-card-body span { font-size: 11.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--g-champ-dk); }
.g-card h3 { font-size: 20px; line-height: 1.38; margin: 6px 0 8px; padding-bottom: 0; }
.g-card .g-link:before { content: ""; position: absolute; inset: 0; }

/* 11. CTA */
.g-cta { background: var(--g-rose); padding: 62px 0 !important; }
.g-cta-box { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.g-cta-box h2 { color: #fff; font-size: clamp(26px, 2.6vw, 38px); margin-bottom: 6px; }
.g-cta-box h2 em { color: var(--g-blush); }
.g-cta-box p { color: rgba(255, 255, 255, .9); max-width: 620px; }
.g-cta .g-btn { background: #fff; color: var(--g-rose) !important; }
.g-cta .g-btn:hover { background: var(--g-onyx); color: #fff !important; }

/* 12. FOOTER */
#main-footer { display: none !important; }
.wsg-footer { background: #fff; border-top: 1px solid var(--g-champ); padding: 64px 0 0; font-size: 15px; }
.wsg-footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.4fr .9fr; gap: 40px; padding-bottom: 46px; }
.wsg-footer-logo img { width: 220px; max-width: 100%; height: auto; display: block; margin-bottom: 16px; }
.wsg-footer p { color: var(--g-text); }
.wsg-footer h4 { font-family: var(--g-head); font-weight: 400; font-size: 20px; color: var(--g-onyx); margin-bottom: 14px; padding-bottom: 0; }
.wsg-footer ul { padding: 0 !important; margin: 0; }
.wsg-footer li { margin-bottom: 9px; line-height: 1.5; }
.wsg-footer a { color: var(--g-onyx); text-decoration: none; }
.wsg-footer a:hover { color: var(--g-rose); }
.wsg-footer-bottom { background: var(--g-onyx); color: rgba(255, 255, 255, .8); padding: 16px 0; text-align: center; font-size: 13px; letter-spacing: .06em; }

/* 13. BLOG */
.et_pb_post .entry-title a:hover { color: var(--g-rose); }
.post-meta a { color: var(--g-rose); }

/* 14. RESPONSIVE */
@media (max-width: 1100px) {
	.wsg-footer-grid { grid-template-columns: 1fr 1fr; }
	#top-menu li { padding-right: 10px; }
	#top-menu a { font-size: 13.5px; }
}
@media (max-width: 980px) {
	.g-hero-img { margin-top: 40px; }
	.g-coll, .g-notes { grid-template-columns: 1fr 1fr; }
	.g-coll-sec, .g-fin-sec, .g-peach, .g-duo, .g-notes-sec { padding: 58px 0 !important; }
	.g-fin-col, .g-duo-col { margin-bottom: 30px !important; }
	.g-peach-text { margin-top: 34px; }
}
@media (max-width: 640px) {
	.g-coll, .g-notes { grid-template-columns: 1fr; }
	.g-sig { gap: 22px; }
	.wsg-footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
