/*
Theme Name: Sweet Corner
Theme URI: https://example.com/sweet-corner
Author: Ariana Goseva
Description: A soft, pastel one-page theme for baking inspiration, blog posts and recommended baking tools (affiliate links). Pink, butter, sky and cream palette with serif headings.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sweet-corner
Tags: one-column, custom-logo, custom-menu, featured-images, blog, food-and-drink
*/

:root{
  --pink:#F8C8DC; --pink-deep:#B5476F; --butter:#FFF1B8; --sky:#C7E7F7;
  --cream:#FFF9F2; --cocoa:#70534A; --muted:#8A7068; --border:#EEDFD8;
  --radius:1rem; --shadow:0 10px 30px -14px rgba(112,83,74,.3);
  --serif:"Fraunces",Georgia,serif; --sans:"Outfit",system-ui,sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--cream);color:var(--cocoa);font-family:var(--sans);line-height:1.6;-webkit-font-smoothing:antialiased}
h1,h2,h3,h4{font-family:var(--serif);font-weight:500;letter-spacing:-.01em;line-height:1.2;margin:0 0 .5em}
a{color:inherit}
img{max-width:100%;height:auto;display:block}
.sc-wrap{max-width:72rem;margin:0 auto;padding:0 1.25rem}
.sc-eyebrow{font-size:.75rem;letter-spacing:.22em;text-transform:uppercase;font-weight:500;color:var(--pink-deep);margin:0 0 .5rem}
.sc-dots{background-image:radial-gradient(rgba(248,200,220,.7) 1.2px,transparent 1.2px);background-size:18px 18px}
.sc-btn{display:inline-block;border-radius:999px;padding:.85rem 1.75rem;background:var(--cocoa);color:var(--cream);text-decoration:none;font-size:.9rem;transition:transform .2s}
.sc-btn:hover{transform:translateY(-2px)}
.sc-btn--soft{background:var(--pink);color:var(--cocoa)}
.sc-btn--ghost{background:transparent;border:1px dashed var(--border);color:var(--muted)}

/* Header */
.sc-header{position:sticky;top:0;z-index:40;background:rgba(255,249,242,.88);backdrop-filter:blur(8px);border-bottom:1px solid var(--border)}
.sc-header .sc-wrap{display:flex;align-items:center;justify-content:space-between;padding-top:1rem;padding-bottom:1rem}
.sc-brand{font-family:var(--serif);font-style:italic;font-size:1.6rem;text-decoration:none;display:flex;align-items:center;gap:.5rem}
.sc-brand span{color:var(--pink-deep)}
.sc-brand img{height:44px;width:auto}
.sc-nav ul{list-style:none;margin:0;padding:0;display:flex;gap:2rem;font-size:.9rem}
.sc-nav a{text-decoration:none}
.sc-nav a:hover{color:var(--pink-deep)}
.sc-menu-toggle{display:none;background:none;border:0;font-size:1.5rem;color:var(--cocoa);cursor:pointer}
@media(max-width:768px){
  .sc-menu-toggle{display:block}
  .sc-nav{display:none;position:absolute;left:0;right:0;top:100%;background:var(--cream);border-bottom:1px solid var(--border);padding:1rem 1.25rem}
  .sc-nav.is-open{display:block}
  .sc-nav ul{flex-direction:column;gap:1rem}
}

/* Sections */
.sc-section{padding:5rem 0}
.sc-section__head{text-align:center;max-width:40rem;margin:0 auto 3rem}
.sc-section__head h2{font-size:clamp(2rem,4vw,2.75rem)}
.sc-section__head p{color:var(--muted)}

/* Hero */
.sc-hero{padding:5rem 0;border-bottom:1px solid var(--border)}
.sc-hero .sc-wrap{display:grid;gap:3rem;align-items:center;grid-template-columns:1.1fr 1fr}
.sc-hero h1{font-size:clamp(2.5rem,5vw,4rem)}
.sc-hero p{font-size:1.15rem;color:var(--muted);max-width:32rem}
.sc-hero__actions{display:flex;gap:.75rem;flex-wrap:wrap;margin-top:2rem}
.sc-hero__img{border-radius:2rem;overflow:hidden;box-shadow:var(--shadow);aspect-ratio:4/5;background:var(--pink)}
.sc-hero__img img{width:100%;height:100%;object-fit:cover}
@media(max-width:860px){.sc-hero .sc-wrap{grid-template-columns:1fr}}

/* Grids & cards */
.sc-grid{display:grid;gap:2rem;grid-template-columns:repeat(auto-fill,minmax(16rem,1fr))}
.sc-gallery{display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(14rem,1fr))}
.sc-gallery figure{margin:0;border-radius:1.5rem;overflow:hidden;aspect-ratio:1;box-shadow:var(--shadow)}
.sc-gallery img{width:100%;height:100%;object-fit:cover;transition:transform .7s}
.sc-gallery figure:hover img{transform:scale(1.05)}
.sc-card{text-decoration:none;display:block}
.sc-card__img{border-radius:1.5rem;overflow:hidden;aspect-ratio:4/5;background:var(--sky);box-shadow:var(--shadow)}
.sc-card__img img{width:100%;height:100%;object-fit:cover;transition:transform .7s}
.sc-card:hover .sc-card__img img{transform:scale(1.05)}
.sc-card h3{font-size:1.25rem;margin-top:.25rem}
.sc-card:hover h3{color:var(--pink-deep)}
.sc-card p{font-size:.9rem;color:var(--muted);margin:.25rem 0 0}
.sc-card .sc-eyebrow{margin-top:1rem}

.sc-product{display:flex;flex-direction:column;background:#fff;border:1px solid var(--border);border-radius:1.5rem;padding:1.25rem;box-shadow:var(--shadow)}
.sc-product__img{aspect-ratio:1;border-radius:1rem;overflow:hidden;background:rgba(199,231,247,.5)}
.sc-product__img img{width:100%;height:100%;object-fit:cover}
.sc-product h3{font-size:1.15rem;margin-top:.25rem}
.sc-product__body{flex:1;font-size:.9rem;color:var(--muted)}
.sc-product__body strong{color:var(--cocoa);font-weight:500}
.sc-product .sc-btn,.sc-product .sc-btn--ghost{margin-top:1.25rem;text-align:center}
.sc-badge{display:inline-block;background:var(--butter);border-radius:999px;padding:.15rem .6rem;font-size:.7rem;margin-left:.4rem;color:var(--cocoa);letter-spacing:0;text-transform:none}

.sc-note{background:rgba(255,241,184,.7);border-radius:1rem;padding:1rem 1.25rem;font-size:.9rem;margin-bottom:2.5rem}
.sc-about{background:rgba(248,200,220,.35)}
.sc-about .sc-wrap{max-width:46rem;text-align:center}
.sc-about p{font-size:1.1rem}

/* Single post */
.sc-single{max-width:44rem;margin:0 auto;padding:3.5rem 1.25rem}
.sc-single header{text-align:center}
.sc-single h1{font-size:clamp(2.2rem,4vw,3rem)}
.sc-single .sc-meta{font-size:.75rem;letter-spacing:.15em;text-transform:uppercase;color:var(--muted)}
.sc-single .sc-featured{margin:2.5rem -1rem;border-radius:2rem;overflow:hidden}
.sc-content{font-size:1.05rem}
.sc-content p{line-height:1.8}
.sc-content h2{font-size:1.75rem;margin-top:2.25rem}
.sc-content img{border-radius:1.25rem}
.sc-content figure{margin:2rem 0}
.sc-content .wp-block-gallery{gap:1rem}
.sc-pagination{display:flex;justify-content:center;gap:1rem;margin-top:3rem}

/* Footer */
.sc-footer{margin-top:6rem;background:rgba(248,200,220,.4);padding:3.5rem 0 2rem}
.sc-footer .sc-wrap{display:grid;gap:2rem;grid-template-columns:repeat(auto-fit,minmax(14rem,1fr))}
.sc-footer ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:.6rem;font-size:.9rem}
.sc-footer a{text-decoration:none}
.sc-footer__disclosure{font-size:.75rem;font-style:italic;color:var(--muted);align-self:end}
.sc-copy{text-align:center;font-size:.75rem;color:var(--muted);margin-top:2.5rem}
.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden}
