.panetto-home {
    --gold: #daa400;
    --brown: #29190f;
    --cream: #faf7ef;
    --cream2: #f2ece1;
    --text: #211b17;
    --muted: #70665d;
    --line: #e4dccf;

    background: #fffdf8;
    color: var(--text);
}

.panetto-home * {
    box-sizing: border-box;
}

.ph-section {
    max-width: 1440px;
    margin: 0 auto;
    padding: 78px clamp(28px, 6vw, 90px);
}

.ph-eyebrow {
    margin-bottom: 14px;
    color: #e1ad24;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .19em;
}

.ph-eyebrow--dark {
    color: #9d6d17;
}

.panetto-home h1,
.panetto-home h2,
.panetto-home h3 {
    font-family: Georgia, "Times New Roman", serif;
}

.panetto-home h2 {
    margin: 0 0 24px;
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1;
}

.ph-button {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 14px 24px;
    border: 0;
    border-radius: 999px;
    background: var(--gold);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.ph-button:hover {
    color: #fff;
    transform: translateY(-1px);
}

.ph-button--outline {
    background: transparent;
    border: 1px solid var(--gold);
    color: #9b7000;
}

.ph-button--outline:hover {
    background: var(--gold);
    color: #fff;
}



/* HERO */

.ph-hero {
    min-height: 650px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(
            90deg,
            rgba(22,13,8,.92),
            rgba(22,13,8,.68) 42%,
            rgba(22,13,8,.10) 78%
        ),
        url("home-hero.png")
        center / cover no-repeat;
    color: #fff;
}

.ph-hero__inner {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 90px clamp(28px, 7vw, 110px);
}

.ph-hero h1 {
    max-width: 700px;
    margin: 0 0 24px;
    font-size: clamp(64px, 8vw, 110px);
    line-height: .92;
}

.ph-hero p {
    max-width: 610px;
    margin: 0 0 32px;
    font-size: 22px;
    line-height: 1.55;
}


/* ABOUT */

.ph-about {
    display: grid;
    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(280px, .75fr)
        minmax(260px, .65fr);
    gap: 26px;
    align-items: stretch;
}

.ph-about__text {
    padding-right: 36px;
}

.ph-about__text p {
    max-width: 670px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.8;
}

.ph-about__image {
    width: 100%;
    height: 100%;
    min-height: 430px;
    border-radius: 8px;
    background:
        linear-gradient(
            rgba(30,18,11,.05),
            rgba(30,18,11,.05)
        ),
        url("images/about-panetto.jpg")
        68% center / cover no-repeat;
}

.ph-about__cards {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
}

.ph-info-card {
    display: flex;
    gap: 18px;
    padding: 28px;
    border-radius: 8px;
    background: #f5ead8;
    color: var(--text);
    text-decoration: none;
}

.ph-info-card--dark {
    background: #3a2417;
    color: #fff;
}

.ph-info-card__icon {
    min-width: 48px;
    font-weight: 800;
    color: var(--gold);
}

.ph-info-card h3 {
    margin: 0 0 8px;
    font-size: 24px;
}

.ph-info-card p {
    margin: 0 0 14px;
    line-height: 1.5;
    opacity: .8;
}

.ph-info-card span:not(.ph-button) {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}


/* PRODUCTS */

.ph-products {
    border-top: 1px solid var(--line);
}

.ph-section-heading {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 34px;
}

.ph-section-heading__right {
    max-width: 520px;
}

.ph-section-heading__right p {
    margin-top: 10px;
    color: var(--muted);
    line-height: 1.6;
}

.ph-product-grid,
.ph-product-preview {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.ph-product-card,
.ph-product-preview > div {
    overflow: hidden;
    min-height: 330px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(45,28,15,.05);
}

.ph-product-card__image {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--cream2);
}

.ph-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ph-product-placeholder,
.ph-product-preview > div {
    display: flex;
    align-items: flex-end;
    padding: 24px;
    background:
        linear-gradient(
            180deg,
            rgba(22,13,8,.05),
            rgba(22,13,8,.76)
        ),
        url("images/produtos-panetto.jpg")
        center / cover no-repeat;
    color: #fff;
}

.ph-product-preview > div:nth-child(2) {
    background-position: 60% center;
}

.ph-product-preview > div:nth-child(3) {
    background-position: 72% center;
}

.ph-product-preview > div:nth-child(4) {
    background-position: 82% center;
}

.ph-product-preview span {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
}

.ph-product-card__body {
    padding: 20px;
}

.ph-product-card h3 {
    margin: 0 0 10px;
    font-size: 24px;
}

.ph-product-card h3 a {
    color: inherit;
    text-decoration: none;
}

.ph-product-card p {
    color: var(--muted);
    line-height: 1.5;
}

.ph-product-card strong {
    color: #b47d00;
    font-size: 20px;
}


/* ACTIONS */

.ph-actions {
    display: grid;
    grid-template-columns: 1.4fr .8fr;
    gap: 20px;
    padding-top: 20px;
}

.ph-action-card {
    min-height: 320px;
    padding: 46px;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
}

.ph-action-card:hover {
    color: #fff;
}

.ph-action-card h2 {
    font-size: 48px;
}

.ph-action-card p {
    max-width: 520px;
    font-size: 17px;
    line-height: 1.6;
}

.ph-action-card--shop {
    background:
        linear-gradient(
            90deg,
            rgba(28,16,9,.92),
            rgba(28,16,9,.35)
        ),
        url("images/loja-panetto.jpg")
        center / cover no-repeat;
}

.ph-action-card--jobs {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(
            135deg,
            rgba(34,20,13,.88),
            rgba(34,20,13,.52)
        ),
        url("images/hero-panetto-aprovado.png")
        center / cover no-repeat;
}


/* LOCATION */

.ph-location {
    display: grid;
    grid-template-columns: .75fr 1.35fr .8fr;
    gap: 24px;
    border-top: 1px solid var(--line);
}

.ph-location__details,
.ph-company {
    padding: 26px;
}

.ph-location h2 {
    font-size: 36px;
}

.ph-location p {
    color: var(--muted);
    line-height: 1.7;
}

.ph-text-link {
    color: #a87500;
    font-weight: 700;
}

.ph-map-placeholder {
    min-height: 310px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background:
        radial-gradient(
            circle at 50% 50%,
            #e9dfcc,
            #d8e0db
        );
}

.ph-map-placeholder > div {
    text-align: center;
}

.ph-map-pin {
    display: block;
    color: var(--gold);
    font-size: 58px;
}


/* CONTACT */

.ph-contact {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 70px;
    padding: 80px max(30px, calc((100vw - 1280px)/2));
    background: #f6f0e5;
}

.ph-contact__intro h2 {
    margin-bottom: 18px;
}

.ph-contact__intro p {
    max-width: 460px;
    color: var(--muted);
    line-height: 1.7;
}

.ph-contact__form {
    display: grid;
    gap: 15px;
}

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

.ph-contact label {
    display: grid;
    gap: 7px;
    font-size: 13px;
    font-weight: 700;
}

.ph-contact input,
.ph-contact textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #d9d0c2;
    border-radius: 6px;
    background: rgba(255,255,255,.8);
    font: inherit;
}

.ph-contact textarea {
    resize: vertical;
}

.ph-form-message {
    padding: 12px 15px;
    border-radius: 6px;
    background: #f7d7d7;
}

.ph-form-message--ok {
    background: #dcefd9;
}


/* RESPONSIVE */

@media (max-width: 1050px) {
    .ph-about {
        grid-template-columns: 1fr 1fr;
    }

    .ph-about__cards {
        grid-column: 1 / -1;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .ph-product-grid,
    .ph-product-preview {
        grid-template-columns: 1fr 1fr;
    }

    .ph-location {
        grid-template-columns: 1fr 1fr;
    }

    .ph-company {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .ph-hero {
        min-height: 560px;
        background-position: 65% center;
    }

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

    .ph-about,
    .ph-actions,
    .ph-location,
    .ph-contact {
        grid-template-columns: 1fr;
    }

    .ph-about__cards {
        grid-column: auto;
        grid-template-columns: 1fr;
    }

    .ph-section-heading {
        flex-direction: column;
    }

    .ph-product-grid,
    .ph-product-preview {
        grid-template-columns: 1fr;
    }

    .ph-form-row {
        grid-template-columns: 1fr;
    }

    .ph-contact {
        padding: 60px 24px;
    }
}


/* ==========================================================
   HERO — FULL SCREEN RESPONSIVE
   ========================================================== */

.ph-hero {
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;

    display: flex;
    align-items: center;

    background-size: cover;
    background-repeat: no-repeat;
    background-position: center right;
}

.ph-hero__inner {
    min-height: 100vh;
    min-height: 100svh;

    display: flex;
    flex-direction: column;
    justify-content: center;
}


/* Ecrãs muito largos */
@media (min-aspect-ratio: 16/9) {
    .ph-hero {
        background-position: center right;
    }
}


/* Tablets */
@media (max-width: 1000px) {
    .ph-hero {
        min-height: 100vh;
        min-height: 100svh;
        background-position: 62% center;
    }

    .ph-hero__inner {
        min-height: 100vh;
        min-height: 100svh;
    }
}


/* Telemóveis */
@media (max-width: 760px) {
    .ph-hero {
        min-height: 100vh;
        min-height: 100svh;
        background-position: 68% center;
    }

    .ph-hero__inner {
        min-height: 100vh;
        min-height: 100svh;

        padding-top: 120px;
        padding-bottom: 50px;
    }
}


/* ==========================================================
   HERO — CONTEÚDO JUNTO AO FUNDO
   ========================================================== */

.ph-hero__inner {
    justify-content: flex-end;
    align-items: flex-start;

    padding-top: 190px;
    padding-bottom: 64px;
}

.ph-hero__inner > h1,
.ph-hero__inner > p {
    max-width: 690px;
}

.ph-hero__inner .ph-button {
    width: auto;
    align-self: flex-start;
}


/* Portáteis mais baixos */
@media (max-height: 800px) and (min-width: 761px) {

    .ph-hero__inner {
        padding-top: 160px;
        padding-bottom: 42px;
    }

    .ph-hero h1 {
        font-size: clamp(58px, 7vw, 90px);
    }
}


/* Telemóveis */
@media (max-width: 760px) {

    .ph-hero__inner {
        justify-content: flex-end;
        align-items: flex-start;

        padding-top: 140px;
        padding-bottom: 42px;
    }

    .ph-hero__inner .ph-button {
        width: auto;
    }
}


/* ==========================================================
   QUEM SOMOS — LAYOUT V2
   ========================================================== */

.ph-about {
    display: grid;
    grid-template-columns:
        minmax(360px, .9fr)
        minmax(520px, 1.25fr);

    grid-template-areas:
        "text visual"
        "text cards";

    gap: 24px 42px;
    align-items: stretch;

    padding-top: 88px;
    padding-bottom: 88px;
}


/* Texto */

.ph-about__text {
    grid-area: text;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 28px 34px 28px 0;
}

.ph-about__text h2 {
    margin-bottom: 26px;
}

.ph-about__text p {
    max-width: 610px;
    margin: 0 0 18px;

    color: var(--muted);

    font-size: 17px;
    line-height: 1.75;
}

.ph-about__text .ph-button {
    margin-top: 16px;
    align-self: flex-start;
}


/* Fotografia */

.ph-about__visual {
    grid-area: visual;
}

.ph-about__image {
    min-height: 390px;
    height: 100%;

    border-radius: 10px;

    background:
        linear-gradient(
            180deg,
            rgba(30,18,11,.02),
            rgba(30,18,11,.10)
        ),
        url("images/about-panetto.jpg")
        72% 62% / cover no-repeat;

    box-shadow:
        0 18px 40px rgba(45,28,15,.10);
}


/* Cartões */

.ph-about__cards {
    grid-area: cards;

    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;

    gap: 18px;
}

.ph-info-card {
    min-height: 190px;

    display: flex;
    align-items: flex-start;
    gap: 18px;

    padding: 30px;

    border: 1px solid #eadfcd;
    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            #fbf2e3,
            #f1e1c6
        );

    box-shadow:
        0 10px 28px rgba(50,30,15,.06);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.ph-info-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 16px 34px rgba(50,30,15,.10);
}

.ph-info-card--dark {
    border-color: #3a2417;

    background:
        linear-gradient(
            135deg,
            #4a3020,
            #25160e
        );

    color: #fff;
}

.ph-info-card__icon {
    min-width: 54px;
    min-height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid currentColor;
    border-radius: 50%;

    color: #b47c12;

    font-size: 13px;
    font-weight: 900;
}

.ph-info-card--dark .ph-info-card__icon {
    color: #e4b542;
}

.ph-info-card h3 {
    margin: 0 0 10px;

    font-size: 25px;
    line-height: 1.1;
}

.ph-info-card p {
    margin: 0 0 16px;

    font-size: 14px;
    line-height: 1.55;

    opacity: .78;
}

.ph-info-card span:not(.ph-button) {
    color: #a8740b;

    font-size: 12px;
    font-weight: 850;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.ph-info-card--dark span:not(.ph-button) {
    color: #e4b542;
}


/* Tablet */

@media (max-width: 1050px) {

    .ph-about {
        grid-template-columns: 1fr 1fr;

        grid-template-areas:
            "text visual"
            "cards cards";
    }

    .ph-about__text {
        padding-right: 10px;
    }

}


/* Mobile */

@media (max-width: 760px) {

    .ph-about {
        grid-template-columns: 1fr;

        grid-template-areas:
            "text"
            "visual"
            "cards";

        padding-top: 58px;
        padding-bottom: 58px;
    }

    .ph-about__text {
        padding: 0;
    }

    .ph-about__image {
        min-height: 320px;
    }

    .ph-about__cards {
        grid-template-columns: 1fr;
    }

}


/* ==========================================================
   PRODUTOS — V2
   ========================================================== */

.ph-products {
    padding-top: 82px;
    padding-bottom: 88px;
}

.ph-section-heading {
    align-items: flex-end;
    margin-bottom: 38px;
}

.ph-section-heading h2 {
    margin-bottom: 0;
}

.ph-section-heading__right {
    max-width: 520px;
}

.ph-section-heading__right p {
    margin: 0 0 18px;
}


/* GRID */

.ph-product-grid,
.ph-product-preview {
    gap: 22px;
}

.ph-product-card {
    min-height: 430px;

    display: flex;
    flex-direction: column;

    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;

    overflow: hidden;

    box-shadow:
        0 10px 28px rgba(45,28,15,.06);

    transition:
        transform .22s ease,
        box-shadow .22s ease;
}

.ph-product-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 18px 38px rgba(45,28,15,.11);
}


/* IMAGEM */

.ph-product-card__image {
    aspect-ratio: 4 / 3;
    display: block;
    overflow: hidden;
    background: #efe5d7;
}

.ph-product-card__image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform .35s ease;
}

.ph-product-card:hover
.ph-product-card__image img {
    transform: scale(1.03);
}


/* BODY */

.ph-product-card__body {
    flex: 1;

    display: flex;
    flex-direction: column;

    padding: 22px;
}

.ph-product-card h3 {
    margin: 0 0 10px;

    font-size: 25px;
    line-height: 1.12;
}

.ph-product-card h3 a {
    color: var(--text);
    text-decoration: none;
}

.ph-product-card p {
    margin: 0 0 18px;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.55;
}

.ph-product-card strong {
    margin-top: auto;

    color: #b37b00;

    font-size: 21px;
    font-weight: 800;
}


/* PLACEHOLDER */

.ph-product-preview > div {
    position: relative;

    min-height: 360px;

    display: flex;
    align-items: flex-end;

    padding: 26px;

    overflow: hidden;

    border-radius: 10px;

    background-size: cover;
    background-repeat: no-repeat;

    box-shadow:
        0 10px 28px rgba(45,28,15,.07);
}

.ph-product-preview > div::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(20,12,7,.04) 36%,
            rgba(20,12,7,.80) 100%
        );
}

.ph-product-preview span {
    position: relative;
    z-index: 2;

    color: #fff;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 27px;
    line-height: 1.15;
}


/* RESPONSIVE */

@media (max-width: 1050px) {

    .ph-product-grid,
    .ph-product-preview {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 760px) {

    .ph-section-heading {
        align-items: flex-start;
    }

    .ph-product-grid,
    .ph-product-preview {
        grid-template-columns: 1fr;
    }

    .ph-product-card {
        min-height: 0;
    }

}


/* PANETTO DISTINCT SECTION IMAGERY */

.ph-info-card--quality {
    border-color: transparent;
    color: #fff;
    background:
        linear-gradient(
            135deg,
            rgba(38,23,13,.88),
            rgba(38,23,13,.48)
        ),
        url("images/qualidade-panetto.jpg")
        center / cover no-repeat;
}

.ph-info-card--quality .ph-info-card__icon,
.ph-info-card--quality span:not(.ph-button) {
    color: #f0c85c;
}

.ph-info-card--quality p {
    opacity: .92;
}

.ph-contact__intro {
    display: flex;
    flex-direction: column;
}

.ph-contact__image {
    min-height: 230px;
    margin-top: 26px;
    border-radius: 10px;
    background:
        linear-gradient(
            180deg,
            rgba(30,18,11,.02),
            rgba(30,18,11,.10)
        ),
        url("images/contacto-panetto.jpg")
        center / cover no-repeat;
    box-shadow: 0 14px 32px rgba(45,28,15,.09);
}

@media (max-width: 760px) {
    .ph-contact__image {
        min-height: 210px;
    }
}

/* Product preview: distinct imagery per card */
.ph-product-preview > div:nth-child(1) {
    background-image: url("images/produtos-panetto.jpg");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: #efe3d2;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: #efe3d2;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: #efe3d2;
}

.ph-product-preview > div:nth-child(2) {
    background-image: url("images/specialty-bolachas.png");
    background-position: center;
}

.ph-product-preview > div:nth-child(3) {
    background-image: url("images/specialty-pao.png");
    background-position: center;
}

.ph-product-preview > div:nth-child(4) {
    background-image: url("images/specialty-crispy.png");
    background-position: center;
}


/* ABOUT + CATALOG — unique backgrounds */
.ph-about__image {
    background:
        linear-gradient(
            180deg,
            rgba(30,18,11,.04),
            rgba(30,18,11,.12)
        ),
        url("images/saber-fazer.jpg")
        center / cover no-repeat;
}

.ph-info-card--dark {
    border-color: transparent;
    color: #fff;
    background:
        linear-gradient(
            135deg,
            rgba(38,23,13,.88),
            rgba(38,23,13,.50)
        ),
        url("images/catalogo-bg.png")
        center / cover no-repeat;
}

.ph-info-card--dark .ph-info-card__icon,
.ph-info-card--dark span:not(.ph-button) {
    color: #f0c85c;
}

.ph-info-card--dark p {
    opacity: .92;
}


/* LOCATION ADDRESS */
.ph-location__street {
    white-space: nowrap;
}

@media (max-width: 760px) {
    .ph-location__street {
        white-space: normal;
    }
}


/* CONTACT PAGE — COMPANY DETAILS */
.ph-contact--page{
    align-items:start;
}

.ph-contact__company-card{
    display:grid;
    grid-template-columns:minmax(150px,210px) minmax(0,1fr);
    gap:24px;
    margin-top:28px;
    align-items:start;
}

.ph-contact__company-photo img{
    width:100%;
    height:auto;
    display:block;
    border-radius:8px;
    box-shadow:0 14px 30px rgba(45,28,15,.12);
}

.ph-contact__company-photo p{
    margin:12px 0 0;
    font-size:12px;
    line-height:1.45;
    color:#766a60;
}

.ph-contact__company-data h3{
    margin:0 0 8px;
    font-family:Georgia,"Times New Roman",serif;
    font-size:27px;
    line-height:1.1;
    color:var(--text);
}

.ph-contact__company-data p{
    margin:0 0 13px;
    font-size:14px;
    line-height:1.5;
    color:var(--muted);
}

.ph-contact__company-data a{
    color:#6a5542;
    text-decoration:none;
}

.ph-contact__company-data a:hover{
    color:#a87500;
    text-decoration:underline;
}

.ph-location--contact-page{
    margin-top:0;
}

@media (max-width:1050px){
    .ph-contact__company-card{
        grid-template-columns:180px 1fr;
    }
}

@media (max-width:760px){
    .ph-contact__company-card{
        grid-template-columns:1fr;
    }

    .ph-contact__company-photo{
        max-width:310px;
    }
}


/* CONTACT PAGE — company block replaces map placeholder */
.ph-contact__company-card--location{
    margin:0;
    min-height:310px;
    padding:22px;
    align-self:stretch;
    background:#f6f0e5;
    border:1px solid var(--line);
    border-radius:10px;
    box-shadow:0 12px 28px rgba(45,28,15,.07);
}

.ph-location--contact-page .ph-contact__company-photo img{
    border-radius:7px;
}

@media (max-width:1050px){
    .ph-contact__company-card--location{
        grid-column:auto;
    }
}

@media (max-width:760px){
    .ph-contact__company-card--location{
        grid-template-columns:1fr;
    }
}


.ph-contact__address-line{
    white-space:nowrap;
}

@media (max-width:760px){
    .ph-contact__address-line{
        white-space:normal;
    }
}

/* Home products: show normal and promotional prices together. */
.ph-product-card__pricing{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px}
.ph-product-card__pricing del{color:#777;opacity:.8;font-size:.9rem}
.ph-product-card__pricing strong{color:inherit}
.ph-product-card__pricing:has(del) strong{color:#a73527}
.ph-product-card__promo-label{display:inline-block;color:#8d2d20;background:#fff0e9;padding:2px 8px;border-radius:30px;font-weight:700;font-size:.74rem}


/* Botões dos cartões "Ver política" / "Consultar catálogo": sempre numa só linha, sem sair do cartão.
   Ficam por baixo do ícone (margem negativa = ícone 54px + espaço 18px) para terem a largura toda do
   cartão; nos cartões mais estreitos (desktop 1051-1310px e telemóvel) letra e margens um pouco menores.
   Larguras pensadas para o texto mais comprido (FR "Consulter le catalogue →"). */
.ph-info-card .ph-button {
    margin-left: -72px;
    min-height: 48px;
    padding-left: 16px;
    padding-right: 16px;
    white-space: nowrap;
}

@media (min-width: 1051px) and (max-width: 1310px) {
    .ph-info-card .ph-button { font-size: 12px; padding-left: 14px; padding-right: 14px; }
}

@media (min-width: 1051px) and (max-width: 1230px) {
    .ph-info-card .ph-button { font-size: 11px; padding-left: 12px; padding-right: 12px; }
}

@media (min-width: 1051px) and (max-width: 1150px) {
    .ph-info-card .ph-button { font-size: 10px; padding-left: 8px; padding-right: 8px; }
}

@media (max-width: 380px) {
    .ph-info-card .ph-button { font-size: 12px; padding-left: 14px; padding-right: 14px; }
}

@media (max-width: 360px) {
    .ph-info-card .ph-button { font-size: 11px; padding-left: 12px; padding-right: 12px; }
}

@media (max-width: 335px) {
    .ph-info-card .ph-button { font-size: 10px; padding-left: 8px; padding-right: 8px; }
}

/* Telemóvel: o título «Bolachas/Crackers» (38px) era mais largo que o ecrã e alargava a página. */
@media (max-width: 720px) {
    .panetto-home .po-category h2 {
        font-size: clamp(1.5rem, 7.4vw, 1.9rem);
        overflow-wrap: break-word;
    }
}

/* Telemóvel: o cabeçalho (logótipo + menu + ligação/bandeiras) tem até ~140px; deixar folga para o título do hero não ficar tapado. */
@media (max-width: 760px) {
    .ph-hero__inner {
        padding-top: 170px;
    }

    /* «Tradição» a 64px é mais largo que um ecrã de 320px: acompanha a largura (64px a partir de 427px). */
    .ph-hero h1 {
        font-size: min(64px, 15vw);
    }

    /* Em francês os cartões «Visiter la boutique» / «Venez travailler» alargavam a página. */
    .ph-actions {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Telemóveis pequenos: margens menores nos cartões da loja/emprego para os títulos (FR) não saírem do cartão. */
@media (max-width: 400px) {
    .ph-action-card {
        padding: 34px 28px;
    }

    .ph-action-card h2 {
        overflow-wrap: break-word;
    }
}
