*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Georgia, serif;
    background:#fffdf8;
    color:#2b2118;
}

.top-bar{
    background:#3b2a1e;
    color:#fffdf8;
    text-align:center;
    padding:10px;
    font-size:15px;
    letter-spacing:.5px;
}
.main-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 70px;
    background:white;
    position:sticky;
    top:0;
    z-index:1000;
    box-shadow:0 3px 18px rgba(0,0,0,.05);
}
.logo{
    width:340px;
    height:auto;
    display:block;
}

nav{
    display:flex;
    gap:42px;
}

nav a{
    color:#3B2A1E;
    text-decoration:none;
    margin:0 18px;
    font-size:18px;
    font-weight:600;
    transition:.25s;
}

nav a:hover{
    color:#556B2F;
}

nav a:hover{
    color:#456b2f;
    border-bottom:2px solid #456b2f;
}

.hero{
    min-height:520px;
    display:grid;
    grid-template-columns:1fr 1.5fr 1fr;
    align-items:center;
    overflow:hidden;
}

.hero-left-v3 img,
.hero-right-v3 img{
    width:100%;
    max-width:620px;
}

.left-img{
    margin-left:-40px;
}

.right-img{
    margin-right:-80px;
}

.hero-text{
    text-align:center;
}

.hero-text h1{
    font-size:72px;
    color:#2b1b12;
    margin-bottom:12px;
}

.hero-text h2{
    font-size:50px;
    font-style:italic;
    font-weight:normal;
    color:#456b2f;
    margin-bottom:30px;
}

.hero-text p{
    font-size:22px;
    line-height:1.6;
    margin-bottom:35px;
}

.hero-btn{
    display:inline-block;
    margin-top:30px;
    background:#556B2F;
    color:white;
    text-decoration:none;
    padding:18px 42px;
    border-radius:40px;
    font-size:18px;
    font-weight:bold;
    transition:.3s;
}

.hero-btn:hover{
    background:#445522;
    transform:translateY(-3px);
}

.collection{
    padding:25px 7% 70px;
}

.collection h2{
    text-align:center;
    color:#456b2f;
    font-size:42px;
}

.divider{
    text-align:center;
    color:#456b2f;
    margin:10px 0 35px;
    font-size:22px;
}

.products{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:30px;
}

.card{
    background:white;
    border:1px solid #eee6db;
    border-radius:18px;
    padding:25px;
    display:grid;
    grid-template-columns:45% 55%;
    gap:20px;
    align-items:center;
    box-shadow:0 8px 25px rgba(0,0,0,.06);
}

.card img{
    width:100%;
}

.card h3{
    font-size:26px;
    margin-bottom:12px;
}

.card p{
    font-size:17px;
    line-height:1.45;
    margin-bottom:15px;
}

.card strong{
    display:inline-block;
    font-size:24px;
    margin-bottom:18px;
}

@media(max-width:900px){
    .main-header{
        height:auto;
        flex-direction:column;
        padding:20px;
    }

    .logo{
    width:220px;
    height:auto;
    transition:.3s;
}

.logo:hover{
    transform:scale(1.03);
}

    nav{
        margin-top:15px;
        gap:18px;
        flex-wrap:wrap;
        justify-content:center;
    }

    .hero{
        grid-template-columns:1fr;
        padding:20px;
        text-align:center;
    }

    .hero-img{
        width:300px;
        margin:0 auto;
    }

    .hero-text h1{
        font-size:42px;
    }

    .hero-text h2{
        font-size:34px;
    }

    .products{
        grid-template-columns:1fr;
    }

    .card{
        grid-template-columns:1fr;
        text-align:center;
    }
}
.page-title{
    text-align:center;
    padding:60px 20px 20px;
}

.page-title h1{
    font-size:52px;
    color:#2b1b12;
}

.page-title p{
    font-size:20px;
    color:#666;
    margin-top:12px;
}

.shop-card{
    background:white;
    border:1px solid #eee6db;
    border-radius:18px;
    padding:25px;
    text-align:center;
    box-shadow:0 8px 25px rgba(0,0,0,.06);
}

.shop-card img{
    width:100%;
    height:320px;
    object-fit:cover;
    object-position:center;
    border-radius:14px;
    margin-bottom:15px;
}
.shop-card h3{
    font-size:26px;
    margin-bottom:10px;
}

.shop-card p{
    font-size:17px;
    margin-bottom:14px;
}

.shop-card strong{
    display:inline-block;
    font-size:24px;
    margin-bottom:18px;
}
/* ===== PETTY'S HOMEPAGE V2 ===== */

.hero-v2{
    min-height:720px;
    display:grid;
    grid-template-columns:1fr 1.2fr 1fr;
    align-items:center;
    background:#FAF8F2;
    overflow:hidden;
    padding:40px 5%;
}

.hero-art img{
    width:100%;
    max-width:520px;
}

.hero-left img{
    margin-left:-20px;
}

.hero-right img{
    margin-right:-40px;
}

.hero-copy{
    text-align:center;
}

.hero-copy h1{
    font-size:82px;
    line-height:1.05;
    color:#3B2A1E;
    margin-bottom:15px;
}

.hero-copy h1 span{
    color:#556B2F;
}

.hero-copy h2{
    font-size:48px;
    font-weight:400;
    color:#C9A35A;
    margin-bottom:25px;
}

.hero-copy h2 em{
    color:#C9A35A;
}

.hero-copy p{
    font-size:20px;
    line-height:1.6;
    margin-bottom:30px;
}

.collection-v2{
    padding:35px 5% 55px;
    background:#fffdf8;
}

.collection-v2 h2{
    text-align:center;
    font-size:42px;
    text-transform:uppercase;
    letter-spacing:3px;
    margin-bottom:35px;
}

.products-v2{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:35px;
    max-width:1200px;
    margin:40px auto 0;
}

.product-card-v2{
    background:#ffffff;
    border:1px solid #efe8dc;
    border-radius:22px;
    padding:30px;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,.07);
    transition:.35s;
}

.product-card-v2:hover{
    transform:translateY(-8px);
    box-shadow:0 18px 40px rgba(0,0,0,.12);
}

.product-card-v2 img{
    width:100%;
    border-radius:10px;
    margin-bottom:12px;
}

.product-card-v2 h3{
    font-size:20px;
    margin-bottom:8px;
}

.product-card-v2 p{
    font-size:14px;
    line-height:1.4;
    min-height:40px;
}

.product-card-v2 strong{
    display:block;
    font-size:20px;
    margin:12px 0;
}

.product-card-v2 a{
    display:block;
    background:#556B2F;
    color:white;
    text-decoration:none;
    padding:10px;
    border-radius:6px;
    text-transform:uppercase;
    font-size:13px;
    letter-spacing:1px;
}

@media(max-width:1000px){
    .hero-v2{
        grid-template-columns:1fr;
        text-align:center;
        padding:20px;
    }

    .hero-art img{
        max-width:320px;
        margin:auto;
    }

    .hero-copy h1{
        font-size:46px;
    }

    .products-v2{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:600px){
    .products-v2{
        grid-template-columns:1fr;
    }
}
/* ===== HOMEPAGE V3 ===== */

.hero-v3{
    min-height:620px;
    display:grid;
    grid-template-columns:1.1fr 1.15fr 1.1fr;
    align-items:center;
    background:#FAF8F2;
    overflow:hidden;
    padding:15px 3% 0;
}

.hero-left-v3 img,
.hero-right-v3 img{
    width:100%;
    max-width:560px;
}

.hero-copy-v3{
    text-align:center;
}

.hero-copy-v3 h1{
    font-size:72px;
    line-height:1.05;
    color:#3B2A1E;
}

.hero-copy-v3 h1 span{
    color:#556B2F;
}

.hero-copy-v3 h2{
    font-size:54px;
    font-weight:400;
    color:#3B2A1E;
    margin:10px 0 25px;
}

.hero-copy-v3 h2 em{
    color:#C9A35A;
}

.hero-copy-v3 p{
    font-size:20px;
    line-height:1.6;
    margin-bottom:30px;
}

.collection-v3{
    padding:35px 4% 60px;
    background:#fffdf8;
}

.collection-v3 h2{
    text-align:center;
    color:#556B2F;
    text-transform:uppercase;
    letter-spacing:3px;
    font-size:34px;
    margin-bottom:30px;
}

.products-v3{
    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:20px;
}

.product-card-v3{
    background:white;
    border:1px solid #eee6db;
    border-radius:16px;
    padding:20px;
    text-align:center;
    box-shadow:0 8px 24px rgba(0,0,0,.07);
}

.product-card-v3 img{
    width:100%;
    border-radius:12px;
    margin-bottom:14px;
}

.product-card-v3 h3{
    font-size:20px;
    margin-bottom:8px;
}

.product-card-v3 p{
    font-size:14px;
    min-height:42px;
}

.product-card-v3 strong{
    display:block;
    font-size:20px;
    margin:14px 0;
}

.product-card-v3 a{
    display:block;
    background:#556B2F;
    color:white;
    text-decoration:none;
    padding:10px;
    border-radius:6px;
    text-transform:uppercase;
    font-size:13px;
    letter-spacing:1px;
}

@media(max-width:1000px){
    .hero-v3{
        grid-template-columns:1fr;
        text-align:center;
    }

    .products-v3{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:600px){
    .products-v3{
        grid-template-columns:1fr;
    }

    .hero-copy-v3 h1{
        font-size:44px;
    }
}
/* FINAL HOMEPAGE OVERRIDE */

.main-header{
    min-height:95px;
    padding:10px 60px;
}

.logo{
    width:190px;
}

.hero-v3{
    min-height:520px;
    padding:0 3%;
}

.hero-copy-v3 h1{
    font-size:64px;
}

.products-v3{
    grid-template-columns:repeat(6,1fr);
    max-width:1350px;
}

.product-card-v3{
    min-height:300px;
}
.main-nav{
    display:flex;
    align-items:center;
    gap:28px;
}

.nav-icon{
    text-decoration:none;
    font-size:24px;
    color:#3B2A1E;
    position:relative;
    transition:.3s;
}

.nav-icon:hover{
    transform:scale(1.15);
}

.cart-icon span{
    position:absolute;
    top:-8px;
    right:-10px;
    background:#556B2F;
    color:white;
    font-size:12px;
    width:20px;
    height:20px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:bold;
}
/* ==========================
   ADMIN DROPDOWN MENU
========================== */

.admin-menu{
    position: relative;
}

.admin-link{
    text-decoration: none;
    color:#3B2A1E;
    font-weight:600;
    cursor:pointer;
}

.admin-dropdown{
    display:none;
    position:absolute;
    top:100%;
    left:0;
    min-width:180px;
    background:white;
    border-radius:10px;
    box-shadow:0 8px 20px rgba(0,0,0,.15);
    overflow:hidden;
    z-index:999;
}

.admin-dropdown a{
    display:block;
    padding:12px 18px;
    color:#3B2A1E;
    text-decoration:none;
}

.admin-dropdown a:hover{
    background:#f5f5f5;
}

.admin-menu:hover .admin-dropdown{
    display:block;
}
/* ==========================
   MOBILE HEADER FIX
========================== */

body {
    overflow-x: hidden;
}

.main-nav a {
    margin: 0;
}

@media (max-width: 768px) {
    .top-bar {
        font-size: 13px;
        padding: 8px 12px;
    }

    .main-header {
        flex-direction: column;
        justify-content: center;
        padding: 12px 15px;
        gap: 10px;
    }

    .logo {
        width: 170px;
    }

    .main-nav {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px 18px;
    }

    .main-nav a,
    .admin-link {
        font-size: 16px;
    }

    .nav-icon {
        font-size: 21px;
    }

    .admin-menu {
        position: relative;
    }

    .admin-dropdown {
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
    }
}
/* ==========================
   MOBILE SHOP FIX
========================== */

@media (max-width: 768px) {
    .page-title {
        padding: 35px 15px;
        text-align: center;
    }

    .page-title h1 {
        font-size: 34px;
    }

    .collection {
        padding: 25px 15px;
    }

    .shop-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .shop-card {
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
    }

    .shop-card img {
        max-width: 220px;
        height: auto;
    }
}
/* ===========================
   ADMIN DROPDOWN MENU
=========================== */

.admin-menu {
    position: relative;
    display: inline-block;
}

.admin-link {
    text-decoration: none;
    color: inherit;
    padding: 10px 15px;
    display: block;
}

.admin-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,.15);
    z-index: 9999;
}

.admin-dropdown a {
    display: block;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
}

.admin-dropdown a:hover {
    background: #f4f4f4;
}

.admin-menu:hover .admin-dropdown {
    display: block;
}
.admin-layout {
    display: flex;
    min-height: 70vh;
}

.admin-sidebar {
    width: 240px;
    background: #556B2F;
    color: white;
    padding: 25px;
}

.admin-sidebar a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 12px 0;
}

.admin-main {
    flex: 1;
    padding: 40px;
    background: #f7f5ef;
}

.admin-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.admin-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0,0,0,.08);
}

.admin-card h3 {
    margin-bottom: 10px;
}

.admin-card p {
    font-size: 2rem;
    font-weight: bold;
}
.admin-page {
    display: flex;
    min-height: 100vh;
    background: #f7f5ef;
}

.admin-sidebar {
    width: 280px;
    background: #556B2F;
    color: white;
    padding: 30px 22px;
}

.admin-sidebar h2 {
    margin-bottom: 5px;
}

.admin-sidebar p {
    margin-bottom: 25px;
    opacity: .85;
}

.admin-sidebar a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 12px 10px;
    border-radius: 6px;
}

.admin-sidebar a:hover {
    background: rgba(255,255,255,.15);
}

.admin-content {
    flex: 1;
    padding: 50px;
}

.admin-header {
    margin-bottom: 25px;
}

.admin-header h1 {
    font-size: 2rem;
    margin-bottom: 5px;
}

.quick-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.quick-actions a {
    background: #556B2F;
    color: white;
    padding: 12px 18px;
    border-radius: 8px;
    text-decoration: none;
}

.admin-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.admin-card {
    background: white;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
}

.admin-card h3 {
    margin-bottom: 12px;
}

.admin-card p {
    font-size: 2rem;
    font-weight: bold;
}
.admin-table-card {
    background: white;
    border-radius: 14px;
    padding: 25px;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    background: #556B2F;
    color: white;
    padding: 14px;
    text-align: left;
}

.admin-table td {
    padding: 14px;
    border-bottom: 1px solid #ddd;
}

.admin-table tr:hover {
    background: #f7f5ef;
}
.admin-form-card {
    background: white;
    max-width: 750px;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
}

.admin-form-card label {
    display: block;
    font-weight: bold;
    margin-bottom: 6px;
}

.admin-form-card input,
.admin-form-card textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 18px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.admin-form-card button {
    background: #556B2F;
    color: white;
    padding: 12px 22px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.cancel-link {
    margin-left: 15px;
    color: #556B2F;
    text-decoration: none;
}
.table-action {
    background: #556B2F;
    color: white;
    padding: 7px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
}
.admin-form-card select {
    width: 100%;
    padding: 12px;
    margin-bottom: 18px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
}
.table-delete {
    background: #c0392b;
    color: white;
    border: none;
    padding: 7px 12px;
    border-radius: 6px;
    cursor: pointer;
    margin-left: 8px;
}

.table-delete:hover {
    background: #a93226;
}
.product-thumb {
    width: 55px;
    height: 55px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #ddd;
}
/* ==========================================
   PETTY'S CARE FOOTER
========================================== */

.footer{
    background:#3f4f26;
    color:#ffffff;
    margin-top:70px;
    padding:55px 20px 25px;
}

.footer-container{
    width:90%;
    max-width:1200px;
    margin:0 auto;
    display:grid;
    grid-template-columns:1.2fr 1fr 1.2fr;
    gap:50px;
}

.footer h2,
.footer h3{
    margin-top:0;
}

.footer-brand h2{
    font-size:1.8rem;
    letter-spacing:2px;
    margin-bottom:18px;
}

.footer-brand p{
    margin:5px 0;
    color:#e6eadb;
}

.footer-links{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
}

.footer-links h3,
.footer-newsletter h3{
    margin-bottom:18px;
    font-size:1.1rem;
}

.footer-links a{
    color:#e6eadb;
    text-decoration:none;
    margin-bottom:10px;
    transition:.3s;
}

.footer-links a:hover{
    color:#ffffff;
    transform:translateX(4px);
}

.footer-newsletter p{
    color:#e6eadb;
    line-height:1.7;
    margin:0;
}

.footer hr{
    width:90%;
    max-width:1200px;
    margin:40px auto 22px;
    border:none;
    border-top:1px solid rgba(255,255,255,.25);
}

.footer-bottom{
    width:90%;
    max-width:1200px;
    margin:0 auto;
    display:flex;
    justify-content:space-between;
    gap:20px;
    color:#d8dec9;
    font-size:.9rem;
}

.footer-bottom p{
    margin:0;
}

@media (max-width:800px){

    .footer-container{
        grid-template-columns:1fr;
        gap:35px;
        text-align:center;
    }

    .footer-links{
        align-items:center;
    }

    .footer-bottom{
        flex-direction:column;
        text-align:center;
    }
}
/* =========================
   ADMIN SIDEBAR MENU
========================= */

.admin-brand h2 {
    margin-bottom: 4px;
}

.admin-brand p {
    margin-top: 0;
    opacity: 0.8;
}

.menu-title {
    display: block;
    margin-top: 18px;
    margin-bottom: 6px;
    padding-left: 10px;
    font-size: 11px;
    letter-spacing: 1px;
    color: #d7dfc8;
    font-weight: bold;
    text-transform: uppercase;
}

.admin-sidebar hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin: 15px 0;
}

.admin-sidebar a {
    display: block;
    padding: 10px 12px;
    margin-bottom: 4px;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    transition: background 0.2s ease, transform 0.2s ease;
}

.admin-sidebar a:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(3px);
}
